by frankbria
Autonomous AI development loop for Claude Code with intelligent exit detection
# Add to your Claude Code skills
git clone https://github.com/frankbria/ralph-claude-codeGuides for using ai agents skills like ralph-claude-code.
Last scanned: 11/28/2026
{
"issues": [
{
"file": "README.md",
"line": 270,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -sL https://raw.githubusercontent.com/frankbria/ralph-claude-code/main/unin\"",
"severity": "low"
}
],
"status": "PASSED",
"scannedAt": "2026-11-28T21:18:44.487Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}ralph-claude-code is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by frankbria. Autonomous AI development loop for Claude Code with intelligent exit detection. It has 9,742 GitHub stars.
Yes. ralph-claude-code passed AgentsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/frankbria/ralph-claude-code" and add it to your Claude Code skills directory (see the Installation section above).
ralph-claude-code is primarily written in Shell. It is open-source under frankbria on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ralph-claude-code against similar tools.
No comments yet. Be the first to share your thoughts!
Autonomous AI development loop with intelligent exit detection and rate limiting
[!IMPORTANT] Ralph is becoming a companion to Claude Code's native
/goal. Claude Code now keeps working toward a goal on its own; what it doesn't do is keep the context fresh. Ralph's next version is a plugin that rotates context at safe points and rehydrates each fresh session with a handoff and a context packet. See the vision in #367.The bash loop documented below is Ralph Classic (v1.x). It stays available and receives bug and security fixes on the
release/1.xbranch, but no new features. Pin it withgit checkout v1.0.0.
Ralph is an implementation of the Geoffrey Huntley's technique for Claude Code that enables continuous autonomous development cycles he named after Ralph Wiggum. It enables continuous autonomous development cycles where Claude Code iteratively improves your project until completion, with built-in safeguards to prevent infinite loops and API overuse.
Install once, use everywhere - Ralph becomes a global command available in any directory.
Version: v0.11.5 - Active Development Core Features: Working and tested Test Coverage: 784 tests, 100% pass rate
--resume flag for context preservation (no session hijacking)--output-format, --allowed-tools, --no-continueralph-enable wizard.ralphrc configuration file for project settings--live flag for real-time Claude Code visibilityralph.log rotates at 10MB, keeping 4 archived files--dry-run) to simulate loops without API callsralph-stats analytics command (JSON Lines per-loop metrics)--notify) for key loop events (macOS/Linux/terminal-bell)--backup) with --rollback restoreralph-import --github-issue plus metadata filters (labels, title, assignee, milestone, state) with first/interactive/priority selection and --dry-run previewUnreleased - Security: .ralphrc is parsed as data (#346)
.ralphrc is no longer executed with source: only KEY=VALUE lines for known keys are applied, with literal values. Shell syntax ($VAR, $(...), chained commands) is rejected with a warning — breaking for .ralphrc files that relied on itCLAUDE_CODE_CMD, RALPH_SHELL_INIT_FILE, SANDBOX_DOCKER_IMAGE, SANDBOX_E2B_TEMPLATE and SANDBOX_DOCKER_NETWORK (no host) accept only stock values from .ralphrc; set custom values as environment variables (or --sandbox-* flags). Applies to ralph, ralph-import and ralph-queue. See docs/CLI_OPTIONS.mdv0.11.5 - Community Bug Fixes (latest)
rate_limit_event) → filtered text fallback${,,} lowercase substitution replaced with POSIX tr (#187)v0.11.4 - Bug Fixes & Compatibility
[2026-01-29] no longer counted as checkboxes (#144)--resume <session_id> instead of --continue (#151)STATUS: COMPLETE with EXIT_SIGNAL: false now continues working (#146)--print flag for non-interactive mode)base-index configurationsv0.11.3 - Live Streaming & Beads Fix
--live flag for real-time Claude Code visibility (#125)bd list arguments (#150)v0.11.2 - Setup Permissions Fix
ralph-setup now creates .ralphrc with consistent tool permissionsALLOWED_TOOLS to include Edit, Bash(npm *), and Bash(pytest)ralph-setup and ralph-enable now create identical .ralphrc configurationsv0.11.1 - Completion Indicators Fix
completion_indicators now only accumulates when EXIT_SIGNAL: truev0.11.0 - Ralph Enable Wizard
ralph-enable interactive wizard for enabling Ralph in existing projectsralph-enable-ci non-interactive version for CI/automationenable_core.sh, wizard_utils.sh, task_sources.shv0.10.1 - Bug Fixes & Monitor Path Corrections
ralph_monitor.sh hardcoded paths for v0.10.0 compatibilityv0.10.0 - .ralph/ Subfolder Structure (BREAKING CHANGE)
.ralph/ subfoldersrc/, README.md, and user files remainralph-migrate command for upgrading existing projectsv0.9.9 - EXIT_SIGNAL Gate & Uninstall Script
EXIT_SIGNAL: trueuninstall.sh script for clean Ralph removalv0.9.8 - Modern CLI for PRD Import
ralph_import.sh to use Claude Code CLI JSON output formatv0.9.7 - Session Lifecycle Management
--reset-session CLI flag for manual session resetv0.9.6 - JSON Output & Session Management
parse_json_response() to support Claude Code CLI JSON formatv0.9.5 - v0.9.0 - PRD import tests, project setup tests, installation tests, prompt file fix, modern CLI commands, circuit breaker enhancements
claude so any headless coding CLI (Codex, Gemini, OpenCode, Droid, Kilocode, Copilot) can drive the loop (multi-provider epic; see also the agent adapter contract)Timeline to v1.0: final polish underway | Full roadmap | Contributions welcome!