Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add cosmix/loom --skill loom-orchestrationgit clone --depth 1 https://github.com/cosmix/loomWrote 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/cosmix/loom/loom-orchestration)<a href="https://agentmods.dev/skills/cosmix/loom/loom-orchestration"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-orchestration/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/cosmix/loom/loom-orchestration"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-orchestration.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.00036 | $0.05443 |
| Opus 5.5 | $0.00014 | $0.02177 |
| Sonnet 5.5 | $0.00007 | $0.01089 |
| Haiku 4.5 | $0.00004 | $0.00544 |
Grade A, and why
loom-orchestration 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 310 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Loom Orchestration
The rules a session needs when it spawns subagents or runs a loom stage as its main agent, beyond what
~/.claude/CLAUDE.md and the stage signal already carry, filed by CLAUDE.md rule number.
Session start
Read your Knowledge Brief, find your session ID in .loom/work/signals/, scan for EXECUTION PLAN
blocks, and spawn per Rule 6; with no signal, ask the user.
Rule 4 — Commit and complete
The commit is legitimate only once all three hold: (1) every subagent, coordinator, team, and
Workflow returned and was absorbed (an abandoned one counts only if you recorded
why); (2) the gate ran on the complete tree (in a standard stage, your single
loom check <stage-id>, beside the final review); (3) the mini
adversarial code review returned, every finding and failed criterion is fixed, the failed criteria
are re-checked with loom check <stage-id> --criterion <n>, the re-review is clean. loom stage complete runs every criterion itself and reuses passes on an
unchanged tree, so no loom check runs between the last review round and it. In a plan version 2 stage loom stage complete enforces condition (3): it fails until a recorded review round matches the worktree and no finding is open. A handoff never
justifies committing unverified work; record uncommitted files in it.
Never run loom check while a worker is out (the reviewer is the exception, for the single full
check): a check on a tree still being edited is void. Never run a second full one. A standard
stage's loom check refuses both (exit 3); --force overrides it when the named worker has in
fact returned or the rounds are left from an earlier attempt.
Commit with git add <specific-files> then loom stage commit <stage-id> -m "type(scope): description", and wait for it with loom request status <id> --wait 90; never run git commit.
Rule 6 — Subagents
| Shape | When | Cost | Who commits | Which preamble |
|---|---|---|---|---|
| Flat fan-out (default) | Independent file changes, tests alongside implementation, exploration; ≤~6 worker tasks | 1 spawn level | Main agent | Rule 5 |
| 2-level hierarchy | >~6 tasks in 2-4 DISJOINT territories, 2+ tasks each, well-defined for sonnet workers; NOT for ≤~6 tasks, shared files, cross-territory iteration, or sequential work | +1 coordinator per territory | Main agent | Coordinator preamble to coordinators; Rule 5 + worker addendum |
| Agent teams | Wide, exploratory work needing inter-agent messaging or dynamic task discovery; NOT for concrete assignments with clear file ownership | ~7x whole-job | Team lead, who alone runs loom stage complete and loom memory |
Rule 5 |
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.
- 4d ago Changed · +5 lines 82143563b20f
- 7d ago Changed cc685ec83f0f
- 8d ago Changed · -1 lines 0b3e4d7f8784
- 11d ago Changed · +15 lines dd05c2ac2684
- 1mo ago Changed · -52 lines ce332d4b0e1c
- 1mo ago Changed · +5 lines 2ae8dc4f0c71
- 1mo ago Changed · +18 lines 76c092ab49d2
- 1mo ago Changed · +3 lines 5f844c99b0dd
- 1mo ago Changed · +8 lines c41dad2184ab
- 2mo ago First seen · 309 lines · 36 tokens per session scan A bd492897faab
loom-orchestration is a skill published in the GitHub repository cosmix/loom (66 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 5,443 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-20.
loom-orchestration compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| loom-orchestrationcosmix/loom | Skill | 66 | yesterday | MIT | A | 36 | Claude Code |
| idiomatic-goTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 137 | Claude Code |
| eclipse-license-checkTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 110 | Claude Code |
| go-documentationTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 98 | Claude Code |
| publish-vscode-extensionTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 107 | Claude Code |
| domainmodel-dslTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 68 | Claude Code |
| statemachine-dslTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 63 | Claude Code |