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 skills add Megaprompting/torque-loop --skill repo-auditgit clone --depth 1 https://github.com/Megaprompting/torque-loopWrote 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/megaprompting/torque-loop/repo-audit)<a href="https://agentmods.dev/skills/megaprompting/torque-loop/repo-audit"><img src="https://agentmods.dev/badge/skills/megaprompting/torque-loop/repo-audit/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/megaprompting/torque-loop/repo-audit"><img src="https://agentmods.dev/badge/skills/megaprompting/torque-loop/repo-audit.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.00079 | $0.00570 |
| Opus 5.5 | $0.00032 | $0.00228 |
| Sonnet 5.5 | $0.00016 | $0.00114 |
| Haiku 4.5 | $0.00008 | $0.00057 |
Grade A, and why
repo-audit 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 3mo 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 — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/ratchet:repo-audit — evidence-based feature discovery
A codebase is a claim about what it does. This command verifies the claim by evidence. It discovers user-facing features from the code itself — not from the README, not from memory — and marks the gaps between what exists and what is tested.
Step 0 — Load state and ground truth
ratchet snapshot repo
Then read for real: routes, entrypoints, handlers, UI components, API definitions, config, and existing tests. Use Grep/Glob to find route tables, exported handlers, and test files. Do not infer a feature you cannot point to in code.
Procedure
For each user-facing feature discovered by evidence, capture:
- Feature ID and name
- User story — who does what, and why
- Evidence in code — file:line where it lives
- Expected behavior — what it should do
- Edge cases — the inputs that stress it
- Test cases — what would verify it
- Dependencies — what it relies on
- Known assumptions — what it takes for granted
- Current risk level — critical / high / medium / low
Then identify the gaps:
- Screens / routes / workflows not yet documented.
- APIs or state transitions that need tests.
- The highest-risk feature — most user-facing × least tested.
- The first test suite to write.
- The smallest fix likely to improve user trust.
Rules
- Do not declare coverage complete unless every route, screen, workflow, and API interaction has evidence. Missing evidence is a finding, not a rounding error.
- A feature with no test is a defect waiting to happen — record it.
Output contract
Return the feature inventory as a table, then the five gap findings. Then serialize:
ratchet ledger create
ratchet ledger update features '{"name":"...","area":"...","routes":"...","status":"discovered"}'
ratchet defect add '{"severity":"high","summary":"<highest-risk feature> has no test coverage"}'
Next: /ratchet:qa-ledger to formalize the canonical ledger, then /ratchet:verify.
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.
- 3mo ago First seen · 61 lines · 79 tokens per session scan A 6062c45e0db4
repo-audit is a skill published in the GitHub repository Megaprompting/torque-loop (10 stars, last pushed 20d ago), licensed MIT. It adds 79 tokens to every session and 570 once invoked, about $0.0003 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-08-31.
repo-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| repo-auditMegaprompting/torque-loop | Skill | 10 | 20d ago | MIT | A | 79 | Claude Code |
| ctxagentis-tools/ctx | Skill | 13 | yesterday | Apache-2.0 | A | 60 | Claude Code |
| ctxagentis-tools/ctx | Skill | 13 | yesterday | Apache-2.0 | A | 60 | Claude Code, Codex |
| omh-code-reviewrlaope/oh-my-hermes | Skill | 6.2k | today | MIT | A | 18 | Claude Code |
| omh-rustrlaope/oh-my-hermes | Skill | 6.2k | today | MIT | A | 19 | Claude Code |
| comet-githubrpamis/comet | Skill | 3.3k | today | MIT | A | 72 | Claude Code, Codex |
| redteam-web-detail-packNetw0rkNoob/VulnClaw | Skill | 4.0k | 1mo ago | MIT | A | 38 | Claude Code, Codex |