/core:gauntlet-loopfrom core
Coordinates iterative improvement of an ambitious artifact against a concrete, inspectable bar over repeated rounds with separate builders and fresh critics.
Ships in core. 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.
None: SKILL.md is the whole skill.
Give a lead agent the destination and bar. Let it choose the route. Keep building and judging separate (principle-judge-with-fresh-eyes).
State the goal as an observable outcome, preserving the user's constraints. Use a supplied reference when it is inspectable; otherwise propose the strongest concrete comparison or measurement available. For a quantitative outcome, state a specific value at a stated scale. For a qualitative outcome, state the reference or the observable criteria. Explain its relevance in one sentence. Ask the user to confirm or amend it before round 1. A placeholder the user must fill later is not a bar (principle-fix-the-bar-first).
Define how a critic can compare the real artifact with the bar:
| Artifact | Useful bar |
|---|---|
| Visual product | Rendered reference, screenshots, or interaction recording |
| Software system | Passing behavior, performance, recovery, or security checks |
| Writing | Reference passages plus factual and structural checks |
| Research | Source quality, coverage criteria, and reproducible calculations |
For a visual bar, fix the capture protocol alongside the reference (viewport, theme, seed data, animation state) so both sides of every comparison are captured the same way. A comparison whose two sides were captured differently returns UNJUDGEABLE; the loop then repairs the inspection path instead of the artifact.
When rounds capture screenshots, use one capture mechanism for the whole run. Number the files per round (e.g. round2/01-empty-state.png) so each round diffs cleanly against the baseline.
For a visual artifact, pin the design tokens, visual motifs, and any taste constraints in the bar before round 1. A taste rejection that arrives after a WIN means the bar was incomplete.
When failure modes depend on scale, build or obtain a realistic-scale fixture before setting the bar. A small fixture hides the defects the loop exists to find.
Name any resource limit, the materiality threshold below which a remaining gap does not justify another round, and the allowed stop conditions. State the limit and the threshold as specific values. Exhaustion is a stopping reason, never evidence that the bar was met.
Complete when: the goal, inspectable bar, comparison method, materiality threshold, and stop policy are explicit.
Inspect the task and current artifact, then divide only the important parts that can be built and judged independently. Keep tightly coupled parts together. Use one loop when decomposition adds no independent judgement.
Assign each part to a builder and reserve a separate critic context. Declare dependencies between parts so independent work can run in parallel without conflicting edits.
Complete when: every important part has a judging seam, an owner, and declared integration dependencies.
Give each builder the goal, relevant bar and rules, the actual inputs, and an isolated editable workspace. When the artifact lives in a git repository, that workspace is the builder's own git worktree on its own branch, and the rest of this section applies. Each builder commits its own round work on its own branch. No builder in a run uses git stash: all worktrees of one repository share one stash list, so a stash pop can restore another builder's edits. A builder that must set work aside commits it.
Share one worktree between builders only when the host cannot create separate worktrees; when it can, move each builder into its own worktree before the next round. In a shared worktree, all builders work on the run branch and run no git write commands. State in each shared-worktree brief that every git command that changes the branch, index, or working tree (stash, checkout, switch, reset, restore, clean, add, commit) is forbidden there. A builder that needs a forbidden operation stops and reports to the lead. A shared worktree has one index, so at the end of each round the lead alone commits: one commit per builder, and each commit contains only that builder's files. The lead obtains the state it needs, such as a baseline on main, from a separate worktree or clone. When none is available, the lead reports that state as unobtainable instead of changing the shared worktree.
Let the builder choose the implementation. Require it to produce or modify the real artifact and run the smallest checks that make the artifact inspectable. The builder reports the artifact and evidence, not a quality verdict.
Complete when: every active part has an inspectable artifact and its checks or render path work.
For each judging round, launch a fresh critic with only:
Withhold the builder's history, rationale, summaries, and claimed quality. Ask the critic to inspect the artifact itself, use a blind A/B comparison when practical, and return:
WIN, LOSE, or UNJUDGEABLE;On LOSE, send that gap to the builder, repair it, and use another fresh critic. On UNJUDGEABLE, repair the inspection path or sharpen the bar before changing the artifact. Freeze a part only on WIN or an explicit stop condition.
Complete when: every active part has fresh, artifact-level evidence and either wins or has exactly one next gap.
Repeat build and gauntlet rounds without choosing an arbitrary round count. Maintain a compact ledger:
| Round | Part | Verdict | Evidence | Largest gap | Repair |
|---|
For a git-backed artifact, name a run branch and end each round with a commit on it; for any other artifact, end each round with a checkpoint copy. When builders have their own branches, the lead merges each builder branch into the run branch. The lead never stashes, resets, or discards a builder's uncommitted edits. An interrupt then strands at most one round of work.
State in each round's report the rounds used against the agreed budget and stop policy. The loop must end by that policy, not by a user interrupt.
Stop a loop only when the artifact wins, the user stops it, the named resource limit is reached, or the remaining improvement is below the agreed materiality threshold. Record unmet gaps whenever a loop stops without winning.
For long unattended runs, maintain a lightweight progress artifact only when the user needs to observe evolution without interrupting the loop.
Complete when: every part has a terminal verdict or named stop reason, with no claimed win unsupported by comparison evidence.
Integrate completed parts and run the relevant whole-artifact checks. When separately improved parts conflict, use one fresh smoothing pass to resolve only integration inconsistencies. Then give a fresh critic the complete artifact and original bar.
Complete when: the integrated artifact has been inspected against the original bar, relevant checks pass, and every remaining gap or stop reason is explicit.
Lead with the whole-artifact verdict, bar, and direct evidence. List rounds per part, each closed gap with the round that closed it, verification results, unresolved gaps, and the exact reason for stopping.
What SKILL.md sets; muted values are Claude Code's defaults
37 skills in this plugin
/acceptance-reviewWHEN deciding whether a PR, branch, diff, or current code satisfies an authoritative issue, specification, or decision contract; NOT for reconstructing meetings, tracing decision lineage, general code review, or implementation; returns a criterion-by-criterion proof and acceptance verdict./adam-modeWHEN explicitly invoked as /adam-mode or asked to work in Adam's style; NOT for automatic invocation; routes the task to a playbook, loads the principle and domain skills it needs, delegates through adam-agent and proves the result before it reports./architectWHEN shaping non-trivial code whose types, signatures, non-type contracts or module boundaries are not settled, before implementation; NOT for edits inside one function, read-only explanation, repo-wide hotspot scans, physical folder/package layout, or work whose design is already agreed; sketches caller usage, types, dependencies and module boundaries through arena, then implements against the agreed sketch when authorised/arenaWHEN choosing between alternative shapes for a non-trivial artifact (code, interface, prompt, document or visual direction) by producing several independent attempts in one pass, judging them against a rubric, picking a base and grafting in the best parts of the others; NOT for raising one artifact to a confirmed external bar over repeated rounds (gauntlet-loop), tasks with one obvious answer, or broad coverage or exploration partitions; returns one synthesised artifact and a synthesis note/babysitUSE WHEN a branch with committed work must reach green CI and merge while the user is away, or WHEN you are about to write a loop that polls or re-runs CI for one branch; NOT WHEN you watch many PRs as an agent inbox (github-monitor), only draft a PR description (pr), write commit messages (commit-messages), or write a poller that ships as product or repository code. Pushes the branch, opens the PR, watches checks with gh (GitHub) or tea (Forgejo, Gitea), fixes branch failures and merge conflicts, merges only after the user says yes, and reports each transition./benchmark-checklistWHEN validating a benchmark or measured performance claim; NOT for an unmeasured optimization guess; checks completed work, fairness and repeatabilitynpx claudepluginhub mintuz/skills --plugin coreOther plugins' skills for the same job