Ralph: Lightweight Agent Loop Script for PRDs and Task Plans
After running a few tools for agent loops, it turned out that is still the best option.
It’s just a 113-line shell script (a while loop with iterative calls to claude -p) plus 3 markdown prompts—very lightweight.
- Use /prd to turn vague requirements into a generated PRD
- Use /ralph to turn PRD requirements into a task plan and result validation checkpoints
The logic is simple, compact, and convenient to use.