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 ★
- 14 Dev Runner — Prompt 14: Create Development Runner 2.2k ★
- /gemini Consult — Engages in deep, iterative conversations with Gemini MCP for complex problem-solving 1.3k ★
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
Orchestrate Execution
Run the current workspace's orchestration queue autonomously until it is exhausted, a hard blocker appears, or
Paperclip Remote Gateway
Zero-dependency reference implementation of Paperclip's async run gateway contract, with Claude Code as the ru
Oracle Status
Emit this repo's machine-readable status for the oracle board (.oracle/status.json) — goal, next step, owner,
Max Power
One-command activation — installs ClaudeMaxPower, offers Superpowers plugin install, presents capabilities men
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