By hmemcpy
Conduct interactive interviews via clarifying questions to generate feature specs, implementation plans with task checklists, and AI-driven development loop infrastructure customized to your project scope, risk tolerance, and validation needs. Optimized for Claude Code skills and Amp agents.
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.
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-3 --plugin hmemcpy-ralph-wiggumAutonomous coding using the Ralph Wiggum technique - simple loops, persistent memory, one task at a time
A plugin to help with Ralph's tasks
Interactive self-referential AI loops for iterative development. Claude works on the same task repeatedly, seeing its previous work, until completion.
連續自引用 AI 循環,用於互動式迭代開發。實現 Ralph Wiggum 技術,讓 Claude 在 while-true 循環中執行相同提示直到任務完成
Implementation of the Ralph Wiggum technique - continuous self-referential AI loops for interactive iterative development. Run Claude in a while-true loop with the same prompt until task completion.
loophaus — Control plane for coding agents