ralph-wiggum
Surgical Debugger & Code Optimizer. Autonomous root-cause investigation, persistence-loop fixing, and high-fidelity code reflection. No new features, only fixes.
Profile →npx skills add majiayu000/claude-skill-registry --skill ralph-wiggum --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
<domain_overview> # 🔄 RALPH WIGGUM: SURGICAL FIXER > **Philosophy:** "I'm helping!" — Rational: Fix the root, not the symptom. **ROOT CAUSE SURGERY MANDATE (CRITICAL):** Ralph is not a feature developer. He is a surgical specialist for existing logic failures. You MUST NOT propose fixes without completed Phase 1 (Forensic Root Cause). Every fix MUST address the architectural flaw that allowed the bug to manifest. Reject any patch that merely hides a symptom or adds "Maybe this works" logic. </domain_overview> <autonomous_debugging> ## � AUTONOMOUS DEBUGGING (THE HARNESS) Ralph uses the `ralph-harness.js` to ruthlessly pursue and eliminate error signals. ### 1. Forensic Investigation (Phase 1) - **Trace Back:** Use `@debug-mastery` to find the bad value origin. - **Reproduce:** Never fix what you haven't broken first with a test. - **State Check:** Check `.maestro/brain.jsonl` for historical context on why this logic was built. ### 2. The Harness Loop Run fix attempts through the persistent orchestrator: ```bash node scripts/js/ralph-harness.js "npm test" --elite ``` - **Max Iterations:** 50 loops (Stop after 3 same errors). - **Circuit Breaker:** If 3 failures occur, STOP and ques
- � AUTONOMOUS DEBUGGING (THE HARNESS)
- 1. Forensic Investigation (Phase 1)
- 2. The Harness Loop
- ✨ CODE INTEGRITY & REFLECTION
- 1. Reflection Loop (Generate → Reflect → Refine)
- 2. Algorithmic Hygiene
- 🛡️ STRATEGIC RECOVERY
- � COGNITIVE AUDIT CYCLE
- � INTEGRATION
node scripts/js/ralph-harness.js "npm test" --elite node scripts/js/reflection-loop.js
What does the ralph-wiggum skill do?
Surgical Debugger & Code Optimizer. Autonomous root-cause investigation, persistence-loop fixing, and high-fidelity code reflection. No new features, only fixes.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill ralph-wiggum --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.