trellis-meta
Skill2 starsChanged 26 days agoMITView on GitHub
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.
- Installs packages
21 other projects use a version of this, 17 of them edited.
Adopted by
Most recently taken up by
- phoben/agent-skillsedited, first seen Nov 8, 2026
- vibex-ai/vibexword for word, first seen Nov 8, 2026
- mipawn/cc-useedited, first seen Nov 1, 2026
- deequoique/stashseekword for word, first seen Oct 20, 2026
- zhexin233-ui/easytoagentsedited, first seen Oct 11, 2026
- wuwei-crg/LXB-Frameworkedited, first seen Oct 8, 2026
Other versions21 projects use a version of this.
Word for word · 4
- CharTyr/STS2-Agent★ 357100% same
- vibex-ai/vibex★ 70100% same
- deequoique/stashseek★ 58100% same
- ssqaq/trellis-skills★ 0100% same
Edited · 17
- mindfold-ai/Trellis★ 15k99% same
- EcoPasteHub/EcoPaste★ 7.5k99% same
- QiaoKes/fntv-electron★ 1.3k99% same
- mumu-0922/GankAIGC★ 39668% same
- wuwei-crg/LXB-Framework★ 30168% same
- hsingjui/ContextWeaver★ 29599% same
- fy-agent/fyagent★ 21899% same
- linyimin0812/folyn★ 4168% same
- mipawn/cc-use★ 999% same
- xhl592576605/agent-skills-mesh★ 899% same
7 more not listed
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- source-command-trellis-continueSkill
- source-command-trellis-finish-workSkill
- trellis-before-devSkill
- trellis-brainstormSkill
- trellis-break-loopSkill
- trellis-channelSkill
- trellis-checkSkill
- trellis-continueSkill
- trellis-finish-workSkill
- trellis-session-insightSkill
- trellis-spec-bootstrapSkill
- trellis-startSkill
- trellis-update-specSkill
- trellis-before-devSkill
- trellis-brainstormSkill
- trellis-break-loopSkill
- trellis-channelSkill
- trellis-checkSkill
- trellis-metaSkill
- trellis-session-insightSkill
- trellis-spec-bootstrapSkill
- trellis-update-specSkill
- delegate-with-codedeckSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 2 are common, 0 are distinctive, and 11 are very specific to this project.
2
Common
Most of the 17 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 20
Do not assume the user has the Trellis source repository.
- Very specific: line 24
Read references/local-architecture/overview.md first to establish the local Trellis system model.
- Very specific: line 25
If the request involves a specific AI tool, read references/platform-files/platform-map.md and the relevant platform file notes.
- Very specific: line 26
If the request involves multi-agent dispatch or channel workers, read references/local-architecture/multi-agent-channel.md and the bundled …
- Very specific: line 27
If the user wants to change behavior, read references/customize-local/overview.md, then open the specific customization topic.
- Common: line 28
Before editing, read the actual files in the user project and treat local content as authoritative.
- Common: line 79
Do not treat Trellis upstream source code as the default target for local customization.
- Very specific: line 80
Do not modify the global npm install directory or node_modules/@mindfoldhq/trellis or node_modules/@mindfoldhq/trellis-core to implement …
- Very specific: line 81
Do not overwrite user-modified local files with default templates.
- Very specific: line 82
Do not put team-private project rules into any public bundled skill (trellis-meta, trellis-spec-bootstrap, trellis-session-insight, …
- Very specific: line 83
Do not hand-edit ~/.trellis/channels/<project>/<channel>/events.jsonl.
- Very specific: line 84
Do not edit .claude/agents/trellis-implement.md (or any other per-platform sub-agent file) when the goal is to change channel runtime …
- Very specific: line 85
Do not describe removed or never-shipped mechanisms as current Trellis behavior.
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 and delivers commands plus agent prompts as.kimi-code/skills/<name>/SKILL.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
.trellis/workflow.mdis the local workflow source of truth; its initial content was selected from a workflow template (built-innative,tdd,channel-driven-subagent-dispatch, or a marketplace template) attrellis inittime and can be re-selected viatrellis workflow --template <id>. Missing.trellis/agents/<name>.mdfiles referenced by the active template trigger a non-blocking stderr warning pointing attrellis update..trellis/config.yamlis the project-level Trellis configuration entry point. It hosts task lifecycle hooks (hooks.after_create/after_start/after_finish/after_archive), journal shape (session_commit_message/max_journal_lines/session_auto_commit), channel worker guard (channel.worker_guard.idle_timeout/max_live_workers), Codex dispatch mode (codex.dispatch_mode: inline | sub-agent), and the spec registry block (registry.spec.source+registry.spec.template)..trellis/spec/stores the user's project-specific coding conventions and design constraints. Whenregistry.specis set, files are refreshed bytrellis update; local edits surface as "modified by user" conflicts in.trellis/.template-hashes.json..trellis/tasks/stores task PRDs, design notes, implement plans, research files, and JSONL context. Tasks form parent/child trees:task.py create --parent <slug>,task.py add-subtask <parent> <child>,task.py remove-subtask <parent> <child>, andtask.py list-context <task>.task.py createrejects a slug already present in.trellis/tasks/archive/**..trellis/workspace/stores deliberately written developer journals. Raw cross-session dialogue is not stored here — it lives on disk under~/.claude/projects/,~/.codex/sessions/, and~/.pi/agent/sessions/and is recovered viatrellis mem search|extract|context. The bundledtrellis-session-insightskill teaches when to reach formem..trellis/agents/{check,implement}.mdare bundled, platform-agnostic channel runtime agent definitions loaded bytrellis channel spawn --agent <name>. Editable;trellis updatebackfills missing ones. Editing the per-platformtrellis-implement.md/trellis-check.mddoes not change channel-runtime worker behavior.~/.trellis/channels/<project>/<channel>/events.jsonlis the channel runtime event log per project per channel. User-owned, file-locked sequence numbering, durableidempotencyKeysupport; never under.trellis/.- Bundled multi-file skills (
trellis-meta,trellis-spec-bootstrap,trellis-session-insight,trellis-channel) are auto-dispatched to every platform skill root bygetBundledSkillTemplates()inpackages/cli/src/templates/common/index.ts. Dropping a new directory underpackages/cli/src/templates/common/bundled-skills/(upstream) ships it to every platform on the nexttrellis update. - Platform settings/config files decide which hooks, agents, skills, commands, prompts, and workflows actually run. Reasonix has no settings file — behavior is encoded inside skill frontmatter.
.trellis/.template-hashes.jsonand.trellis/.runtime/are management/runtime state files. Confirm necessity before editing them.
Do Not
- Do not treat Trellis upstream source code as the default target for local customization.
- Do not modify the global npm install directory or
node_modules/@mindfoldhq/trellisornode_modules/@mindfoldhq/trellis-coreto implement project needs; both packages ship in lockstep. - Do not overwrite user-modified local files with default templates; check
.trellis/.template-hashes.jsonfirst and prefer.newsidecar files over destructive overwrites. - Do not put team-private project rules into any public bundled skill (
trellis-meta,trellis-spec-bootstrap,trellis-session-insight,trellis-channel); put project rules in.trellis/spec/, a project-local skill, the current task, or the workspace journal —trellis updatewill overwrite anything inside a bundled skill directory. - Do not hand-edit
~/.trellis/channels/<project>/<channel>/events.jsonl; sequence numbers are assigned under a file lock and replay-safe writes go through thetrellis channelCLI or the@mindfoldhq/trellis-core/channelSDK. - Do not edit
.claude/agents/trellis-implement.md(or any other per-platform sub-agent file) when the goal is to change channel runtime worker behavior — edit.trellis/agents/<name>.mdinstead. - Do not describe removed or never-shipped mechanisms as current Trellis behavior; cross-check against the local
.trellis/config.yamland the installed CLI'strellis --helpbefore claiming a knob exists.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

