Loopgen Rs — Development skill for Claude Code
Agentic loop runner for Claude Code — turns a goal into an iterative claude -p loop with a LOOP_STATUS termination contract (max-iter cap, optional verify gate, BLOCKED escape).
How to install Loopgen Rs
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open adventurewave-labs/loopgen-rs and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Loopgen Rs does
Agentic loop runner for Claude Code — turns a goal into an iterative claude -p loop with a LOOP_STATUS termination contract (max-iter cap, optional verify gate, BLOCKED escape).
Alternatives in Development
- Implementation Plan — You are tasked with creating detailed implementation plans through an interactive, iterative process 10k ★
- /gemini Consult — Engages in deep, iterative conversations with Gemini MCP for complex problem-solving 1.3k ★
- Pi Reserved Keybindings — Extensions cannot override these shortcuts — they are silently skipped by registerShortcut() 526 ★
README
loopgen
[](LICENSE) [](https://www.rust-lang.org/)
**Agentic loop runner for Claude Code.** `loopgen` turns a one-line goal into an iterative loop that drives headless Claude Code (`claude -p`) until a termination contract trips. It is the "all I do is write loops for Claude" pattern, packaged as a small, dependable CLI: a hard iteration cap, an optional verify gate, and a `BLOCKED` escape hatch so a run never spins forever or terminates silently.
loopgen "get the test suite green" --verify "cargo test" --max 6
Demo

*Recorded from the actual binary with [asciinema](https://asciinema.org) + [agg](https://github.com/asciinema/agg).*
Install
cargo install --path .
This builds the optimized binary and installs `loopgen` into your Cargo bin directory (`~/.cargo/bin` by default). You need the [`claude`](https://docs.claude.com/en/docs/claude-code) CLI available on your `PATH` (or pass `--claude-bin `) for real runs.
Or install from [crates.io](https://crates.io/crates/loopgen):
cargo install loopgen
TOML configuration
Save a loop definition as a file for reuse:
# loop.toml
goal = "get the test suite green"
max = 12
verify = "cargo test"
Then run with `loopgen --config loop.toml`. CLI flags override file values when both are set.
Bash export
Export any loop as a standalone, portable bash script:
loopgen "fix the parser" --verify "cargo test" --export-bash > fix-loop.sh
chmod +x fix-loop.sh
./fix-loop.sh
The exported script uses only `claude`, `grep`, and `python3` — no Rust required at runtime.
Usage
loopgen [OPTIONS]
loopgen --wizard
loopgen --config loop.toml
| Flag | Type | Default | Meaning |
|---|---|---|---|
|
positional | — (required) | The outc |
Related Skills
Loopgen
A prompt compiler skill for /goal and ralph loop
Phone A Team
Iterative refinement — delegates tasks to backend(s) via agent teams, reviews, iterates up to MAX_ROUNDS round
Iteration Cap
Set the Second Pass iteration cap — the max number of revision attempts before the skill delivers the best att
Bringback5hourlimit
Bring back the Claude Code 5-hour usage limit: a local, self-imposed rolling cap for Claude Ultra (weekly-only
Reflect Search
Reflection-driven iterative search with goal evaluation
Demo Loop
Run the builder flywheel for a demo: assemble with demo-build, review with demo-review, fix, and repeat until
Related Agents
Harness Shipper
Fresh shipping agent for goal loops. Runs the no-mistakes validation pipeline exactly once after Checker PASS,
Research Loop
Autonomous iterative research loop — hypothesis, search, ingest, evaluate, keep/discard via checkpoint. Max 3
Dnp Build Error Resolver
🔧 Autonomous iterative build-error fixing — parses dotnet build/test output, diagnoses root causes, and appli