/gauntlet:setup [goal | path/to/gauntlet.json to revise]from gauntlet
Sets up a Gauntlet Loop spec (gauntlet.json) for iterative improvement: defines goal, reference bar, judging criteria, capture harness, and stop rules. Use when starting a new gauntlet or revising an existing spec.
Ships in gauntlet. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Gauntlet Loop: build a piece, capture what it really produces, hand that and a reference that is already excellent to a fresh, harsh critic that does not know which is which, take the one gap it names, rebuild, and repeat until the piece wins. Fresh context, a harsh prompt, two unlabeled files. That is the whole method.
This skill writes the spec the loop runs from. It builds nothing and judges nothing. The run skill does that, and only when the user asks for it.
The request is $ARGUMENTS: either a goal in plain words or the path to an existing
gauntlet.json to revise.
Codex: if the token above is not substituted, read the goal or path from the user's message.
Everything lives in <workspace>/.gauntlet/<run-id>/: the spec as gauntlet.json,
references under refs/, and the harness's capture script if it has one. <workspace>
is the repo the builders will change (git rev-parse --show-toplevel from the current
directory, unless the user names another). Pick a short lowercase run_id, such as
landing-2026-10-26.
Read ${CLAUDE_PLUGIN_ROOT}/references/spec.md for every field and its default.
Codex: substitute the installed gauntlet plugin directory for the path above.
One question at a time, each with a recommended answer. (Codex: ask as plain chat turns.) Skip any the request already answered.
Goal. What is the whole artifact for, and for whom? One or two sentences.
The bar. Which references must it beat? Files the user hands over, URLs to capture, or a named bar ("Linear's homepage") you capture. Never generate a reference yourself. A reference that is merely okay makes the loop worthless.
Criteria. Two to five questions the critic answers, each starting "Which…". At least one must be about the artifact doing its job (clarity, conversion, correctness), not only how it looks.
Harness. How a piece becomes one file the critic can read:
${CLAUDE_PLUGIN_ROOT}/references/harness-image.md.${CLAUDE_PLUGIN_ROOT}/references/harness-text.md.capture.command that writes one file to {out}; if no
blinding can hide which file is ours, set medium: "opaque" (forces rubric).Codex: substitute the installed gauntlet plugin directory for both paths above.
Copy the harness script into the run dir when it uses one, then dry-run the capture
once on the current artifact (step below). Capture each URL reference with the same
harness into refs/, so ref and candidate come out of one pipeline.
Judging. blind-pairwise (default) or rubric. Recommend rubric only when a
reference is so recognizable that the critic would know which file is which.
judge.double: true judges twice with A/B swapped; it doubles critic calls.
A custom judge.prompt template must name the files and carry the answer shape:
{{FILE_A}} and {{FILE_B}} (pairwise) or {{REFERENCE}} and {{CANDIDATE}}
(rubric), {{CRITERIA}}, and {{SCHEMA}}. {{STANCE}} and {{GOAL}} are
optional. Copy ${CLAUDE_PLUGIN_ROOT}/references/judge-pairwise.md (or
judge-rubric.md beside it) into the run dir and edit that.
Codex: substitute the installed gauntlet plugin directory for the path above.
Git. Check whether the remote is public:
gh repo view --json visibility -q .visibility
Captures are committed to the run branch by default. If the repo is public, ask
whether they may be (git.commit_captures); screenshots can carry data.
Budget and stop rules. Offer the defaults from spec.md in one line and ask
for changes. They can be raised mid-run by editing the run's gauntlet.json.
Write <workspace>/.gauntlet/<run-id>/gauntlet.json, then dry-run the capture and
validate. Use a piece id and capture arguments the split is likely to use.
Codex: this path resolves under Claude Code; substitute the installed gauntlet plugin directory.
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT}"
node "$PLUGIN_ROOT/scripts/gauntlet.mjs" try-capture <workspace>/.gauntlet/<run-id>/gauntlet.json --piece <id> --args '{"selector":"#hero"}'
Read the file it reports. A capture that does not show the piece is a harness bug; fix it before going on.
Codex: this path resolves under Claude Code; substitute the installed gauntlet plugin directory.
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT}"
node "$PLUGIN_ROOT/scripts/gauntlet.mjs" validate <workspace>/.gauntlet/<run-id>/gauntlet.json
Fix every named field until it reports "ok": true.
Finish with the spec path and the command that starts the loop:
/gauntlet:run <workspace>/.gauntlet/<run-id>/gauntlet.json (Codex:
$gauntlet:run <path>). Say what a run spends: one builder session per piece per
round, one critic session per judgment (two with double), up to the budget.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
gauntlet-loop, iterative-improvement, spec-setup, blind-critic
Other plugins' skills for the same job
npx claudepluginhub jtsternberg/claude-plugins --plugin gauntlet2 skills in this plugin