Learn how to run Claude Code in autonomous loops — from human-in-the-loop supervision to fully AFK execution with Docker sandboxing and GitHub issue backlogs.
What You Will Learn
- What Is Ralph — How Ralph loops let Claude Code work through multi-phase plans autonomously across multiple context windows
- HITL vs AFK Ralph — The difference between human-in-the-loop and AFK Ralph scripts and when to use each
- Trying HITL Ralph — Run the HITL Ralph script with a PRD and plan while staying in the loop to approve permissions
- Sandboxing — How Docker sandboxing and permission flags let Claude Code run without constant approval prompts
- Setting Up and Trying AFK Ralph — Configure and run the AFK Ralph script with Docker sandbox for fully autonomous execution
- Using Backlogs to Queue Tasks for Ralph — Replace manual PRD selection with a GitHub issues backlog for autonomous task pickup
- Setting Up Our Repo for GitHub Issues — Fork the repo and configure GitHub CLI access for Ralph integration
- Hooking Up Ralph to Your Backlog — Wire GitHub issues into the Ralph prompt so it reads and closes issues as it works
- Updating Our PRD and Plan Skill to Use GitHub — Modify skills to create GitHub issues instead of local markdown files