Trellis Meta
Understand and customize the local Trellis architecture inside a user project. Use when modifying .trellis plus platform hooks, settings, agents, skills, commands, prompts, workflows, the channel runtime (trellis channel), bundled runtime agents under .trellis/agents/, selectable workflow templates, registry-backed spec refresh, cross-session memory (trellis mem) generated by trellis init, or AI-facing bundled skills (trellis-channel, trellis-session-insight, trellis-spec-bootstrap) and bundled-skill auto-dispatch flow.
- Skill ID
- mindfold-ai/trellis/trellis-meta
- Publisher
- mindfold-ai
- Repository
- trellis
- Installs
- 0
- Files
- 47
- Synced
- Sep 23, 2026
Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.
mindfold-ai/trellis/trellis-metaInstalls these files- SKILL.md
- references/claude-code/agents.md
- references/claude-code/hooks.md
- references/claude-code/multi-session.md
- references/claude-code/overview.md
- references/claude-code/ralph-loop.md
- references/claude-code/scripts.md
- references/claude-code/worktree-config.md
- references/core/files.md
- references/core/overview.md
- references/core/scripts.md
- references/core/specs.md
- references/core/tasks.md
- references/core/workspace.md
- references/customize-local/add-project-local-conventions.md
- references/customize-local/change-agents.md
- references/customize-local/change-context-loading.md
- references/customize-local/change-hooks.md
- references/customize-local/change-skills-or-commands.md
- references/customize-local/change-spec-structure.md
- references/customize-local/change-task-lifecycle.md
- references/customize-local/change-workflow.md
- references/customize-local/overview.md
- references/how-to-modify/add-agent.md
- references/how-to-modify/add-command.md
- references/how-to-modify/add-phase.md
- references/how-to-modify/add-spec.md
- references/how-to-modify/change-verify.md
- references/how-to-modify/modify-hook.md
- references/how-to-modify/overview.md
- references/local-architecture/bundled-skills.md
- references/local-architecture/context-injection.md
- references/local-architecture/generated-files.md
- references/local-architecture/multi-agent-channel.md
- references/local-architecture/overview.md
- references/local-architecture/spec-system.md
- references/local-architecture/task-system.md
- references/local-architecture/workflow.md
- references/local-architecture/workspace-memory.md
- references/meta/platform-compatibility.md
- references/meta/self-iteration-guide.md
- references/meta/trellis-local-template.md
- references/platform-files/agents.md
- references/platform-files/hooks-and-settings.md
- references/platform-files/overview.md
- references/platform-files/platform-map.md
- references/platform-files/skills-and-commands.md
What this skill tells the agent
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/,.kimi-code/, 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. Kimi Code keeps workflow skills in the shared.agents/skills/layer, delivers commands plus agent prompts as.kimi-code/skills/<name>/SKILL.md, and installs the same agent prompts as custom sub-agents under.kimi-code/agents/<name>.md. - 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.
How To Use
- Read
references/local-architecture/overview.mdfirst to establish the local Trellis system model. - If the request involves a specific AI tool, read
references/platform-files/platform-map.mdand the relevant platform file notes. - If the request involves multi-agent dispatch or channel workers, read
references/local-architecture/multi-agent-channel.mdand the bundled.trellis/agents/files. - If the user wants to change behavior, read
references/customize-local/overview.md, then open the specific customization topic. - Before editing, read the actual files in the user project and treat local content as authoritative.
References
Local Architecture
references/local-architecture/overview.md: The layered local Trellis architecture (workflow / persistence / platform / channel runtime) and customization principles.references/local-architecture/generated-files.md: Files generated bytrellis initand their customization boundaries, including.trellis/agents/.references/local-architecture/workflow.md: Phases, routing, workflow-state blocks, and selectable workflow templates (native,tdd,channel-driven-subagent-dispatch, marketplace) in.trellis/workflow.md.references/local-architecture/task-system.md: Task directories, active task, JSONL context, parent/child task trees, and task runtime.references/local-architecture/spec-system.md: How.trellis/spec/is organized, injected, and refreshed from aregistry.specsource.references/local-architecture/workspace-memory.md:.trellis/workspace/journals plustrellis memcross-session recall and the@mindfoldhq/trellis-core/memSDK.references/local-architecture/context-injection.md: Hooks, sub-agent preludes, and channel-runtime worker inbox routing.references/local-architecture/multi-agent-channel.md:trellis channelsubcommands, project-scoped event store, forum/thread channels, worker OOM guard, durable idempotency, and bundled.trellis/agents/runtime agents.references/local-architecture/bundled-skills.md: Auto-dispatched bundled skills (trellis-meta,trellis-spec-bootstrap,trellis-session-insight) and howgetBundledSkillTemplates()ships them to every platform skill root.
Platform Files
references/platform-files/overview.md: How shared.trellis/files relate to platform directories and the four platform integration modes (hook-driven, agent prelude, main-session workflow, channel runtime).references/platform-files/platform-map.md: Platform directories and paths for skills, agents, hooks, and extensions across all supported platforms including Reasonix and Pi's nativetrellis_subagentextension.references/platform-files/hooks-and-settings.md: How settings/config files, hooks, plugins, and extensions connect to Trellis; coverschannel.worker_guard.*andcodex.dispatch_mode.references/platform-files/agents.md: Per-platformtrellis-research/trellis-implement/trellis-checksub-agent files plus bundled.trellis/agents/{check,implement}.mdfor the channel runtime.references/platform-files/skills-and-commands.md: Differences between skills, commands, prompts, and workflows, plus how to change them.
Local Customization
references/customize-local/overview.md: Choose the right local customization entry point for the user's request.references/customize-local/change-workflow.md: Change phases, routing, next actions, workflow-state, and the selected workflow template.references/customize-local/change-task-lifecycle.md: Change task creation, status, archive behavior, parent/child links, archive slug collision handling, and lifecycle hooks.references/customize-local/change-context-loading.md: Change how tasks, specs, journals, hook context, channel inbox messages, andtrellis memrecall are loaded.references/customize-local/change-hooks.md: Change platform hooks, settings, task lifecycle hooks (hooks.after_*), and shell session bridges.references/customize-local/change-agents.md: Change research, implement, and check agent behavior across platform sub-agents, bundled channel runtime agents, and the Codexdispatch_modetoggle.references/customize-local/change-skills-or-commands.md: Add or modify local skills, commands, prompts, and workflows; covers upstream bundled-skill auto-dispatch.references/customize-local/change-spec-structure.md: Adjust the project spec structure under.trellis/spec/, including registry-backed sources.references/customize-local/add-project-local-conventions.md: Put team rules into project-local specs or local skills.
Current Rules
Use this skill in a project
Open any RiverX project, search the Skills panel for mindfold-ai/trellis/trellis-meta, and install it in one click.
