Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mhenke-ralph-wiggum
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ralph-wiggum
What's inside
- Skill name
ralph-wiggum- Description
- Iterative feedback loop commands
- License
- MIT
- Instructions
- 362 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- SKILL.md
- hook-config.json · scripts/
- setup-ralph-loop.sh · scripts/
- stop-hook.sh · scripts/
SKILL.md (first lines)
# Ralph Feedback Loop ## Overview # Ralph Wiggum Plugin Implementation of the Ralph Wiggum technique for iterative, self-referential AI development loops in coding assistant. ## What is Ralph? Ralph is a development methodology based on continuous AI agent loops. As Geoffrey Huntley describes it: **"Ralph is a Bash loop"** - a simple `while true` that repeatedly feeds an AI agent a prompt file, allowing it to iteratively improve its work until completion. The technique is named after Ralph Wiggum from The Simpsons, embodying the philosophy of persistent iteration despite setbacks. ### Core Concept This plugin implements Ralph using a **Stop hook** that intercepts Claude's exit attempts: ```bash # You run ONCE: /ralph-loop "Your task description" --completion-promise "DONE" # Then coding assistant automatically: # 1. Works on the task # 2. Tries to exit # 3. Stop hook blocks exit # 4. Stop hook feeds the SAME prompt back # 5. Repeat until completion ``` The loop happens **inside your current session** - you don't need external bash loops. The Stop hook in `hooks/stop-hook.sh` creates the self-referential feedback loop by blocking normal session exit. This creates a **self-referential feedback loop** where: - The prompt never changes between iterations - Claude's previous work persists in files - Each iteration sees modified files and git history - Claude autonomously improves by reading its own past work in files ## Quick Start ```bash /ralph-loop "Build a REST API for todos. Requirements: CRUD operations, input validation, tests. Output <promise>COMPLETE</promise> when done." --completion-promise "COMPLETE" --max-iterations 50 ``` Claude will: - Implement the API iteratively - Run tests and see failures - Fix bugs based on test output - Iterate until all requirements met - Output the completion promise when done ## Commands ### /ralph-loop Start a Ralph loop in your current session. **Usage:** ```bash /ralph-loop "<prompt>" --max-iterations <n> --completion-promise "<text>" ``` **Options:** - `--max-iterations <n>` - Stop after N iterations (default: unlimited) - `--completion-promise <text>` - Phrase that signals completion ### /cancel-ralph Cancel the active Ralph loop. **Usage:** ```bash /cancel-ralph ``` ## Prompt Writing Best Practices ### 1. Clear Completion Criteria ❌ Bad: "Build a todo API and make it good." ✅ Good: ```markdown Build a REST API for todos. When complete: - All CRUD endpoints working - Input validation in place - Tests passing (coverage > 80%) - README with API docs - Output: <promise>COMPLETE</promise> ``` ### 2. Incremental Goals ❌ Bad: "Create a complete e-commerce platform." ✅ Good: ```markdown Phase 1: User authentication (JWT, tests) Phase 2: Product catalog (list/search, tests) Phase 3: Shopping cart (add/remove, tests) Output <promise>COMPLETE</promise> when all phases done. ``` ### 3. Self-Correction ❌ Bad: "Write code for feature X." ✅ Good: ```markdown Implement feature X following TDD: 1. Write failing tests 2. Implement feature 3. Run tests 4. If any fail, debug and fix 5. Refactor if needed 6. Repeat until all green
From mhenke/claude-code-unplugged, MIT.
More from mhenke/claude-code-unplugged
- 0.502score
claude-opus-4-5-migration
mhenke
Migrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5.
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
security-guidance
mhenke
Security warnings, patterns scanner, and LLM diff security reviews
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
github-management
mhenke
Issue and pull request lifecycle automation scripts
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
learning-output-style
mhenke
Prompts users for lightweight contributions to encourage learning
SkillCFreshness: C★ 1Claude Code +9 - 0.488score
commit-commands
mhenke
Git commit and repository workflows
SkillCFreshness: C★ 1Claude Code +9 - 0.488score
code-review
mhenke
Automated PR and code reviewer guidelines
SkillCFreshness: C★ 1Claude Code +9 - 0.486score
explanatory-output-style
mhenke
Provides educational insights and explanations during code execution
SkillCFreshness: C★ 1Claude Code +9 - 0.484score
hookify
mhenke
Extensible user-configured prompt hooks
SkillCFreshness: C★ 1Claude Code +9 - 0.479score
agent-sdk-dev
mhenke
Help developers build Agent SDK applications
SkillCFreshness: C★ 1Claude Code +9 - 0.479score
pr-review-toolkit
mhenke
Comprehensive code review toolkit
SkillCFreshness: C★ 1Claude Code +9 - 0.479score
plugin-dev
mhenke
Development assistance for creating CLI plugins
SkillCFreshness: C★ 1Claude Code +9 - 0.479score
feature-dev
mhenke
Guided feature development workflow
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 11, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/mhenke/claude-code-unplugged
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mhenke
- 0.502score
claude-opus-4-5-migration
mhenke
Migrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5.
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
security-guidance
mhenke
Security warnings, patterns scanner, and LLM diff security reviews
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
github-management
mhenke
Issue and pull request lifecycle automation scripts
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
learning-output-style
mhenke
Prompts users for lightweight contributions to encourage learning
SkillCFreshness: C★ 1Claude Code +9 - 0.488score
commit-commands
mhenke
Git commit and repository workflows
SkillCFreshness: C★ 1Claude Code +9 - 0.488score
code-review
mhenke
Automated PR and code reviewer guidelines
SkillCFreshness: C★ 1Claude Code +9
Cite this page
ralph-wiggum skill. Agent Mart. https://agentmart.dev/skills/mhenke-ralph-wiggum (last updated 2026-10-24)