clawker loop iterate
Run an agent loop with a repeated promptSynopsis
WARNING: This command is experimental and may change in future releases. Run Claude Code in an autonomous loop, repeating the same prompt each iteration. Each loop session gets an auto-generated agent name (e.g., loop-brave-turing). A fresh container is created for each iteration — hooks are injected, the agent runs, and the container is destroyed afterward. Workspace and config volumes persist across iterations so the agent sees cumulative codebase changes. Each iteration starts a fresh Claude session (no conversation context carried forward). The agent only sees the current codebase state from previous runs. The loop exits when:- Claude signals completion via a LOOP_STATUS block
- The circuit breaker trips (stagnation, same error, output decline)
- Maximum iterations reached
- A timeout is hit
Examples
Options
Options inherited from parent commands
See also
- clawker loop - Run Claude Code in autonomous loops