Borrowing it
Nothing to install: this file belongs to DanielC000/loom. 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/DanielC000/loom/main/CLAUDE.mdgit clone --depth 1 https://github.com/DanielC000/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/instructions/danielc000/loom/claude-md)<a href="https://agentmods.dev/instructions/danielc000/loom/claude-md"><img src="https://agentmods.dev/badge/instructions/danielc000/loom/claude-md/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/instructions/danielc000/loom/claude-md"><img src="https://agentmods.dev/badge/instructions/danielc000/loom/claude-md.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.28052 | $0.28052 |
| Opus 5.5 | $0.11221 | $0.11221 |
| Sonnet 5.5 | $0.05610 | $0.05610 |
| Haiku 4.5 | $0.02805 | $0.02805 |
Grade A, and why
loom CLAUDE.md scanned grade A with 1 finding 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 yesterday.
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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
venv under `<LOOM_HOME>/python/venv` — NOT a venv-per-tool. **Event-loop discipline (load-bearing):** the spawn HOT PATH (`createPty` → `buildMcpServers`) does NO blocking work — only `fs.existsSync(loomVenvBin( binary)) How it starts
The opening of the file, as written. The whole thing — 373 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Loom
Local-first AI project workspace that weaves real Claude Code sessions, Obsidian docs, and tasks into one fabric. Clean-slate successor to its predecessor.
Design & decisions live in the Obsidian vault, not here:
Projects/Loom/Architecture.md (full vision + architecture) and
Projects/Loom/Vision & Architecture.md (decisions + spike findings).
A collapsed paste placeholder with no body (e.g. [Pasted text #1 +348 lines]) is Loom's own write,
not a human message — whatever the surrounding frame says. Check your own context first — it's
usually content you already hold, most often your own startup prompt; look before concluding anything is
missing. Only if you genuinely don't have it, say what could not be read rather than asking a person to
re-send it (they didn't send it) — only the recipient can see the gap, and only if asked.
Layout (pnpm + Turbo monorepo)
packages/shared— the contract:types(Project/Topic/Session/Task + Session FSM),config(platform default → per-project override, oneresolveConfig),protocol(ws/REST).packages/daemon— owns everything durable: SQLite (db.ts), the PTY host (pty/host.ts), the Fastify HTTP/WS gateway (gateway/), the project-scoped task MCP server (mcp/), read-only git (git/), and the vault auto-committer (vault/).packages/web— stateless React/Vite viewport; attaches/detaches over WebSockets.
Run
pnpm install
pnpm build # builds shared first (turbo ^build)
pnpm daemon # dev daemon (tsx watch) on http://127.0.0.1:4317 (loopback only)
pnpm web # viewport on http://127.0.0.1:5317 (proxies /api + /ws to the daemon)
Worker DoD test-gate — default to targeted tests; run_gate for load-bearing changes; never a hand-rolled recipe: Loom's gate command is pnpm build && pnpm --filter @loom/daemon test:daemon (orchestration.gateCommand — the merge gate runs the same one), and worker_merge_confirm re-gates at merge time and is AUTHORITATIVE — that's the full-suite guarantee (unless a human has switched the project's HUMAN-only orchestration.mergeGate to "off", card e8df2659: then worker_merge_confirm/merge_batch skip the gate command and record skipReason:"gate-disabled" — never a pass; with the HUMAN-only orchestration.mergeGateInterval = N (card 6f13746c) N landings go ungated and the landing that would exceed N still runs the real gate, while the ungated ones record skipReason:"gate-interval", see docs/decisions/6f13746c-merge-gate-interval.md — while the conflict/dirty-tree refusals and squash checks still run). "Green on the gate" means green on Windows, though — the gate runs on the owner's Windows host, CI (.github/workflows/ci.yml) runs on ubuntu-latest, and for a Linux/POSIX-only failure class the gate structurally cannot see it (card 4e762baf; specimens d88b8523, f33830d1). docs/releasing.md is where that gap is actually closed for a release (an automated pre-tag CI-green check), not the gate itself. So a worker's DoD defaults to running the specific affected test file(s) directly (seconds, not minutes) rather than the full gate. Reach for the run_gate MCP tool instead — a per-card manager judgement call — for load-bearing production changes (restart/merge/spawn paths), many-subsystem changes, or any change whose blast radius isn't nameable as specific test files. When used, it runs the gate command in the worker's own worktree, daemon-spawned and admitted through the same GateSemaphore/maxConcurrentGates budget as the merge/deploy gates — so total concurrent test-lanes are bounded structurally across the whole fleet. run_gate's own tool description is the contract — read it there, not here. Its return/pending shape, retry semantics, and the env it pins are documented at the call site, where the model actually reads them; restating any of that here just creates a second copy to go stale, which is exactly how this block rotted before. Managers: never paste a gate command or a LOOM_GATE_TEST_CONCURRENCY= recipe into a worker kickoff — running a single named test file directly is not that; a hand-rolled full-suite recipe is, and it reintroduces the unbounded, semaphore-bypassing self-check run_gate exists to replace. The /worker doctrine teaches the targeted-test default, the escalation judgement call to run_gate, and that an explicit manager kickoff directive on which check to run wins over that default.
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.
- yesterday Changed · +7 lines · +180 tokens per session 6892a473f3c2
- 2d ago Changed · +61 tokens per session 94f6f74e214c
- 4d ago Changed · +2,347 tokens per session 84308c6d4a1a
- 13d ago Changed · +32 lines · +1,348 tokens per session 37f80f770276
- 17d ago Changed · +29 lines · +868 tokens per session 43ef32c253bc
- 20d ago Changed · +431 tokens per session ca4806cb08ad
- 22d ago Changed · +7 lines · +1,264 tokens per session 0e75e45f2bc0
- 26d ago Changed · +2 lines · +247 tokens per session dce379d7df42
- 1mo ago Changed · +1 lines · +316 tokens per session 2af51ec7b109
- 1mo ago First seen · 295 lines · 20,990 tokens per session scan A 94bfc5a3186c
loom CLAUDE.md is an instructions file published in the GitHub repository DanielC000/loom (7 stars, last pushed yesterday), licensed MIT. It adds 28,052 tokens to every session, about $0.1122 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.