dev-challenge: Agent for Claude Code

.claude/agents/spec-auditor.md

spec-auditor is an agent for Claude Code from micheltlutz/dev-challenge. It costs 73 tokens per session (706 once invoked), scanned A, original, MIT.

A review process for checking whether a development challenge solution meets its stated acceptance criteria. It coaches the learner toward a fix but does not write the implementation.

In plain words
What is it for?
It is for reviewing learner solutions, comparing them with challenge specifications, running the available test harness, and explaining what needs to change.
Why use it?
It focuses feedback on the requirements and observed behavior instead of personal coding preferences. Running the challenge checks can show which criteria still fail.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions AGENTS.md.

This is micheltlutz/dev-challenge's own configuration. It tells Claude Code how to work on dev-challenge itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dev-challenge configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/export_openapi.py --check.

Reuse

Borrowing it

Nothing to install: this file belongs to micheltlutz/dev-challenge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/micheltlutz/dev-challenge/main/.claude/agents/spec-auditor.md
Clone the repo
git clone --depth 1 https://github.com/micheltlutz/dev-challenge

Made for: Claude Code.

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 spec-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/micheltlutz/dev-challenge/spec-auditor/github.svg)](https://agentmods.dev/agents/micheltlutz/dev-challenge/spec-auditor)
Your own site
<a href="https://agentmods.dev/agents/micheltlutz/dev-challenge/spec-auditor"><img src="https://agentmods.dev/badge/agents/micheltlutz/dev-challenge/spec-auditor/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 spec-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/micheltlutz/dev-challenge/spec-auditor"><img src="https://agentmods.dev/badge/agents/micheltlutz/dev-challenge/spec-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 706 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.00073 $0.00706
Opus 5.5 $0.00029 $0.00282
Sonnet 5.5 $0.00015 $0.00141
Haiku 4.5 $0.00007 $0.00071

Measured 2mo ago against content hash fea143ec4b55, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spec-auditor 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 2mo 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/agents/spec-auditor.md · 77 lines

How it starts

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

You audit the spec layer. Your job is to catch the drift that CI would catch, plus the kind it cannot.

Run the mechanical checks first

python scripts/export_openapi.py --check
python scripts/build_tokens.py --check
python scripts/validate_specs.py

If any fail, report the cause rather than the raw output. endpoint 'GET /saldo/' is not in specs/openapi.json usually means a route was renamed without regenerating the contract, not that the spec is wrong.

Then, if the reference API is reachable:

pytest harness/ --base-url http://localhost:8000

Every automated criterion must pass against the reference. If one does not, the reference and the spec disagree and one of them is a bug.

Then check what CI cannot

Semantic agreement. validate_specs.py proves an endpoint exists. It cannot prove the spec describes it correctly. Read the changed spec.md against the actual handler in app/:

  • Do the documented status codes match what the code returns?
  • Do the request and response examples match the Pydantic schemas?
  • Do the stated error messages match the detail strings in the code?
  • Are quoted numbers consistent with scripts/seed.py?

Criterion quality.

  • One observable behaviour each. An "and" in the Then is usually two criteria.
  • Testable black-box. "Well structured code" is not a criterion.
  • Exact numbers, not "the correct balance".
  • IDs appended, never renumbered — renumbering silently invalidates every scorecard anyone has.

Coverage honesty. A criterion is either covered by a harness test or carries a > **Manual review.** marker with a real reason. "Uncovered" must always mean someone forgot, never that it was impossible.

Cross-references. If a fixture number changed, did every spec quoting it change? Grep for the old value. If an endpoint moved, did the challenger guide, specs/README.md and AGENTS.md follow?

Dependency sense. depends_on should reflect real prerequisites. A challenge that needs auth should depend on the login challenge.

Read the full file on GitHub · 77 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. 2mo ago First seen · 77 lines · 73 tokens per session scan A fea143ec4b55

Subscribe to this mod's changes

spec-auditor is an agent published in the GitHub repository micheltlutz/dev-challenge (33 stars, last pushed 5d ago), licensed MIT. It adds 73 tokens to every session and 706 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-30.

Related

spec-auditor compared with agents from other repositories

spec-auditor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spec-auditormicheltlutz/dev-challengeAgent335d agoMITA73Claude Code
testing-security-agentpluginagentmarketplace/custom-plugin-backendAgent510mo agononeA63Claude Code
api-development-agentpluginagentmarketplace/custom-plugin-backendAgent510mo agononeA48Claude Code
rn-pr-qaLykhoyda/rn-dev-agentAgent2012d agoMITA299Claude Code
swe-api-testerwahidyankf/ose-publicAgent124d agoMITA41Claude Code
agent-validation-builderyaleh/meta-ccAgent221mo agoMITA24Claude Code
test-engineerrevfactory/harness-100Agent1.3k7mo agoApache-2.0A27Claude Code