Open Ralph Wiggum enables developers to run iterative AI coding loops with Claude Code, Codex, and OpenCode. Type 'ralph "prompt"' to start or use a prompt file. Check status and automate repetitive coding tasks.
git clone https://github.com/Th0rgal/open-ralph-wiggum.githttps://github.com/Th0rgal/ralph-wiggum
[{"step":1,"action":"Install and initialize open-ralph-wiggum in your project directory. Run 'npm install -g open-ralph-wiggum' or use the project-specific installation if preferred.","tip":"Ensure you have Claude Code, Codex, or OpenCode installed and authenticated for full functionality."},{"step":2,"action":"Start an iterative coding loop by typing 'ralph \"[YOUR_PROMPT]\"' in your terminal. Replace [YOUR_PROMPT] with a specific coding task, e.g., 'Refactor the API error handling in /src/utils/errors.js'.","tip":"Be as specific as possible with your initial prompt to get targeted results. Include file paths and desired outcomes."},{"step":3,"action":"Monitor progress with 'ralph status' to see active iterations, completed tasks, and pending actions. Use this to track multi-step refactoring or debugging tasks.","tip":"Check status frequently during long-running tasks to catch errors early. Use 'ralph logs' to review detailed logs if needed."},{"step":4,"action":"Iterate by refining prompts based on Ralph's output. For example, if Ralph suggests changes to /src/utils/errors.js, run 'ralph \"Implement the suggested error handling changes in /src/utils/errors.js and add unit tests.\"'","tip":"Use the output from each iteration as input for the next. Ralph maintains context between iterations, so you can chain prompts naturally."},{"step":5,"action":"Finalize the task by reviewing Ralph's summary output, running local tests, and committing the changes. Use 'ralph \"Final review and cleanup of [TASK].\"' to ensure everything is production-ready.","tip":"Always verify Ralph's changes manually before deploying. Use 'ralph status' to confirm the task is complete and no pending actions remain."}]
Automate the creation of a REST API with CRUD operations and tests.
Iteratively develop a CLI tool while monitoring progress.
Manage complex projects by breaking them into smaller tasks with structured tracking.
Run self-correcting loops for code refactoring and bug fixing.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/Th0rgal/open-ralph-wiggumCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Use open-ralph-wiggum to automate the following iterative coding task: [DESCRIBE_TASK]. Start by running 'ralph "[INITIAL_PROMPT]"' to initiate the loop. Monitor progress with 'ralph status' and iterate until the task is complete. Example: 'ralph "Refactor the user authentication module in /src/auth to use JWT tokens instead of sessions. Start by analyzing the current codebase."'
```bash $ ralph "Refactor the user authentication module in /src/auth to use JWT tokens instead of sessions. Start by analyzing the current codebase." Ralph Wiggum v1.2.0 | Iteration 1/5 Analyzing /src/auth... Found 12 files using session-based auth. Suggested changes: 1. Replace session middleware with JWT in /src/auth/middleware.js 2. Update /src/auth/models/User.js to store refresh tokens 3. Modify /src/auth/routes/login.js to issue JWT tokens Applying changes to /src/auth/middleware.js... ✅ Successfully replaced session middleware with JWT ✅ Updated 4 functions to handle token validation Ralph Wiggum v1.2.0 | Iteration 2/5 Verifying changes... ⚠️ Warning: /src/auth/routes/logout.js still uses session.destroy() Suggested fix: Replace with token invalidation Applying changes to /src/auth/routes/logout.js... ✅ Updated logout route to invalidate JWT tokens Ralph Wiggum v1.2.0 | Iteration 3/5 Running tests... ✅ All 18 auth tests passing (2 new JWT-specific tests added) ✅ Code coverage: 92% (up from 85%) Ralph Wiggum v1.2.0 | Iteration 4/5 Checking security implications... ✅ No hardcoded secrets found in JWT implementation ✅ Token expiration set to 15 minutes (refresh token: 7 days) Ralph Wiggum v1.2.0 | Iteration 5/5 Final review complete. Changes ready for PR. Summary of changes: - 12 files modified - 4 new test cases added - Security vulnerabilities addressed - Performance improved by 12% (reduced session storage overhead) Next steps: 1. Review changes in /src/auth/ 2. Run 'npm test' locally 3. Create PR with title 'feat(auth): migrate to JWT-based authentication' ```
Meet your new AI Sales Copywriter 10x Faster and 2x Better Sales Content
AI assistant built for thoughtful, nuanced conversation
Real-time collaborative writing platform
IronCalc is a spreadsheet engine and ecosystem
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan