ef-adversarial-audit
Stage 5 - adversarially audit delivered work against its requirements assuming a green test suite proves nothing, then verify that claimed fixes are real…
Skill by micaelcf
Chalk Labs
Need help deploying ef-adversarial-audit?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/micaelcf-ef-adversarial-audit
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, testing, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ef-adversarial-audit
What's inside
- Skill name
ef-adversarial-audit- Description
- Stage 5 - adversarially audit delivered work against its requirements assuming a green test suite proves nothing, then verify that claimed fixes are real, then emit the code-verified contract document other repositories build against. Use after implementing a feature in a repo, after remediating audit findings, or when handing a feature to another repo.
- License
- MIT
- Instructions
- 176 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: references/evidence-grades.md, references/amendments.md
Files (3)
- SKILL.md
- contract-doc.md · references/
- defect-classes.md · references/
SKILL.md (first lines)
# Adversarial audit — Stage 5 of 5 Stage 5 of 5 · per target repo, after that repo's implementation · the single audit gate Find what is missing, wrong, or only apparently done in work that is claimed complete. Then confirm the fixes are real. Then produce the contract other repositories build against. Three modes: **audit**, **verify**, **contract**. They run in that order. ## The premise A clean build and a fully green test suite are **not evidence of correctness**. They are the situation in which a defect hides best. Requirements can be satisfied in a unit test while being unreachable in production; an endpoint can be unusable because it demands a token nothing issues; a write path can destroy data on a payload shape nobody tested. So the stance is: **assume something is wrong, and assume the summary you were given is optimistic.** Read the code, not the report about the code. ## How this is dispatched Run as a **separate `reviewer` subagent**, never inline in the session that produced the work. Self review does not find your own blind spots. **Dispatched by whoever holds the whole feature, never by a builder.** A fresh context is not independence on its own: the parent writes the brief, so an auditor spawned by the agent that closed the last wave inherits that agent's *scope* even though it inherits none of its tokens. It gets pointed at the last wave, and a pass over four requirements reads exactly like a pass over forty. The range is `<feature base>..HEAD` and the set is **every** requirement identifier, whoever implemented it. The verdict returns to the orchestrator and the user, **never to a builder**. A FAIL returned to the author is the author deciding what to do about the author's work, and the round that follows happens inside the session the separation existed to break. ## Inputs are fixed before the audit starts - **Requirement identifiers** come from the PRD. - **Rationale** comes from `grill-decisions`, which outranks the RFC and PRD wherever they disagree. - **Gate results** come pre-verified from the orchestrator, which runs the commands named by the repository's `ef-harness` block and hands over the output. Do not re-run them: that spends the budget on what a gate already proved and starves the classes no gate can see. Where those results include a **passing** `ef-check` `feature` gate, the checklist's structure is settled — unique ids, a proof per check, and, when `## Requirements` exists, every owned requirement cited. Audit whether the checks are **true**, not whether they exist. Without that pass — or without `## Requirements` — walk the structure and the requirement coverage yourself. Audit against those, never against the implementer's summary. You are read-only: return each round's verdict to the orchestrator, which appends it to the checklist's `log.md` (its `## Log` at `single` scale), never to the slice files the build reads. --- ## Mode: audit ### Method Walk the **requirement identifiers** one at a time — not the file list, not the diff. For each, find the code that satisfies it and decide whether it actually does. A requirement with no traceable implementation is a finding. Then hunt the defect classes in `references/defect-classes.md`, each of which survives a green suite. Load that file at the start of this mode. ### Evidence rules - Every finding carries `path:line` for the **reality** side. - Every finding carries an **evidence grade** from the `ef-shared` skill's `references/evidence-grades.md`. A finding graded **C** or **D** is reported as a question, never as a blocker: an auditor's confident inference is exactly as fallible as the implementer's, and a wrong blocker costs the owner a remediation round. - State what is actually there, which requirement it violates, and the concrete fix. A finding without a fix is an observation. - Distinguish **genuinely broken** from **deliberate documented deviation**. Decisions already taken are not re-litigated — but flag any place the code does not match the decision as written. - Rank: `blocker` (would make a caller send a request that is rejected, render wrong data, or lose data) · `major` (real, with a workaround) · `minor` · `nit`. - Report what you **verified as correct** too, with anchors. It tells the reader which ground is covered and makes the findings credible. - Where the work carries a checklist (`.ef/<feature>/`: the index, every slice file and `verification.md`, read one slice at a time), **recompute its `Coverage` join rather than reading it** — a join you only read is the author's self-report with a table around it. Take the members from whatever holds authority over that set, which is not always the code: a set the code is meant to *satisfy* has its authority outside it, and recomputing from the code asks the author's output whether the author's output is complete. - Read the checklist's `Swept` rows that resolve to **already covered** against the code. A cited constraint that is not there is a finding. Rows that say *not in scope* are policy the user approved. ### Report only Fix nothing in this mode. The owner triages. ### Rulebook proposals A finding that a rule in the repo's rulebook would have prevented **and could recur** — a class, not a one-off — earns one more line in the report, under `## Rulebook proposals`: ```text <finding id> · <the rule, one sentence> · level <0|1|2> · Check: <the lint, type or test that would fail> | none — <why nothing can check it yet> ``` Prefer level 0: name the check that would have caught it, with the failure message it should print. Propose; never edit the rulebook. The owner applies accepted proposals with `/ef:ready grow`, which is what keeps a rulebook growing from defects that happened rather than ones somebody imagined. A finding the rulebook **already** forbids is evidence too: name the rule, and say whether it failed because it has no check, because it is at the wrong level, or because the agent never loaded it. --- ## Mode: verify Run after remediation. **Assume at least one fix is incomplete or fake, and that one introduced a new problem.** Both happen. For each claimed fix: read the code and return `fixed` · `partially_fixed` · `not_fixed` · `regressed`, with `path:line`.
From micaelcf/ef-harness, MIT.
More from micaelcf/ef-harness
- 0.614score
ef-feature-docs
micaelcf
Stage 2 - author a feature's documentation folder from closed grill decisions: grill-decisions to RFC to PRD to INDEX, with mandatory fields gated by asking…
SkillAFreshness: A★ 4Claude Code +9 - 0.610score
ef-readiness
micaelcf
Make a repository's agent rulebook (AGENTS.md / CLAUDE.md) verifiable: vendor a deterministic checker, audit every rule and citation against the code…
SkillAFreshness: A★ 4Claude Code +9 - 0.610score
ef-implement
micaelcf
Stage 4 - turn closed decisions and a written contract into checks with named proofs, then orchestrate the build in parallel slices and hand a whole feature…
SkillAFreshness: A★ 4Claude Code +9 - 0.610score
ef-grilling
micaelcf
Relentless one-question-at-a-time interview that converts an under-specified plan into closed decisions, each recorded with its evidence grade, preserved…
SkillAFreshness: A★ 4Claude Code +9 - 0.609score
ef-prototype
micaelcf
Discover a brand-new UI before implementing it: generate 4-5 radically different variants of one screen in a single shareable HTML file, switchable from a…
SkillAFreshness: A★ 4Claude Code +9 - 0.606score
ef-shared
micaelcf
Shared vocabulary for every ef-* stage: the A–D evidence grades and the five critical lenses (assumption-surfacing, pre-mortem, red-team, evidence-audit…
SkillAFreshness: A★ 4Claude Code +9 - 0.605score
ef-perspective-discovery
micaelcf
Discover a feature from the current repository's perspective, after it was defined upstream at product altitude: verify the docs' code anchors, fan out…
SkillAFreshness: A★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 21, 2026 (15 days ago)
- Last release
- Oct 21, 2026 (15 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/micaelcf/ef-harness
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from micaelcf
- 0.614score
ef-feature-docs
micaelcf
Stage 2 - author a feature's documentation folder from closed grill decisions: grill-decisions to RFC to PRD to INDEX, with mandatory fields gated by asking…
SkillAFreshness: A★ 4Claude Code +9 - 0.610score
ef-readiness
micaelcf
Make a repository's agent rulebook (AGENTS.md / CLAUDE.md) verifiable: vendor a deterministic checker, audit every rule and citation against the code…
SkillAFreshness: A★ 4Claude Code +9 - 0.610score
ef-implement
micaelcf
Stage 4 - turn closed decisions and a written contract into checks with named proofs, then orchestrate the build in parallel slices and hand a whole feature…
SkillAFreshness: A★ 4Claude Code +9 - 0.610score
ef-grilling
micaelcf
Relentless one-question-at-a-time interview that converts an under-specified plan into closed decisions, each recorded with its evidence grade, preserved…
SkillAFreshness: A★ 4Claude Code +9 - 0.609score
ef-prototype
micaelcf
Discover a brand-new UI before implementing it: generate 4-5 radically different variants of one screen in a single shareable HTML file, switchable from a…
SkillAFreshness: A★ 4Claude Code +9 - 0.606score
ef-shared
micaelcf
Shared vocabulary for every ef-* stage: the A–D evidence grades and the five critical lenses (assumption-surfacing, pre-mortem, red-team, evidence-audit…
SkillAFreshness: A★ 4Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get ef-adversarial-audit running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
ef-adversarial-audit skill. Agent Mart. https://agentmart.dev/skills/micaelcf-ef-adversarial-audit (last updated 2026-10-24)