{"id":49098644,"url":"https://github.com/onmyway133/cmon","last_synced_at":"2026-04-20T22:11:53.951Z","repository":{"id":349525773,"uuid":"1202624983","full_name":"onmyway133/cmon","owner":"onmyway133","description":"🛥️ Keep Claude Code run indefinitely","archived":false,"fork":false,"pushed_at":"2026-04-06T10:26:51.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-06T12:18:19.439Z","etag":null,"topics":["claude-code","hook","ralph","stop"],"latest_commit_sha":null,"homepage":"https://onmyway133.com","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onmyway133.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-04-06T08:16:12.000Z","updated_at":"2026-04-06T10:26:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/onmyway133/cmon","commit_stats":null,"previous_names":["onmyway133/cmon"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/onmyway133/cmon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmyway133%2Fcmon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmyway133%2Fcmon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmyway133%2Fcmon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmyway133%2Fcmon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onmyway133","download_url":"https://codeload.github.com/onmyway133/cmon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmyway133%2Fcmon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32067806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T21:26:33.338Z","status":"ssl_error","status_checked_at":"2026-04-20T21:26:22.081Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-code","hook","ralph","stop"],"created_at":"2026-04-20T22:11:53.306Z","updated_at":"2026-04-20T22:11:53.941Z","avatar_url":"https://github.com/onmyway133.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cmon\n\nAutonomous in-session loop for Claude Code. Keeps Claude working on a task until it's truly done — no stopping early.\n\n```\n/cmon fix all failing tests --max 20\n```\n\n## How It Works\n\nUses Claude Code's Stop hook to intercept session exit. Each time Claude tries to stop, the hook checks whether `\u003cdone/\u003e` was output. If not, it re-injects the task with accumulated progress context and Claude keeps going.\n\nClaude signals genuine completion by outputting `\u003cdone/\u003e` as the very last line — only when the task is fully done and verified.\n\n## Installation\n\n**Via skills:**\n\n```bash\nnpx skills add onmyway133/cmon\n```\n\n**Via marketplace:**\n\n```bash\nclaude plugin marketplace add onmyway133/cmon\n```\n\nThen install the plugin:\n\n```\n/plugin install cmon@onmyway133\n```\n\nRestart Claude Code to activate.\n\n## Commands\n\n### `/cmon TASK [--max N]`\n\nStart the autonomous loop.\n\n```\n/cmon fix all failing tests\n/cmon implement the auth feature --max 15\n/cmon refactor the database layer --max 30\n```\n\nOptions:\n- `--max N` — maximum iterations before auto-stop (default: 25, `0` = unlimited)\n\n### `/cancel-cmon`\n\nStop an active loop immediately.\n\n## Progress Tracking\n\nClaude writes iteration summaries to `.cmon-progress.md` in the working directory. Each new iteration receives the last 50 lines of this file as context, so Claude always knows what was done and what remains.\n\nOn successful completion (i.e. `\u003cdone/\u003e` detected), `.cmon-progress.md` is deleted automatically. If the loop exhausts its iteration limit, the file is kept for inspection.\n\n## Project Context File\n\nCreate `.cmon.md` in your project root to give Claude standing instructions that are included in every iteration:\n\n```markdown\n# .cmon.md\nStack: Swift + SwiftUI + SwiftData\nTest: xcodebuild test -scheme MyApp\nCommit after each logical unit of work.\nNever modify migration files.\n```\n\nBoth `.cmon.md` and `.cmon-progress.md` are gitignored — they're runtime files, not source.\n\n## Comparison with ralph-loop\n\n| | ralph-loop | cmon |\n|---|---|---|\n| Completion signal | `\u003cpromise\u003eCUSTOM TEXT\u003c/promise\u003e` | `\u003cdone/\u003e` — always the same |\n| Context each iteration | Same original prompt | Task + accumulated progress |\n| Default max iterations | unlimited | 25 |\n| Cancel command | `/cancel-ralph` | `/cancel-cmon` |\n\ncmon is designed to be simpler to invoke and smarter about continuation — each iteration knows what previous iterations accomplished.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonmyway133%2Fcmon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonmyway133%2Fcmon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonmyway133%2Fcmon/lists"}