Open-Source Ralph Loop Toolkit for Claude Code: Pickle Rick and Mr. Meeseeks Agents

Open-Source Ralph Loop Implementation for Claude Code
An open-source extension for Claude Code provides what the creator calls "the most complete Ralph Loop implementation out there." The toolkit implements the Ralph Wiggum technique — blocking exit, re-injecting context, and repeating — with two distinct autonomous agents.
Pickle Rick: PRD-Driven Development Loop
The /pickle command runs full PRD-driven development loops that take tasks through this sequence: PRD → Breakdown → Research → Plan → Implement → Refactor. It uses isolated Morty worker subprocesses per ticket, with a stop hook that blocks Claude from exiting until the task is genuinely done.
The /pickle-tmux mode spawns a fresh claude -p per iteration to eliminate context drift on long epics. It includes PRD refinement with 3 parallel analysts and a Pickle Jar feature for batch queuing.
Mr. Meeseeks: Autonomous Code Review Loop
The /meeseeks command runs an autonomous code review loop that executes tests first on every pass, then scans with escalating focus:
- Passes 1-3: Security scanning
- Passes 4-5: Logic bug detection
- Passes 6-7: Dead code removal
- Passes 8-9: Consistency checking
- Pass 10+: Polish and refinement
Mr. Meeseeks fixes everything it finds and commits after every pass. It requires a minimum of 10 clean passes before accepting the codebase is clean and ceasing to exist.
Shared Infrastructure
Both agents use tmux with a live 3-pane dashboard showing monitor + log stream + runner log. They provide macOS notifications on completion and perform full context clearing between iterations. The project is ported from galz10's Pickle Rick Gemini CLI extension and extended significantly.
The source is available at github.com/gregorydickson/pickle-rick-claude.
📖 Read the full source: r/ClaudeAI
👀 See Also

NarrateAI MCP Server Demo Shows Claude Adding Voiceover to Videos
A live demo shows Claude using the NarrateAI MCP server to automatically narrate videos from a URL, handling async polling and generating narration by analyzing silent screen recordings.

free-claude-code adds GLM-5 support via NVIDIA NIM, expands to OpenRouter and Discord
free-claude-code now supports GLM-5 through NVIDIA NIM's free tier (40 requests/min) and adds OpenRouter integration, Discord bot support, and LMStudio local provider compatibility. The tool converts Claude Code's Anthropic API requests to work with alternative model backends.

AutoDream: 11-hook memory system for Claude Code with safety features
AutoDream is an open-source tool that adds project memory persistence and command safety to Claude Code. It uses 11 hooks across 6 events to inject context, block dangerous commands, and survive the /compact operation.

Engram: A Learning Plugin for OpenClaw That Actually Makes Knowledge Stick
Engram is an OpenClaw plugin that uses neuroscience-based techniques like pre-testing, blind grading, and FSRS-4.5 scheduling to ensure you retain what you learn, even as AI agents accelerate your shipping.