evidence-audit

evidence-audit is a skill for Codex from WrongStack/WrongStack. It costs 163 tokens per session (3,528 once invoked), scanned A, original, MIT.

A code-audit workflow that reports only defects reproduced by a runnable proof, applies a narrow fix, and checks the result with a second proof. A regression test is a test kept to catch the same problem if it returns later.

In plain words
What is it for?
It is for investigating defects, making limited patches, verifying fixes, and promoting high-risk proofs to permanent regression tests. It can be used across programming languages and repositories.
Why use it?
It avoids changing code based only on guesses and requires evidence both before and after each fix.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md; $skill-name invocation.

Good fit It is for investigating defects, making limited patches, verifying fixes, and promoting high-risk proofs to permanent regression tests. It can be used across programming languages and repositories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wrongstack/wrongstack/evidence-audit
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.

Any agent
npx skills add WrongStack/WrongStack --skill evidence-audit
Clone the repo
git clone --depth 1 https://github.com/WrongStack/WrongStack

Made for: 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 evidence-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/wrongstack/wrongstack/evidence-audit/github.svg)](https://agentmods.dev/skills/wrongstack/wrongstack/evidence-audit)
Your own site
<a href="https://agentmods.dev/skills/wrongstack/wrongstack/evidence-audit"><img src="https://agentmods.dev/badge/skills/wrongstack/wrongstack/evidence-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.

agentmods 80×15 button for evidence-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/wrongstack/wrongstack/evidence-audit"><img src="https://agentmods.dev/badge/skills/wrongstack/wrongstack/evidence-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 163 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,528 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00163 $0.03528
Opus 5.5 $0.00065 $0.01411
Sonnet 5.5 $0.00033 $0.00706
Haiku 4.5 $0.00016 $0.00353

Measured 27d ago against content hash 7e749781a939, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

evidence-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 27d 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.

packages/core/skills/evidence-audit/SKILL.md · 185 lines

How it starts

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

Evidence-led audit

Invoke as $evidence-audit <scope>. The text after the skill name is the scope. Every round produces the same thing: a ledger of findings where each finding has a proof that fails on current code, a patch that touches only the scope, and a verifier that passes after the patch. Nothing without a proof becomes a patch. Nothing without a verifier is called fixed. This holds in every language and every repo: an unproven "improvement" is a regression risk with no upside.

Selection card

  • Task: Find, prove, fix and independently verify real defects.
  • Start: Pin the scope and revision, read the existing audit ledgers for already-used finding ids, and record the environment.
  • Finish: Every reported finding has a failing proof on current code, an in-scope patch and a passing verifier, all recorded in the round ledger.

Overview

Every round yields a ledger in which each finding has a proof that fails on current code, a patch confined to the scope, and a verifier that passes after it.

Setup (every round, before any analysis)

  1. Read the repo's agent instructions if present (AGENTS.md, CONTRIBUTING.md, or equivalent at the root and in the scope). Run git status --short and record the output: these are pre-existing changes you must preserve and never touch.
  2. Detect the toolchain from the repo, not from assumptions. Record, with the file that proves each: language(s) and version, package/build tool, test runner and how the project invokes it, type checker (if any), formatter/linter, and whether a race detector, sanitizer, or coverage tool is already configured. Use only what is already there. Do not install a test framework, mutation tool, or linter.
  3. Resolve the scope. A scope is concrete when it maps to specific files. If the prompt gives none, or it is vague ("the backend", "everything"):
    • Do a shallow structural scan only: directory layout, entry points, modules with thin or no tests, recent churn from git log --stat -20. Do not read implementations in depth yet.
    • List 5–8 numbered candidate scopes, each with path(s), one line on what it does, and one line on why it is risky (concurrency, I/O, error handling, no tests, recent churn, many callers).
    • Ask the user to pick a number or give a path, print Awaiting scope., and stop. Do not choose for them.
  4. Print Scope confirmed: <paths>. Everything you patch must be inside it. Files outside may be read for callers, types, and configs only.
  5. If .temp_files/ledger_<scope-slug>.md already exists, this is a continued round: read it, keep its IDs, start new findings from the next free ID. Never renumber.
  6. Read the scope's source and its nearest tests before forming any candidate. Write down the invariants the code is supposed to keep: what must be true after each await/yield/callback, who owns each resource, what state a caller may observe mid-operation, which inputs are trusted. Real defects are violations of invariants the author assumed but never checked.

Read the full file on GitHub · 185 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 27d ago Changed · +4 lines · +11 tokens per session 7e749781a939
  2. 1mo ago Changed · +7 lines 72926f824058
  3. 1mo ago Changed 33aec1af95e0
  4. 1mo ago Changed · +23 lines 5acabe738089
  5. 1mo ago First seen · 151 lines · 152 tokens per session scan A 4621cec09114

Subscribe to this mod's changes

evidence-audit is a skill published in the GitHub repository WrongStack/WrongStack (444 stars, last pushed today), licensed MIT. It adds 163 tokens to every session and 3,528 once invoked, about $0.0007 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-10-05.

Related

evidence-audit compared with skills from other repositories

evidence-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
evidence-auditWrongStack/WrongStackSkill444todayMITA163Codex
performance-analysisautohandai/code-cliSkill2193d agoApache-2.0A59Claude Code
systematic-debuggingautohandai/code-cliSkill2193d agoApache-2.0A43Claude Code
root-cause-analysisautohandai/code-cliSkill2193d agoApache-2.0A50Claude Code
harness-doctorPromptPartner/agentsmithSkill1443d agoMITA74Claude Code, Codex
regression-finderRyanAlberts/best-of-Agent-HarnessesSkill1.6ktodayCC-BY-SA-4.0A147Claude Code
claim-checkRyanAlberts/best-of-Agent-HarnessesSkill1.6ktodayCC-BY-SA-4.0A151Claude Code