Runs Claude in a retry loop until tests pass or task completes. Use for TDD loops, overnight builds, or any task needing repeated iteration until success. Triggers on: loop until done, keep trying, retry until pass, TDD loop, iterate until tests pass.
Runs Claude in a persistent loop that keeps retrying until tests pass or the task is complete.
while :; do cat PROMPT.md | claude ; done
Keep iterating until task is complete.
Specify clear success conditions:
<promise>DONE</promise>)Always use --max-iterations to prevent infinite loops.
# Basic loop
iterative-runner "Build feature X" --completion-promise "DONE" --max-iterations 30
# TDD loop
iterative-runner "Implement feature using TDD.
1. Write failing test
2. Implement to pass
3. Run tests
4. Fix if failing
5. Repeat
Output <promise>DONE</promise> when all tests green." --max-iterations 50
Implement [FEATURE].
Requirements:
- [Requirement 1]
- [Requirement 2]
Success criteria:
- All tests passing
- No linter errors
After 15 failed iterations:
- Document blockers
- List attempted approaches
Output <promise>COMPLETE</promise> when done.
npx skills add aiskillstore/iterative-runner下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer