Agent Loop
A command line utility that runs Claude Code CLI in a loop to work tasks one by one from a Prompt.md
Project Goals
- Can be cloned down and run with minimal setup
- This project can work in existing repos with minimal configuration
- Zero dependencies other than Claude Code and bash
Install
bash <(curl -fsSL https://raw.githubusercontent.com/BrandonMathis/agent-loop/main/install.sh)This downloads start_agent_loop.sh and Prompt.md into your current directory.
Usage
- Edit
Prompt.mdwith your tasks - Run agent loop script
Human Assisted
./start_agent_loop.sh
Fully Automated
./start_agent_loop.sh --dangerous
When running this script with the --dangerous flag you are giving claude code cli full permission to do whatever it pleases via the --dangerously-skip-permissions flag. Please proceed with caution and consider all possible risks.