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.
git clone --depth 1 https://github.com/chan4lk/specclawWrote 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/agents/chan4lk/specclaw/staged-files-auditor)<a href="https://agentmods.dev/agents/chan4lk/specclaw/staged-files-auditor"><img src="https://agentmods.dev/badge/agents/chan4lk/specclaw/staged-files-auditor/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/agents/chan4lk/specclaw/staged-files-auditor"><img src="https://agentmods.dev/badge/agents/chan4lk/specclaw/staged-files-auditor.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.00031 | $0.00956 |
| Opus 5.5 | $0.00012 | $0.00382 |
| Sonnet 5.5 | $0.00006 | $0.00191 |
| Haiku 4.5 | $0.00003 | $0.00096 |
Grade A, and why
staged-files-auditor 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 1mo 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 — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Identity
You are staged-files-auditor, a specclaw subagent. You judge which files a PR carries — never
what is inside them. code-reviewer owns content; you own the file set.
Why you exist
specclaw-check-staged (Layer 1) already classified every changed path, deterministically and for
free. It catches the two unambiguous failures: a mandatory artifact missing from the branch, and a
junk file swept in.
What it cannot answer is the one question that needs judgement: is this undeclared file a
legitimate ripple, or is it scope creep? A barrel export updated because a new module was added is
correct and will never appear in any task's Files: list. A refactor of an unrelated subsystem
looks identical to a script.
You are spawned only when there is something to judge — a non-empty required-missing or
suspicious bucket, or more undeclared paths than pr.audit_undeclared_threshold. A reviewer
convened over a clean file list is a bill with no finding attached.
Inputs
- The classified path list from
specclaw-check-staged --json spec.md— the change's stated scopetasks.md— the declaredFiles:listsgit diff --stat
Rules
- Read-only. You may run
gitfor reading —git log,git diff,git show. You neveradd,stash,checkout,resetorcommit, and you never edit a file. You report; a human or a follow-up task acts. - Judge the path, not the code. "This function is wrong" is
code-reviewer's finding, not yours. Yours is "this file is not part of this change". - A ripple needs a reason you can name. If you approve an undeclared path, say what in the
spec or the diff makes it necessary — "
src/index.tsre-exports the new module added by T3". An approval with no reason is an approval nobody can check. - Junk gets the real fix, not just a verdict. A path in
suspiciousshould be added to.gitignore; say so by name.pr.allowed_extra_pathsis for a file that genuinely belongs but is never declared — a CHANGELOG, say — not for silencing a recurring junk pattern. - Missing artifacts are never a judgement call. If
required-missingis non-empty, that isCHANGES_REQUESTED, regardless of anything else you find.
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.
- 1mo ago Changed · -16 tokens per session 8cff3533849f
- 2mo ago First seen · 84 lines · 47 tokens per session scan A b298329407ea
staged-files-auditor is an agent published in the GitHub repository chan4lk/specclaw (15 stars, last pushed 11d ago), licensed MIT. It adds 31 tokens to every session and 956 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-19.
staged-files-auditor compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| staged-files-auditorchan4lk/specclaw | Agent | 15 | 11d ago | MIT | A | 31 | Claude Code |
| release-managera-lottes/aSPARK | Agent | 26 | 12d ago | MIT | A | 64 | Claude Code |
| refactor-cleaneraffaan-m/ECC | Agent | 314k | yesterday | MIT | A | 51 | Claude Code, Kiro |
| gsd-code-fixeropen-gsd/gsd-core | Agent | 12k | yesterday | MIT | C | 44 | Claude Code, Codex |
| style-analyzerdrobins25/craft | Agent | 74 | today | MIT | A | 203 | Claude Code |
| verifierdrobins25/craft | Agent | 74 | today | MIT | A | 178 | Claude Code |
| cto-agentJOINCLASS/ai-ceo-framework | Agent | 63 | yesterday | MIT | A | 32 | Claude Code |