Loop Patterns
Engineer the loop instead of babysitting the agent.
The four loop types — agent, verification, event-driven, hill-climb — as four installable Claude Code skills. Every loop is the same four decisions: what repeats, what decides (never the model's opinion — a command, a rubric, a metric), what counts as stuck, and what survives between iterations.
Who this is for
- You keep re-running the same agent prompt by hand instead of letting it loop to a real stopping condition.
- You want a goal + a quality bar + examples wired into a repeatable pattern, not a one-off prompt you rewrite every time.
- You're tired of "looks done" being the bar — you want a rubric or a metric deciding, not a model's opinion of its own work.
What's inside
| /verify-loop | Generate → judge against an explicit rubric → revise → repeat until pass or plateau. Free preview — included. |
|---|---|
| /agent-loop | Do → check via a command's exit code → fix → repeat. The generalized version of a test-to-green loop, for any check you can script. |
| /event-loop | Watch a trigger — a file, a cron tick, a webhook log — act, acknowledge, re-arm. For standing duties that shouldn't need you to remember to run them. |
| /climb-loop | Measure a baseline → try one variant → keep it if the metric improves → log the attempt to memory. For anything you're optimizing, not just building once. |
| COMPOSING.md | When to stack which loops — verification inside agent inside event is the workhorse pattern this pack is built around. |
Price
$49, one-time
Not on Gumroad yet — join the waitlist and we'll email you the checkout link the day it goes live.
FAQ
How is this different from just writing a while loop around a prompt?
A while loop repeats. These four patterns specify what decides to stop — a rubric, an exit code, a trigger, a metric — so the loop has a real contract instead of running until you get bored and check on it.
Do I need all four loops?
No. COMPOSING.md tells you which one fits your task and when to stack more than one — most real workflows only need two.
Does this need a framework or orchestrator installed?
No. Each loop is a standalone Claude Code skill — copy the folder into .claude/skills/ and the slash command works.
What pairs with this?
agent-loops-starter (free) for the single-loop basics, and window-surfer's /goal for time-budgeted runs — both in the Vibe Code catalog.
Will this get updated when a new model ships?
Yes — every pack is versioned with changelogs and re-verified on model releases.