{"id":50347487,"url":"https://github.com/mischasigtermans/claude-ralph","last_synced_at":"2026-05-29T20:01:26.719Z","repository":{"id":335090651,"uuid":"1143607348","full_name":"mischasigtermans/claude-ralph","owner":"mischasigtermans","description":"An opinionated take on the Ralph autonomous loop for Claude Code.","archived":false,"fork":false,"pushed_at":"2026-05-26T07:33:20.000Z","size":67,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-26T09:28:50.339Z","etag":null,"topics":["claude","claude-code","claude-code-plugin","ralph-loop"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mischasigtermans.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-27T19:38:51.000Z","updated_at":"2026-05-26T07:33:24.000Z","dependencies_parsed_at":"2026-01-29T03:08:46.242Z","dependency_job_id":null,"html_url":"https://github.com/mischasigtermans/claude-ralph","commit_stats":null,"previous_names":["mischasigtermans/ralph","mischasigtermans/claude-ralph"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mischasigtermans/claude-ralph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mischasigtermans%2Fclaude-ralph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mischasigtermans%2Fclaude-ralph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mischasigtermans%2Fclaude-ralph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mischasigtermans%2Fclaude-ralph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mischasigtermans","download_url":"https://codeload.github.com/mischasigtermans/claude-ralph/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mischasigtermans%2Fclaude-ralph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33668186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude","claude-code","claude-code-plugin","ralph-loop"],"created_at":"2026-05-29T20:01:25.628Z","updated_at":"2026-05-29T20:01:26.714Z","avatar_url":"https://github.com/mischasigtermans.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Claude Ralph\n\n[![Version](https://img.shields.io/badge/dynamic/json?url=https://raw.githubusercontent.com/mischasigtermans/claude-ralph/main/.claude-plugin/plugin.json\u0026query=$.version\u0026label=version\u0026prefix=v)](https://github.com/mischasigtermans/claude-ralph)\n[![License](https://img.shields.io/github/license/mischasigtermans/claude-ralph)](LICENSE)\n\nAn opinionated take on the Ralph autonomous loop for Claude Code. Describe a feature, walk away, come back to commits.\n\nThe concept comes from [Geoffrey Huntley](https://ghuntley.com/ralph/), who named it after Ralph Wiggum from The Simpsons. Ralph is the contributor who keeps showing up, picks the next thing off the list, gets it done, with a project manager looking over the work every few iterations to keep things on track.\n\n## Installation\n\n### Step 1. Install the plugin\n\n```\n/plugin marketplace add mischasigtermans/by-mischa\n/plugin install ralph@by-mischa\n```\n\n### Step 2. Install the bash script\n\n```bash\n~/.claude/plugins/cache/by-mischa/ralph/*/scripts/install.sh\n```\n\nThis symlinks `~/.local/bin/ralph` to the plugin's `ralph.sh`. Make sure `~/.local/bin` is on your `PATH`. After future plugin updates, run `ralph update` to refresh the symlink.\n\n### Requires\n\n- [Claude Code](https://docs.anthropic.com/en/docs/claude-code)\n- `jq` for JSON state management (`brew install jq` on macOS)\n- `bash` (zsh users: the script runs under `bash`)\n\n## Quick start\n\nIn Claude Code, in your project directory:\n\n```\n/ralph \"add a user dashboard with auth, profile editing, and an activity feed\"\n```\n\nThis runs a short PM interview (max three questions), writes `.ralph/brief.md`, `stories.json`, `state.json`, and picks a planner cadence. The skill never starts coding. It exits and tells you to run `ralph`.\n\nFrom a terminal in the project directory:\n\n```bash\nralph                          # foreground\nnohup ralph \u0026                  # detached, output to nohup.out\ntmux new -s ralph 'ralph'      # in a tmux session\nralph --max-iter 20            # cap at 20 iterations\n```\n\nMonitor with `ralph status` or `ralph tail`. Stop with `ralph stop`. The loop runs as a separate process and does not need Claude Code to stay open.\n\n## Features\n\n- Prose brief, not a ticket list. Every iteration loads `.ralph/brief.md` as plan-time context.\n- Two-agent loop: Sonnet builder every iteration, Opus planner every Nth.\n- State files (`state.json`, `progress.txt`, `learnings.txt`), not log scraping.\n- Per-iteration logs with cost, stop reason, and session ID captured.\n- Subcommands: `ralph status`, `ralph stop`, `ralph tail`, `ralph update`.\n- Auto-migration from 0.x `.ralph/` directories on first run.\n\n## Documentation\n\n- [Architecture](docs/architecture.md): what makes this Ralph different, how the loop works, when to intervene.\n- [The brief](docs/brief.md): contract format and an example.\n- [Commands and configuration](docs/commands.md): subcommands and environment variables.\n- [State files](docs/state.md): the `.ralph/` layout.\n- [Migration from 0.x](docs/migration.md): upgrading older projects.\n\n## Related\n\n- [Geoffrey Huntley's original Ralph post](https://ghuntley.com/ralph/): the concept.\n- [snarktank/ralph](https://github.com/snarktank/ralph): Ryan Carson's full implementation.\n- [Blog post on the v1 setup](https://mischa.sigtermans.me/my-simplified-ralph-loop-setup-for-claude-code).\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## Credits\n\n- [Mischa Sigtermans](https://mischa.sigtermans.me)\n- Concept: [Geoffrey Huntley](https://ghuntley.com/ralph/)\n\n## License\n\nMIT. See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmischasigtermans%2Fclaude-ralph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmischasigtermans%2Fclaude-ralph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmischasigtermans%2Fclaude-ralph/lists"}