Borrowing it
Nothing to install: this file belongs to hsingjui/ContextWeaver. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/hsingjui/ContextWeaver/main/.agents/skills/trellis-channel/SKILL.mdgit clone --depth 1 https://github.com/hsingjui/ContextWeaverWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/hsingjui/contextweaver/trellis-channel)<a href="https://agentmods.dev/skills/hsingjui/contextweaver/trellis-channel"><img src="https://agentmods.dev/badge/skills/hsingjui/contextweaver/trellis-channel/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/hsingjui/contextweaver/trellis-channel"><img src="https://agentmods.dev/badge/skills/hsingjui/contextweaver/trellis-channel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00032 | $0.01129 |
| Opus 5 | $0.00016 | $0.00564 |
| Sonnet 5 | $0.00006 | $0.00226 |
| Haiku 4.5 | $0.00003 | $0.00113 |
Grade A, and why
trellis-channel scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
100% identical to trellis-channel — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
trellis-channel
trellis channel is the local multi-agent collaboration runtime. Reach for it when agents need to talk through a durable event log, when a worker should be spawned as a peer process, when an in-flight worker needs interrupt / debugging, or when feedback should be recorded on a durable --type forum channel.
Typical user signals: "和 codex/claude 讨论", "brainstorm with another agent", "spawn an implement/check worker", "let agent review", "open an issue board / changelog forum", "look at this thread", "channel is stuck / no output", "progress was truncated", "how do I write that channel command".
This skill is an index. Load only the reference file for the current job — do not preload all of them.
First Commands
trellis --version
trellis channel --help
trellis channel list --all
trellis channel list --scope global --all
If the user names a channel or thread, inspect it before asking for background:
trellis channel forum <board> --scope global
trellis channel thread <board> <thread> --scope global
trellis channel context list <board> --scope global --thread <thread>
Route By User Intent
| User intent | Read |
|---|---|
| "和 codex/claude 讨论一下", "brainstorm with another agent" | references/workflows.md |
| "派一个 implement/check agent", "让 agent review", "spawn a worker" | references/workflows.md, then references/workers.md |
| "开 issue 区 / topic 群 / changelog / board", "make a forum" | references/forum.md |
| "看看这个 thread / linked context", "inspect a thread" | references/forum.md |
| "channel 卡住了 / 没输出 / progress 被截断", "worker stalled" | references/progress-debugging.md |
| "具体命令怎么写", "what flags does X take" | references/command-reference.md |
Core Rules
- New forum channels use
--type forum. Athreadis one item inside a forum channel. - Use
--context-file/--context-rawandtrellis channel context add/delete/list.--linked-context-*is deprecated terminology. - Use
--stdinor--text-filefor long messages. Do not put long mixed Chinese/English text in the positional shell argument. - Pretty
messagesoutput is an operator dashboard and may truncate progress. Use--rawfor audit. --asis the speaker or worker handle, depending on the command. Use explicit, stable names when multiple agents or sessions are involved.--scope project(default) operates on the current cwd's project bucket;--scope globaloperates on the shared__global__bucket. Pick scope deliberately — a global board is invisible from project listings unless--scope globalis passed.- For brainstorm, do multiple pressure-test rounds. One answer plus one confirmation is review, not brainstorm.
- Dispatcher wait pattern: use
--kind done/--kind turn_finished(trellis-emitted system events), NOT a user--tagas the completion signal. CLI help listsphase_done/questionas--tagexamples but onlyinterruptis a reserved tag with hardcoded trellis behavior; the others are opaque user labels. Relying on a worker to runsend --tag <my_signal>is unreliable — LLM workers commonly write the tag string into prose instead of running the actual CLI command. Seereferences/command-reference.md"tag vs kind". - Forum channels are event-sourced. Do not parse
events.jsonlfirst; useforum,thread,messages --thread, andcontext list. @mindfoldhq/trellis-coreowns reusable channel/thread state, event append, seq allocation, context/title projection, reducers, and task helpers. The CLI owns flags, terminal rendering, prompts, worker lifecycle, and process exits.
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 68 lines · 32 tokens per session scan A ff84801c511a
trellis-channel is a skill published in the GitHub repository hsingjui/ContextWeaver (297 stars, last pushed 3d ago), licensed MIT. It adds 32 tokens to every session and 1,129 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to trellis-channel, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
adversarial-reviewer
Adversarial code review that assumes bugs exist and hunts for them. Use when asked to review code, find bugs, audit for correctness, stress-test a PR, or when someone says "tear this apart" or "what's wrong with this". Give no benefit of the doubt — every line is guilty until proven innocent.
gsd-ns-review
Route to the appropriate quality / review skill based on the user's intent. gsd-code-review-fix was absorbed by gsd-code-review --fix in #2790.
issue
Use when starting a chain from a GitHub issue — turning an issue URL or number into a triaged, planned, dispatched, and reviewed pull request. Classifies the thread (bug → root-cause discipline, feature → plan chain, question → drafted reply), synthesizes a spec from the issue's own acceptance criteria, then runs the…
gitnexus
A code-graph analysis add-on for examining an existing codebase, including symbols, call paths, execution flows, and effects across repositories. It can query GitNexus through its command-line or MCP interfaces.
cleanup-code-inspections
Reduce technical debt and improve code quality by systematically resolving static analysis warnings.
dorodango
Polishes working code through successive quality passes in fresh subagents. Use after tests pass when code needs multi-dimension refinement before release.