trellis-meta
Trellis Meta
This skill is for local Trellis users who have already run trellis init in a project. After reading it, an AI should understand the Trellis architecture, operating model, and customization entry points inside that user project, then modify the generated .trellis/ and platform directory files according to the user's request.
Trellis v0.6 adds three architectural surfaces on top of the pre-v0.6 workflow / persistence / platform model. First, a multi-agent collaboration runtime: trellis channel coordinates multiple AI worker processes through project-scoped JSONL event logs at ~/.trellis/channels/<project>/<channel>/events.jsonl, with worker OOM guard, forum/thread channels, durable idempotency keys, and bundled .trellis/agents/{check,implement}.md runtime definitions. Second, cross-session memory: trellis mem list | search | context | extract | projects reads raw Claude Code, Codex, and Pi Agent JSONL already on disk, slices by --phase brainstorm|implement|all, and never uploads anything. Third, a dual-package npm release: @mindfoldhq/trellis (CLI) and @mindfoldhq/trellis-core (SDK with /channel, /task, /mem, /testing subpaths) ship in lockstep on one version. Treat these as first-class customization surfaces alongside the per-platform integration files.
The default operating scope is local files in the user project:
.trellis/: workflow, config, tasks, spec, workspace, scripts, bundled runtime agents, and runtime state.- Platform directories:
.claude/,.codex/,.cursor/,.opencode/,.kiro/,.gemini/,.qoder/,.codebuddy/,.github/,.factory/,.pi/,.reasonix/,.kilocode/,.agent/,.devin/, and similar directories. Pi additionally exposes a nativetrellis_subagenttool withsingle/parallel/chaindispatch modes, throttled progress cards, andisTrellisAgent()validation on top of the file layout. Reasonix stores both workflow skills and subagent skills as.reasonix/skills/<name>/SKILL.md; subagent skills carryrunAs: subagentfrontmatter. - Shared skill layer:
.agents/skills/. - User-owned channel store outside the project tree:
~/.trellis/channels/<project>/<channel>/events.jsonl. - Raw platform conversation logs queryable via
trellis mem:~/.claude/projects/,~/.codex/sessions/, and~/.pi/agent/sessions/(OpenCode adapter degraded for the v0.6 line).
Do not assume the user has the Trellis source repository. Do not default to modifying the global npm install directory or node_modules — both @mindfoldhq/trellis and @mindfoldhq/trellis-core ship as published packages sharing one version and one git tag per release.