dev-challenge: Command for Claude Code

.claude/commands/challenge.md

challenge is a command for Claude Code from micheltlutz/dev-challenge. It costs 17 tokens per session (434 once invoked), scanned A, original, MIT.

A command that opens a software-development challenge and explains what must be built. It reads the challenge specification, acceptance checklist, and relevant design files before asking how you plan to proceed.

In plain words
What is it for?
Use it to review endpoints, request and response formats, status codes, acceptance criteria, design test IDs, dependencies, and challenge-specific traps.
Why use it?
It gathers the contract and evaluation rules in one orientation, so you can understand the task and common pitfalls before coding. It also identifies missing prerequisites and unclear requirements.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

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 Read, Grep, Glob, Bash(python harness/cli.py:*), Bash(python scripts/validate_specs.py:*).

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/commands/challenge.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 challenge

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/micheltlutz/dev-challenge/challenge"><img src="https://agentmods.dev/badge/commands/micheltlutz/dev-challenge/challenge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 434 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.00017 $0.00434
Opus 5.5 $0.00007 $0.00174
Sonnet 5.5 $0.00003 $0.00087
Haiku 4.5 $0.00002 $0.00043

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

Security

Grade A, and why

challenge 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/commands/challenge.md · 51 lines

What it actually says

Start work on challenge $1.

Load the context

  1. Read specs/challenges/$1/spec.md. If the directory does not exist, run python harness/cli.py --list and suggest the closest match.
  2. Read specs/challenges/$1/acceptance.md.
  3. If the frontmatter has mockups: or figma_node:, also read specs/design/style-guide.md and note the testids: list.
  4. Check depends_on: — if a prerequisite has not been done, say so before starting.

Then

Give the person a short orientation, not a wall of text:

  • What they are building, in two or three sentences.
  • The contract: endpoints, request and response shapes, status codes.
  • The acceptance criteria as a numbered checklist, with IDs.
  • Anything the spec leaves genuinely ambiguous.
  • The one trap most people hit on this specific challenge.

Then ask what their approach is, and work from there.

Posture

Default: mentor. Plan with them, review what they write, explain failing criteria. Do not write the implementation. Scaffolding, config and boilerplate are fine to write outright — nobody learns from a tsconfig.json.

If $ARGUMENTS contains --solve, or they ask directly, switch to solver mode: say you have switched, then implement it properly and walk them through the reasoning as you go.

See the challenge-workflow skill for the full loop.

Verifying

python harness/cli.py --base-url <their-url> --challenge $1

Mobile challenges have no automated runner — say so plainly rather than implying coverage that does not exist.

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 · 51 lines · 17 tokens per session scan A c1793f49273a

Subscribe to this mod's changes

challenge is a command published in the GitHub repository micheltlutz/dev-challenge (33 stars, last pushed 5d ago), licensed MIT. It adds 17 tokens to every session and 434 once invoked, about $0.0001 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

challenge compared with commands from other repositories

challenge next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
challengemicheltlutz/dev-challengeCommand335d agoMITA17Claude Code
firefabriqaai/specs.mdCommand2253d agoMITA13Claude Code
toolsfirst-fluke/fullstack-starterCommand2253d agoMITA18GitHub Copilot
os-meetingCronusL-1141/AI-companyCommand37410d agoMITA12Claude Code
erne-animateJubaKitiashvili/everything-react-native-expoCommand5029d agoMITA21Claude Code
react-nativegetsentry/toolkitCommand957yesterdaynoneA0Claude Code
app-store-auditmjmirza/app-store-complianceCommand403yesterdaynoneA35Claude Code