Night Market Skill — ported from claude-night-market/gauntlet. For the full experience with agents, hooks, and commands, install the Claude Code plugin.
Present challenges from the knowledge base and evaluate answers.
Before generating a challenge, register the in-loop variation provider so we do not call out to the Anthropic API just to spawn a sibling Claude (issue #464). Outside Claude Code this is a no-op and the default Anthropic provider remains active.
python
from gauntlet.providers.in_loop import (
register_in_loop_provider_if_inside_claude_code,
)
register_in_loop_provider_if_inside_claude_code()
Load state: read .gauntlet/knowledge.json and developer
progress
Check for pending challenge: if
.gauntlet/state/pending_challenge.json exists, evaluate the
developer's most recent message as an answer before generating
a new one
Generate challenge: use adaptive weighting to select a knowledge entry and challenge type
Present challenge: show the question with context
Evaluate answer: score the response (pass/partial/fail)
Record result: update developer progress and streak
On pass: write pass token if from pre-commit gate. Show next challenge if in session.
On fail: show correct answer with explanation. Present a new challenge.
ResultScoreStreakPass1.0+1Partial0.5resetFail0.0reset