ContextWeaver: Skill for Codex

.agents/skills/trellis-meta/SKILL.md

trellis-meta is a skill for Codex from hsingjui/ContextWeaver. It costs 110 tokens per session (2,903 once invoked), scanned A, a copy of trellis-meta, MIT.

A guide to the local Trellis setup inside a project, including its workflow files, agent definitions, collaboration runtime, and cross-session memory. It explains where these parts can be customized.

In plain words
What is it for?
Use it when modifying `.trellis/`, platform hooks, agents, skills, prompts, workflows, channel behavior, or the local memory system.
Why use it?
It helps you change Trellis itself without treating its generated project files and platform integrations as unrelated pieces.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

This is hsingjui/ContextWeaver's own configuration. It tells Codex how to work on ContextWeaver itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ContextWeaver configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/hsingjui/ContextWeaver/main/.agents/skills/trellis-meta/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hsingjui/ContextWeaver

Made for: Codex.

Wrote 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.

agentmods badge for trellis-meta

README.md
[![agentmods](https://agentmods.dev/badge/skills/hsingjui/contextweaver/trellis-meta/github.svg)](https://agentmods.dev/skills/hsingjui/contextweaver/trellis-meta)
Your own site
<a href="https://agentmods.dev/skills/hsingjui/contextweaver/trellis-meta"><img src="https://agentmods.dev/badge/skills/hsingjui/contextweaver/trellis-meta/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.

agentmods 80×15 button for trellis-meta

Your own site · 80×15
<a href="https://agentmods.dev/skills/hsingjui/contextweaver/trellis-meta"><img src="https://agentmods.dev/badge/skills/hsingjui/contextweaver/trellis-meta.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,903 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00110 $0.02903
Opus 5 $0.00055 $0.01452
Sonnet 5 $0.00022 $0.00581
Haiku 4.5 $0.00011 $0.00290

Measured 2d ago against content hash ee7bcfd0023d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

trellis-meta 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 2d 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.

Origin

This is a copy

89% identical to trellis-meta — 4 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.

.agents/skills/trellis-meta/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 native trellis_subagent tool with single / parallel / chain dispatch modes, throttled progress cards, and isTrellisAgent() validation on top of the file layout. Reasonix stores both workflow skills and subagent skills as .reasonix/skills/<name>/SKILL.md; subagent skills carry runAs: subagent frontmatter. 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.

Read the full file on GitHub · 86 lines

Changes

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.

  1. 2d ago First seen · 86 lines · 110 tokens per session scan A ee7bcfd0023d

Subscribe to this mod's changes

trellis-meta is a skill published in the GitHub repository hsingjui/ContextWeaver (297 stars, last pushed 2d ago), licensed MIT. It adds 110 tokens to every session and 2,903 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to trellis-meta, differing in 4 lines, and is treated as a copy.