create-rule
Create Cursor rules for persistent AI guidance. Use when the user wants to create a rule, add coding standards, set up project…
Use when the user says 'm0', 'm0 status', 'start m0', 'cross-tool memory', 'operational thread', or 'where is my memory stored', or when the M0 daemon or MCP wiring needs attention.
Claude Code
$ npx -y skills add coco-research/coco --skill m0 --agent claude-code
Codex
$ npx skills add coco-research/coco --skill m0 -a codex -y
Cursor
$ npx skills add coco-research/coco --skill m0 -a cursor -y
Gemini CLI
$ npx skills add coco-research/coco --skill m0 -a gemini-cli -y
GitHub Copilot
$ npx skills add coco-research/coco --skill m0 -a github-copilot -y
OpenCode
$ npx skills add coco-research/coco --skill m0 -a opencode -y
Windsurf
$ npx skills add coco-research/coco --skill m0 -a windsurf -y
name: m0 description: "Use when the user says 'm0', 'm0 status', 'start m0', 'cross-tool memory', 'operational thread', or 'where is my memory stored', or when the M0 daemon or MCP wiring needs attention."
M0 keeps one local *operational thread* per project: what was done, what was verified, what is next. Any tool can write to it and read it back, so a session that starts cold can continue work another tool began.
The live M0 is the Rust daemon `coco-m0d`, serving `127.0.0.1:8000` under the launchd job `com.coco.m0-backend`. The write path is `/m0-remember`, the read path is `/m0-recall`, and the session handoff flow is `/m0-handoff`.
The token is read from ~/.coco/m0-token on each call; never print it.
M0="${COCO_M0_URL:-http://127.0.0.1:8000}" # daemon base URL
# Is it up? (health needs no token)
curl -s "$M0/api/health"
# Is the launchd job loaded?
launchctl list | grep com.coco.m0-backend
# Everything else needs the token, for example the recent thread:
curl -s -H "Authorization: Bearer $(cat ~/.coco/m0-token)" \
"$M0/api/brain/thread?project=my-project&limit=5"There is no offline path: if the daemon is down, say so and stop; do not write anywhere else.
M0="${COCO_M0_URL:-http://127.0.0.1:8000}"
curl -s "$M0/api/health"
launchctl list | grep com.coco.m0-backendReport to the user, in this order:
1. **Daemon** — reachable at `$M0` or not. 2. **launchd** — whether the job `com.coco.m0-backend` is loaded and running.
If either is missing, tell the user and stop. Do not work around it.
The daemon runs under launchd; if it is down, tell the user and stop (restarts and deploys are the owner's).
The daemon's MCP binary `coco-platform-mcp` exposes one tool, `m0`, with modes `recall`, `context`, `wip`, `handoff`, and `remember`. Call it directly — it is the lowest-friction way to make memory habitual.
curl -s "$M0/api/health"
A healthy response means the daemon is serving. Quote the output rather than summarising it.
Nothing. The daemon binds to loopback, there are no outbound calls in the request path and no telemetry. Text fields are capped at 400 characters and redacted by the daemon before storage.
elsewhere, before asking the user to repeat context.
verified.
M0 answers "where were we and what is next". For deeper knowledge-graph retrieval see the comparison with the cognee bundle in `systems/m0/README.md` before choosing.
495 personas across 13 departments, 229 skills[^installed] and 388 commands in the full catalog (coco 1.9.0, 2026-10-21). Agent skills, slash commands and subagents for Claude Code, Cursor, Codex and other AI coding agents.
Create Cursor rules for persistent AI guidance. Use when the user wants to create a rule, add coding standards, set up project…
Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or author a new skill,…
Create custom subagents for specialized AI tasks. Use when the user wants to create a new type of subagent, set up task-specific…
Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills…
Modify Cursor/VSCode user settings in settings.json. Use when the user wants to change editor settings, preferences,…
Train and optimize AI agents using Microsoft's Agent Lightning framework with reinforcement learning. Use when setting up agent…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.