npx claudepluginhub hmemcpy/ralph-wiggumGenerate Ralph Wiggum loop infrastructure for iterative AI-driven development. Supports Claude Code and Amp with agent-specific optimizations.
Generate the complete Ralph Wiggum loop infrastructure for iterative AI-driven development. Supports multiple AI agents with agent-specific optimizations.
An iterative AI development loop where a dumb bash script keeps restarting the AI agent, and the agent figures out what to do next by reading the plan file each time.
┌─────────────────────────────────────────────────────────┐
│ OUTER LOOP (bash) │
│ while :; do amp -x < PROMPT.md ; done │
└─────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────┐
│ INNER LOOP (agent) │
│ Read plan → Pick task → Implement → Test → Commit │
└─────────────────────────────────────────────────────────┘
./loop.sh implements one task per iteration until complete| Agent | CLI Command | Key Features |
|---|---|---|
| Amp | amp -x | Oracle (planning/debug), Librarian (docs), finder (semantic search) |
| Claude Code | claude -p | Plan Mode, AskUserQuestion, Subagents |
git clone https://github.com/hmemcpy/ralph-wiggum
cd ralph-wiggum
./install.sh
This installs:
~/.claude/plugins/~/.config/agents/skills/ralph-wiggum/Restart your agent for changes to take effect.
/skill ralph [optional/path/to/plan.md]
The skill will:
/skill ralph [optional/path/to/plan.md]
The skill will:
AskUserQuestion to interview you| File | Purpose |
|---|---|
specs/<feature>.md | Requirements, user stories, edge cases |
IMPLEMENTATION_PLAN.md | Summary + prioritized task list |
PROMPT.md | Build mode instructions |
loop.sh | Build-only loop script |
chmod +x loop.sh
# Run until complete
./loop.sh
# Limit iterations
./loop.sh 10
RALPH_COMPLETE — never stops on its ownRALPH_COMPLETEAskUserQuestion for requirements gatheringralph-wiggum/
├── .claude-plugin/ # Claude Code plugin manifest
├── agents/
│ └── ralph/
│ └── SKILL.md # Amp skill
├── skills/
│ └── ralph/
│ └── SKILL.md # Claude Code skill
├── install.sh # Installer for both agents
└── README.md
jq installed (for streaming output parsing)Ralph runs autonomously with permissions bypassed. Always run in a sandboxed environment (Docker, VM, etc.) to protect credentials and sensitive files.
MIT
Based on How to Ralph Wiggum by Geoffrey Huntley. Inspired by snarktank/ralph PRD and threading patterns.
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.