Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/rjwalters/kicad-toolsnpx agentmods add commands/rjwalters/kicad-tools/champion-critical-file-holdWrote 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/commands/rjwalters/kicad-tools/champion-critical-file-hold)<a href="https://agentmods.dev/commands/rjwalters/kicad-tools/champion-critical-file-hold"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/champion-critical-file-hold/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/commands/rjwalters/kicad-tools/champion-critical-file-hold"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/champion-critical-file-hold.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.00000 | $0.06625 |
| Opus 5.5 | $0.00000 | $0.02650 |
| Sonnet 5.5 | $0.00000 | $0.01325 |
| Haiku 4.5 | $0.00000 | $0.00662 |
Grade A, and why
champion-critical-file-hold 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 21d 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 — 378 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Champion: Critical-File Durable Hold (#6879, #9016)
A sub-step of champion-pr-merge.md → "Safety Criteria"
→ "critical-files: Critical File Exclusion Check". Read it once that check-loop has run,
whatever the verdict: FAIL opens/maintains the hold, PASS alone closes an open
episode. It owns one label (loom:blocked + a reason-only park record,
#11861) and three markers on one PR; it never merges and never removes
loom:pr.
Rationale: .loom/docs/critical-file-hold.md.
The rules
- A critical-file FAIL is a one-way terminal state, so it gets a durable
loom:blockedhold on themerge-riskcriterion's pattern — never the "Transient failures" template, nor themerge-riskcriterion's sticky-hold machinery (#4742). - A FAIL skips Steps 2-3 for this PR in every state,
releasedincluded — with one exception (#13321): on a merge-queue repo a released PR gets the queue handoff (below), because the operator has no way to finish a queue-mode merge by hand. Elsewhere releasing hands the merge to the operator, never back to Champion.loom:auto-merge-okdoes not release it (themerge-riskcriterion's override). - The operator's release is the label's ABSENCE (#9016): a hand-removed
loom:blocked, while this episode is open and the change has not moved, IS the release: Champion never removes it mid-episode (#11861 keeps it on through the Doctor round-trip). - The release is scoped to a diff, not a commit id (#9416): this verdict is a pure function of the file list, so the operator decided about that change.
Repo-declared critical paths (#13542)
A repo may add its own critical paths in .loom/config.json → champion.extraCriticalPaths
(bash globs on the full path, matched against filename and previous_filename). A hit
fails critical-files on any edit and enters this machine like a built-in hit; the hold
comment names the matched glob. It is checked before standing_auth_eval, so no
standing-authorization class or carve-out can waive it, and it never joins the kept set:
the human release below is the only release.
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.
- 21d ago Changed · +6 lines eed1db2c743a
- 26d ago Changed · +16 lines 8f3bd6fbcaca
- 29d ago Changed · +5 lines 6c90a37710a3
- 1mo ago Changed · +55 lines 569dc5ccb396
- 1mo ago Changed · +37 lines 70881bccf144
- 1mo ago Changed · +16 lines b8fdf8804915
- 1mo ago Changed · +24 lines 61afe3430697
- 1mo ago Changed · +5 lines 474159957946
- 1mo ago Changed 20ec686ed62c
- 1mo ago First seen · 214 lines · 0 tokens per session scan A 125778ef749b
champion-critical-file-hold is a command published in the GitHub repository rjwalters/kicad-tools (77 stars, last pushed 15d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 6,625 tokens. 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-28.
champion-critical-file-hold compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| champion-critical-file-holdrjwalters/kicad-tools | Command | 77 | 15d ago | MIT | A | 0 | Claude Code |
| review-branchdamusix/atomic-claude | Command | 117 | today | MIT | A | 35 | Claude Code |
| diff-reviewcoco-research/coco | Command | 323 | 3d ago | Apache-2.0 | A | 11 | Claude Code |
| spec-trace-requirementsrjmurillo/ai-agents | Command | 50 | today | Apache-2.0 | A | 0 | GitHub Copilot |
| merge-conflict-analysisrjmurillo/ai-agents | Command | 50 | today | Apache-2.0 | A | 0 | GitHub Copilot |
| refactorRchGrav/claudebox | Command | 1.2k | 2mo ago | MIT | A | 9 | Claude Code |
| initazrtydxb/procoder | Command | 212 | 23d ago | Apache-2.0 | A | 16 | Claude Code |