Gauntlet Loop Skills
Claude Skills that package the Gauntlet Loop: build, hand the result to a blind critic, revise, repeat, against a bar the agent can't argue its way around.
The problem this solves is boring and everywhere. The thing that built the work is also the thing that judged it, and a model is very good at explaining why its own work is reasonable. So it stops at "good enough" and tells you it's done.
The loop splits those jobs apart. A lead breaks the goal into pieces. Builders work in clean contexts. A blind critic, which never sees the builder's reasoning, inspects the actual artifact (running tests, rendered pixels, real query output) and passes it only when it beats something concrete.
Two skills:
| Skill | What it does |
|---|
gauntlet-loop | The loop itself, domain agnostic, with per-domain guides for coding, writing, design, data analysis, research, prompt evaluation, and detection engineering |
security-vuln-gauntlet | Same loop for authorized vulnerability hunting, where the bar is a working non-destructive PoC. Separate skill because the triggers and safety rules are different |
Install
As a Claude Code plugin:
/plugin marketplace add trilwu/gauntlet-loop-skills
/plugin install gauntlet-loop@gauntlet-loop
Or copy the skills yourself:
cp -r skills/* ~/.claude/skills/
Both work. The plugin route stays updatable, the copy route is one command and done.
One requirement worth checking before you start: you need a harness that can run code, render output, and spawn sub-agents with their own context. Claude Code, Cowork, Codex, anything equivalent. In a plain chat window there's no second context, so there's no independent critic, and what you get is self-review wearing a costume.
Start in a minute
Install, then give the agent a goal and something concrete to be measured against:
"Run a gauntlet loop: build a RateLimiter that matches a reference token-bucket, passes the required test suite, and keeps p99 under 50µs. The builder doesn't grade itself. Spawn a blind critic that runs the tests for real before anything passes."
The agent loads the skill, reads references/domains/coding.md, splits the work, sends builders off in clean contexts, and hands each artifact to a critic that actually runs the tests. It keeps going until the bar is met. You get the final artifact, a log of every round, and the evidence behind each PASS.
If you want the whole thing set up for you, fill in the blanks in examples/meta-prompt.md and paste it into an agentic harness.
Seven rules
Condensed from the original method. These are the load-bearing parts.
- Use a real agent, not a chat. The loop needs something that opens files, runs code, renders and screenshots, and spawns sub-agents.
- Give the goal, not the implementation. Say what the finished thing has to achieve and let the agent pick the route. Prescribing the architecture caps the result at your own imagination.
- Set a bar someone can inspect. "Make it amazing" isn't a bar. A good one is specific, measurable, and tied to something real: a test suite, a model text, a screenshot of a product you admire, an eval set, an ATT&CK technique, a working PoC. It doesn't have to be reachable. An aspirational bar keeps pulling the work upward instead of letting it settle.
- Let the agent split the work. Ask it to break the goal into the smallest pieces that can be built and graded on their own. Independent pieces can run as parallel loops.
- The builder never grades itself. The judge is a different agent, in a clean context, blind to the builder's reasoning, looking at the real artifact rather than the builder's summary of it. Blind A/B against the reference wherever the domain allows.
- Run it longer than feels necessary. Feed failures back, split the hard parts further, try variants. Stop when the bar is met, or when two rounds bring no improvement, or when the budget runs out.
- Watch without interrupting, then smooth. Have the loop keep a live
workbench.md or HTML progress page you can read whenever you feel like it. Once it converges, send one fresh agent over the whole assembled result to fix the seams between pieces that were improved separately.
Prompts for each role are in prompt-templates.md. Picking a bar: choosing-the-bar.md. Designing a critic that doesn't fold: critic-design.md. Budget, parallelism and the smoothing pass: running-the-loop.md.
The loop