npx claudepluginhub onmyway133/cmonAutonomous in-session loop — keeps Claude working until the task is truly done. Output <done/> to complete.
Autonomous in-session loop for Claude Code. Keeps Claude working on a task until it's truly done — no stopping early.
/cmon fix all failing tests --max 20
Uses Claude Code's Stop hook to intercept session exit. Each time Claude tries to stop, the hook checks whether <done/> was output. If not, it re-injects the task with accumulated progress context and Claude keeps going.
Claude signals genuine completion by outputting <done/> as the very last line — only when the task is fully done and verified.
Via skills:
npx skills add onmyway133/cmon
Via marketplace:
claude plugin marketplace add onmyway133/cmon
Then install the plugin:
/plugin install cmon@onmyway133
Restart Claude Code to activate.
/cmon TASK [--max N]Start the autonomous loop.
/cmon fix all failing tests
/cmon implement the auth feature --max 15
/cmon refactor the database layer --max 30
Options:
--max N — maximum iterations before auto-stop (default: 25, 0 = unlimited)/cancel-cmonStop an active loop immediately.
Claude 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.
On successful completion (i.e. <done/> detected), .cmon-progress.md is deleted automatically. If the loop exhausts its iteration limit, the file is kept for inspection.
Create .cmon.md in your project root to give Claude standing instructions that are included in every iteration:
# .cmon.md
Stack: Swift + SwiftUI + SwiftData
Test: xcodebuild test -scheme MyApp
Commit after each logical unit of work.
Never modify migration files.
Both .cmon.md and .cmon-progress.md are gitignored — they're runtime files, not source.
| ralph-loop | cmon | |
|---|---|---|
| Completion signal | <promise>CUSTOM TEXT</promise> | <done/> — always the same |
| Context each iteration | Same original prompt | Task + accumulated progress |
| Default max iterations | unlimited | 25 |
| Cancel command | /cancel-ralph | /cancel-cmon |
cmon is designed to be simpler to invoke and smarter about continuation — each iteration knows what previous iterations accomplished.
MIT
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.