For AI coding agents
Your agent keeps working until the check passes.
Ready-made loops for Claude Code, Codex and Cursor. Each time your agent tries to stop, a real command, like your tests, runs outside the AI. If it fails, the agent goes another lap. After 8 laps, it stops and tells you what still fails.
Waitlist offerLaunching November 2026
First 200: 50% off for life. $9.50/mo instead of $19, as long as you stay subscribed.
Only the first 200 get this.
Preview a loop
Simulation only. No AI or code is running.
- Idea → MVPfreeall 9 checklist items pass
- PR review → greenall checks pass, every blocking comment has a draft reply
- Bug repro → fixbug test passes, 0 failing tests
- Coverage climbcoverage ≥ 80%
- PR triageevery pull request has a suggestion
- Dependency upgradefreebuild, checks and tests pass
- Perf budgetpage code ≤ 170 KB, loads in ≤ 2.5 s (LCP)
- Launch postfreejudge score ≥ 85
- SEO pageLighthouse SEO ≥ 95, page score ≥ 85
- Landing CROlowest section ≥ 80 on the scorecard
- Outreach draftsevery draft passes the checklist
- Competitor watchevery page compared, each change linked
- Email sequencelowest email ≥ 80, spam and links pass
- Changelog → postsevery change covered, posts pass checks
- AI search setupfreeAI files live, data valid, bots allowed
bug test passes, 0 failing tests
- check 1: bug test fails, as it should at first, not met
- check 2: bug test passes · 1 discount test fails, not met
- check 3: bug test passes · 0 failing tests, met
Sample result: check 3 passes (bug test passes · 0 failing tests), so the loop stops.
.claude/skills/untilship-bug-repro-fix/SKILL.mdstop_when: bug test passes, 0 failing testsmax_laps: 8Read the file
Sample run
What a run looks like, lap by lap.
A bug fix, a launch post scored by AI judges, and a test run that hits the lap limit. All three are simulated. Real runs on public projects will replace them.
Bug repro → fix auto-checked
Sample · simulated output- lap 1Wrote the bug test “line total adds up to the cent” in test/checkout.test.ts. Ran it before fixing anything.Not met: bug test fails, as it should at first
$ npm test FAIL checkout.test.ts ✕ line total adds up to the cent lineTotal({ price: 6.67, qty: 3 }) expected 20.01 got 20.009999999999998 1 failed, 212 passed - lap 2Fixed lineTotal() to add up in whole cents, then turn the result back into dollars.Not met: bug test passes · 1 discount test fails
✓ line total adds up to the cent ✕ cart › 10% off 3 × $6.65 is $17.96 expected 17.96 got 17.95 1 failed, 212 passed
Fixing the rounding broke a discount test that only passed because of the old error. An agent that stops when it looks done would ship this.
- lap 3Made applyDiscount() round in whole cents too. The 10% off case now lands on $17.96.Met: bug test passes · 0 failing tests
Final check result
$ npm test PASS checkout.test.ts ✓ line total adds up to the cent PASS 2 more suites 213 passed, 213 total
What changed 2 files, no caller changes
@@ src/checkout/total.ts · lineTotal(item) - return item.price * item.qty; + return (Math.round(item.price * 100) * item.qty) / 100; @@ src/cart/discount.ts · applyDiscount(total, pct) - return Math.round(total * (1 - pct / 100) * 100) / 100; + const cents = Math.round(total * 100); + return Math.round((cents * (100 - pct)) / 100) / 100;
What comes back
- Stopped: the check passed on lap 3 of max 8.
- Bug test added: test/checkout.test.ts (failed on lap 1, passes now).
- Tests: 213 passed, 0 failed. No existing test was changed.
- Changed: src/checkout/total.ts, src/cart/discount.ts. Both still return dollars.
4 free loops. On GitHub now.
Open source under the MIT license. Use them today.
Installs the skills, checks and a Stop hook. Your existing hooks stay.
Idea → MVP
Plan and build a first working version of your app.
stops when all 9 checklist items pass
Dependency upgrade
Update a library your code uses, then fix what the new version breaks.
stops when build, checks and tests pass
Launch post
Write a launch post, have AI judges score it, and rewrite the weak parts.
stops when judge score ≥ 85
AI search setup
Help AI search tools like ChatGPT read your site and find your key pages.
stops when AI files live, data valid, bots allowed
Why not write it yourself?
You can. A loop is a plain text file. You pay for the parts that take real testing to get right.
The usual shortcuts are rejected
Each loop lists protected files, like test settings, and forbidden shortcuts, like skipped tests. If either changes, the pass doesn’t count. You still review the final diff.
The checks are already set up
Each loop comes with the right command and the bar to hit, like your test command and a coverage target. You don’t have to work out what “done” means.
Each loop ships with its run report
Every lap, every failed check, and the result that ended the run. Before a paid loop ships, I’ll publish its real run.
Why not just use /goal or /loop? Those commands keep an agent going on whatever you write. UntilShip gives you what to write: tested steps, a separate check, and a lap limit.
How it works
A text file with a check at the end.
It says when to start, which steps to follow, and when to stop. Each try at the steps is a lap. This is the file for the loop you picked above.
stop_when: bug test passes, 0 failing tests check: npm test max_laps: 8# files the agent may not change protect: - package.json # the test scripts - vitest.config.* - jest.config.* # existing tests; new test files are allowed - test/**/*.test.ts # shortcuts it may not add, like skipped tests forbid: - '.skip(' - '.only(' - 'xit(' - 'xdescribe(' - 'test.todo(' - '@ts-ignore' - '@ts-expect-error' - 'eslint-disable' ## Stop when Stop only when bug test passes, 0 failing tests: the check command exits 0. After 8 laps without it, stop and report what still fails. Never stop because the work looks done.
How a run ends
- Passes the checkStops and gives you the work and the check’s result.
- Hits the lap limitStops after 8 laps and reports what it tried and what still fails.
- You stop itAnytime. It’s your agent and your session.
- The check can be any command that passes or fails, like
npm testorpytest. Judge-scored loops use a panel of AI judges instead. Each judge grades the work against a written scorecard. A script averages the grades and compares them with your bar. - Claude Code uses a Stop hook: a small script it runs each time it tries to stop. The hook runs the check. If the check fails, Claude Code keeps working.
- GuardsEach loop lists files the agent may not change, like test settings, and shortcuts it may not add, like skipped tests. The loop file and the hook setup are always protected. If any of these change, the pass doesn’t count.Full list of guards → (opens in a new tab)
max_lapssets the lap limit, 8 by default. Fewer laps means fewer retries. AI usage stays on your own agent bill.
Your agent
Same loops in Claude Code, Codex and Cursor.
Install once, start one mid-task, read what comes back.
- 1 · Install, once
Download the loops into
.claude/skills/$npx untilship pullAdds the loop skills, a
.untilship/folder and a Stop hook entry. Codex and Cursor also get anAGENTS.mdsection (a marked block;npx untilship removetakes it out). Your existing hooks stay.Each loop is saved as a text file in your project, e.g.
.claude/skills/untilship-bug-repro-fix/SKILL.md. Run it again to get new loops. - 2 · Start, mid-task
Start Bug repro → fix from your terminal
$claude>/untilship-bug-repro-fix #214Each time Claude Code tries to stop, the check runs first.
Do your own work while it runs.
- 3 · What comes back
The result, and the check that ended the run
statusstopped · check passedstop whenbug test passes, 0 failing testslast checkbug test passes · 0 failing testslaps3 of max 8Sample result for Bug repro → fix, matching the demo above.
Loops
15 loops at launch. Two more every week.
7 for shipping code, 8 for growth, 4 free. Open one to see what goes in, what comes out and the check that ends it.
judge-scored AI judges score the work against a written scorecard. Every other loop stops when a command passes.
- Input
- A bug report with steps to reproduce.
- Output
- A test that shows the bug, the fix, and every test passing.
- Check
npm test
+2 loops every week. The waitlist sees them first.
Pricing
$19/mo. Or $9.50 for life if you’re early.
Prices at launch. Joining the waitlist costs nothing and needs no card.
Includes new loops, maintained checks, updates when Claude Code, Codex or Cursor change, and real run reports. Your agent’s AI usage is billed separately.
| Plan | Price | Waitlist price | What you get |
|---|---|---|---|
| Free | $0 | Already free | 4 open-source loops on GitHub. Use them today. |
| All-access | $19/moor $149/yr | Waitlist price$9.50/mo for life if you’re in the first 200$9.50/mo for year one for everyone else on the list (subscribe within 72 hours) | All 15 loops, plus the new ones every week. When Claude Code, Codex or Cursor change how hooks work, loops get fixed and subscribers get the fix. |
| Ship | $12/mo | Waitlist price$6/mo for year one if you’re on the list (subscribe within 72 hours) | 7 coding loops at launch, plus new Ship loops. |
| Growth | $12/mo | Waitlist price$6/mo for year one if you’re on the list (subscribe within 72 hours) | 8 growth loops at launch, plus new Growth loops. |
- Subscribers who joined from the list get new loops 7 days early.
- Cancel anytime. Loops you’ve downloaded stay yours. After that, new loops and updates stop.
Fair questions.
Something not answered? Email hello@untilship.com. I reply myself.
A text file your AI coding agent follows. It says when to start, which steps to take, and when to stop. The run ends when a separate check passes, or after 8 laps.
Claude Code, Codex and Cursor. Each loop comes in all three formats. In Claude Code and Codex, the check runs each time the agent tries to stop. Cursor can’t block a stop, so the untilship run command restarts its agent until the check passes.
It can try. Each loop lists files the agent may not change, like test settings, and shortcuts it may not add, like skipped tests. The loop file and the hook setup are always protected. If any of these change, the pass doesn’t count. The run log shows what the agent changed. For extra safety, run the same check in your CI on a clean copy of the code.
Your agent’s normal AI usage, on your own bill. Every loop has a lap limit (default 8), so a run that can’t pass stops instead of retrying forever.
It saves each loop as a skill in your agent’s folder, like .claude/skills/untilship-bug-repro-fix/, plus a small .untilship/ folder with the checker. It adds one Stop hook entry to your agent’s hook settings. Hooks you already have are kept. For Codex and Cursor it also adds a short UntilShip section to AGENTS.md.
Run npx untilship remove. It deletes the untilship skill folders, the .untilship/ folder, the UntilShip hook entry and the marked AGENTS.md block, and leaves everything else.
The hook runs with Node, so it should, but I’ve only tested macOS and Linux so far.
It’s open source (see the code on GitHub), has no dependencies and sends no data. Pin a version if you like: npx untilship@0.1.1 pull.
No. The command-line tool sends nothing back to us. The waitlist stores only your email.
A panel of AI judges scores the result against a written scorecard. The loop stops when the score clears your bar. Today only the launch post loop has a working 3-judge scorer. The other judge-scored loops get theirs before launch.
November 2026. The exact day goes to the waitlist by email.
Email me and I’ll set it up.
The last condition is yours.
First 200 get 50% off for life.
Only the first 200 get this.
Not met yet: stop_when: you’re on the list