By rawwerks
Autonomous AI coding loop using bd (beads) for task management with parallel tmux subagents.
npx claudepluginhub rawwerks/ralph-eats-beadsAutonomous AI coding loop that ships features while you sleep. Uses tmux for observability and parallel subagents picking work from bd ready.

"Ralph Wiggum" autonomous AI coding loop, using bd (beads) for task management with parallel tmux subagents.
Ralph ships features while you sleep, by eating all of the beads.
For those in the know, you can think of Ralph Eats Beads as "Gas Town Lite". I find it much more powerful than a "vanilla Ralph" loop, yet much faster to start and easier to wield than Gas Town.
/plugin marketplace add rawwerks/ralph-eats-beads
/plugin install ralph-eats-beads@ralph-eats-beads
claude plugin marketplace add rawwerks/ralph-eats-beads
claude plugin install ralph-eats-beads@ralph-eats-beads
The "parent" Ralph/Claude picks issues from bd ready, spawns parallel Ralph/Claude subagents in tmux windows to implement them, and closes issues on success. Each iteration:
bd ready for available workralph (tmux session)
├── parent (window 0) - orchestrator
├── watchdog (window 1) - health monitor
├── issue-1 (window 2) - subagent
├── issue-2 (window 3) - subagent
└── issue-3 (window 4) - subagent
--dangerously-skip-permissions# 1. Create issues to work on
bd create --type epic "Feature: User Auth"
bd create "Add login form" --parent <epic-id>
bd create "Add validation" --parent <epic-id>
# 2. Start Ralph (default: 10 iterations max)
./scripts/ralph.sh
# 3. Or specify max iterations
./scripts/ralph.sh 25
# 4. Watch progress
tmux attach -t ralph-<project>
bd ready returns no workbd comments add <id> "Blocked: <reason>"In a typical "Ralph eats beads" workflow, you would have already converted your plan into bd epics, issues, dependencies, and notes before running ralph.sh. This is the recommended approach: carefully curate the plan, collaborate with Claude/Codex/etc to convert to bd and make sure that the agent does not miss any details. I often find it helpful to ask Claude to spin up an "auditor" subagent to check that every aspect of the plan was converted to bd. I also include in my CLAUDE.md: When exiting Plan Mode, all plans must be fully converted into bd epics, issues, dependencies, and notes.
However, if you haven't done that step yet, you can use the planner script to generate bd issues from a requirements file:
# From a requirements file
./scripts/planner.sh requirements.md
# From inline text
./scripts/planner.sh <<< "Add OAuth2 authentication with Google and GitHub"
# From a pipe
cat feature-spec.md | ./scripts/planner.sh
The planner runs a recursive loop that:
Once planning is complete, run ralph.sh to implement.
| File | Purpose |
|---|---|
scripts/ralph.sh | Main entry point |
scripts/planner.sh | Generate issues from requirements |
scripts/watchdog.sh | Health monitor |
SKILL.md | Full agent instructions |
MIT
7-day visitors to each marketplace page
Matt Pocock's skills for real engineering, as an installable Claude Code plugin.
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations
No description available.