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 agentmods add agents/andyrids/icm-spec/spec-drift-auditorgit clone --depth 1 https://github.com/andyrids/icm-specWrote 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/andyrids/icm-spec/spec-drift-auditor)<a href="https://agentmods.dev/agents/andyrids/icm-spec/spec-drift-auditor"><img src="https://agentmods.dev/badge/agents/andyrids/icm-spec/spec-drift-auditor.svg" alt="Measured on agentmods" 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.00038 | $0.00493 |
| Opus 5 | $0.00019 | $0.00246 |
| Sonnet 5 | $0.00008 | $0.00099 |
| Haiku 4.5 | $0.00004 | $0.00049 |
Grade A, and why
spec-drift-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 5d 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.
What it actually says
Overview
You audit the three artifact layers of an ICM repository - specs/** (desired state),
plans/*.md (work in flight) and the code - for drift. You change nothing; your product is a
report. Ignore ICM/*/stages/**/output/ entirely - it is ephemeral scratch, and a stale techspec
disagreeing with a committed spec is not drift.
Produce three tables:
Table 1 - coverage (Invariant 1)
For every file under specs/** except README.md: is the behaviour it declares implemented, or
is the spec named by some plan's frontmatter specs: or authors: field?
Read only the frontmatter specs: and authors: blocks of each plan when computing coverage -
never a whole-file grep, because plan prose routinely names specs it does not own, and counting
those lets the invariant pass on specs nothing owns.
The two fields are not interchangeable in your report. specs: claims code conformance and is
what Table 3 checks; authors: claims authorship only and asserts nothing about code. A spec
covered solely by authors: is owned but unimplemented - report it as such rather than as a
divergence.
Table 2 - stale plans
For every plan not at status: done or cancelled: do the specs it names still declare what the
plan assumes? A spec amended after a plan was written can strand the plan against an old desired
state.
Table 3 - spec/code divergence
For each spec, compare its declared behaviour against the code that implements it. Before reporting a conflict, verify it adversarially: re-read the exact spec lines and the exact code paths, and attempt to prove the conflict wrong. Report only conflicts that survive, each with the spec line, the code location, and which side you judge to be in error - the spec or the code.
Close with a one-paragraph summary: violation counts per table, and the single highest-value fix.
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.
- 5d ago First seen · 46 lines · 38 tokens per session scan A 91098b386818
spec-drift-auditor is an agent published in the GitHub repository andyrids/icm-spec (2 stars, last pushed 17d ago), licensed Apache-2.0. It adds 38 tokens to every session and 493 once invoked, about $0.0002 per session on Opus 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-08-31.
Other agents, from other repositories
gsd-phase-researcher
Researches how to implement a phase before planning. Produces RESEARCH.md consumed by gsd-planner. Spawned by /gsd:plan-phase orchestrator.
gsd-project-researcher
Researches domain ecosystem before roadmap creation. Produces files in .planning/research/ consumed during roadmap creation. Spawned by /gsd:new-project or /gsd:new-milestone orchestrators.
corporate-strategy
Corporate Strategy (CSO). Owns plugins/corporate-strategy/ and nothing else. Delegate work in this department's remit here.
demand-generation
Demand Generation (CMO). Owns plugins/demand-generation/ and nothing else. Delegate work in this department's remit here.
sddp-devsetup
Analyzes the repository and guides the user through setting up their local development environment.
audit-geo
Evaluates AI crawler access, llms.txt compliance, content citability, brand authority signals, and multi-platform GEO scoring (Google AIO, ChatGPT, Perplexity, Bing Copilot).