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/doodledood/manifest-devnpx agentmods add skills/doodledood/manifest-dev/audit-state-machinesWrote 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/doodledood/manifest-dev/audit-state-machines)<a href="https://agentmods.dev/skills/doodledood/manifest-dev/audit-state-machines"><img src="https://agentmods.dev/badge/skills/doodledood/manifest-dev/audit-state-machines/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/doodledood/manifest-dev/audit-state-machines"><img src="https://agentmods.dev/badge/skills/doodledood/manifest-dev/audit-state-machines.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.00105 | $0.00709 |
| Opus 5.5 | $0.00042 | $0.00284 |
| Sonnet 5.5 | $0.00021 | $0.00142 |
| Haiku 4.5 | $0.00011 | $0.00071 |
Grade A, and why
audit-state-machines 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 22d 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
Audit a codebase for state-machine bugs. A state machine is a value whose changes follow a lifecycle — a status, or flags whose combinations act as states — and ../review-code/references/code-bugs.md → State machines says how to find one, rebuild it, check it and confirm what the check finds. figure-out runs the audit with its whole investigation discipline; this skill adds the brief below and the offer at the end.
Invoke the figure-out skill with the brief below, the arguments given, --autonomous and --no-docs. --no-docs keeps figure-out's project-document writes out of the audited project; forward --no-log when given. With no path or area, the scope is the whole repository. With no codebase in reach, say so and stop.
Brief:
Audit [the scope] for state machines, implicit and explicit, following
../review-code/references/code-bugs.md→ State machines. Every bug you find counts, whether or not anything changed recently: this is an audit, not a review of a change. Machines written as instructions count too, checked as that section says.
- List every machine in the scope searched: what it tracks, explicit or implicit, its states, and its writers by file and line. Say which parts of the scope you searched and which you did not, with why. On a large repository, record each machine in your log, when one is kept, as you finish it.
- Rank confirmed bugs by consequence. For each, give each site by file and line, the sequence that reaches the bad state, and the model that found it — its saved path, or its scratch path when no log is kept. For a bug in an implicit machine, the fix is to make the machine explicit: one owner of its transitions, and a test or a type that fails when anything else writes the state.
- After the bugs, ranked lower: each implicit machine with no bug but writers in several files, with the recommendation to make it explicit. A machine whose writers are all in one function gets no recommendation.
- For a machine whose model found nothing, say what the model covered; never call the machine correct.
- Write no file in the audited project. Models and scripts stay outside it.
When figure-out returns its read, give the person the read and offer to turn the confirmed bugs and the make-explicit recommendations into Tickets — self-contained work items in the project's tracker or files — recorded as debt, the issues found and not yet fixed. On their yes, invoke the ticket-up skill with those findings. With no person to answer, as when another workflow runs this skill, list the offer in the result and invoke ticket-up only where that caller's assignment authorizes writing Tickets.
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.
- 22d ago First seen · 23 lines · 105 tokens per session scan A d513513454b3
audit-state-machines is a skill published in the GitHub repository doodledood/manifest-dev (80 stars, last pushed yesterday), licensed MIT. It adds 105 tokens to every session and 709 once invoked, about $0.0004 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-11-08.
audit-state-machines compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| audit-state-machinesdoodledood/manifest-dev | Skill | 80 | yesterday | MIT | A | 105 | Claude Code |
| skeptical-triageavelikiy/great_cto | Skill | 117 | 14d ago | MIT | A | 49 | Claude Code |
| anti-patternsavelikiy/great_cto | Skill | 117 | 14d ago | MIT | A | 59 | Claude Code |
| observability-baselineavelikiy/great_cto | Skill | 117 | 14d ago | MIT | A | 100 | Claude Code |
| systematic-debuggingHigorAlves/orc | Skill | 7 | 3d ago | MIT | A | 33 | Claude Code |
| ci-routingHigorAlves/orc | Skill | 7 | 3d ago | MIT | A | 40 | Claude Code |
| error-handling-patternsHigorAlves/orc | Skill | 7 | 3d ago | MIT | A | 21 | Claude Code |