dr-audit-broken

dr-audit-broken is a skill for Claude Code, Codex from AHepi/DeepReason. It costs 44 tokens per session (715 once invoked), scanned A, original, MIT.

A code audit task that runs the project's existing tests and other verification checks, then compares their results with recorded baselines. It records new failures as evidence.

In plain words
What is it for?
Use it when a project is missing its broken-code audit report and you need to run its checks, save outputs, classify failures, and update the audit records.
Why use it?
It helps distinguish newly broken code from failures the project already knew about, including tests that fail only when run in parallel.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/ahepi/deepreason/dr-audit-broken
Any agent
npx skills add AHepi/DeepReason --skill dr-audit-broken
Clone the repo
git clone --depth 1 https://github.com/AHepi/DeepReason

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for dr-audit-broken

README.md
[![agentmods](https://agentmods.dev/badge/skills/ahepi/deepreason/dr-audit-broken.svg)](https://agentmods.dev/skills/ahepi/deepreason/dr-audit-broken)
Your own site
<a href="https://agentmods.dev/skills/ahepi/deepreason/dr-audit-broken"><img src="https://agentmods.dev/badge/skills/ahepi/deepreason/dr-audit-broken.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 715 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00044 $0.00715
Opus 5 $0.00022 $0.00358
Sonnet 5 $0.00009 $0.00143
Haiku 4.5 $0.00004 $0.00072

Measured 5d ago against content hash fe3db61580cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dr-audit-broken 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.

.claude/skills/dr-audit-broken/SKILL.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Audit: broken code

Entry: LEDGER.md exists, broken.md missing. Exit: broken.md written, LEDGER rows added, proofs in proof/.

Broken means: an instrument's output moved from docs/AUDIT_BASELINES.md §Instruments. The instruments define broken; this worker adds no judgment of its own (G3).

Operations

  1. pip install -e . --break-system-packages -q and pip install pytest pytest-xdist jsonschema --break-system-packages -q. Run every command below with python -m where applicable; save each full output to proof/broken-<n>.txt.
  2. python -m pytest tests/ -q -n 4 — compare failures to the baseline failure list. Re-run any non-baseline failure serially (python -m pytest <nodeid> -q) before rowing it: still red → verdict broken; green serially → verdict flaky (row it; flaky is a finding unless baseline-listed).
  3. python tools/docs_verify.py — compare failing checks to the baseline list. Non-baseline failure → verdict broken (the check or the code it pins moved; the fix tranche decides which).
  4. python scripts/wheel_smoke.py then python -u scripts/wheel_operational_smoke.py — any non-zero exit → verdict broken, target = the pin named in the output.
  5. RETIRED (operator ruling 2026-08-22, CLAUDE.md §Build and test): the root sweep is no longer an audit instrument. Do NOT run tools/root_sweep.py. Write proof/broken-sweep.txt containing the single line retired 2026-08-22 — see CLAUDE.md so the proof count stays auditable.
  6. Write broken.md: the table of every non-baseline delta, one row per finding, columns as the LEDGER. Matches baseline exactly → the table plus one line: all instruments at baseline, with the five proof files as the required proof of looking (G2).

GATE

Pass: every instrument ran (four live instruments + the retirement marker file = five proof files) AND every non-baseline delta has a LEDGER row with disposition parked. Verdict labels: broken | flaky | baseline.

Read the full file on GitHub · 62 lines

Changes

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.

  1. 5d ago First seen · 62 lines · 44 tokens per session scan A fe3db61580cb

Subscribe to this mod's changes

dr-audit-broken is a skill published in the GitHub repository AHepi/DeepReason (141 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 715 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-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens