Skip to content
Development
Skill

/m0

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.

From plugin
coco
631200 skills53 agents42 commands3 hooks

Claude Code

$ npx -y skills add coco-research/coco --skill m0 --agent claude-code

SKILL.md

m0.SKILL.md
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 — Cross-Tool Agent Memory

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.

Quick Reference

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.

Sub-commands

/m0 status — is memory working

M0="${COCO_M0_URL:-http://127.0.0.1:8000}"
curl -s "$M0/api/health"
launchctl list | grep com.coco.m0-backend

Report 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.

/m0 start — you do not start it

The daemon runs under launchd; if it is down, tell the user and stop (restarts and deploys are the owner's).

/m0 mcp — the MCP tool

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.

/m0 verify — prove it works

curl -s "$M0/api/health"

A healthy response means the daemon is serving. Quote the output rather than summarising it.

/m0 privacy — what leaves the machine

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.

When to reach for this

  • **Use `/m0-recall`** at the start of a session, or when picking up work started

elsewhere, before asking the user to repeat context.

  • **Use `/m0-remember`** after a step lands, a decision is made, or something is

verified.

  • **Use `/m0-handoff`** before context is compacted or a session ends.
  • **Use `/m0` (this skill)** for the plumbing: daemon, token, wiring.

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.

Read more
@coco-research
Ships withcoco

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.

631200 skills53 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
631
Star history of coco-research/coco on GitHub, a chart by star-history.com

Other skills on coco.

create-rule

create-rule

Create Cursor rules for persistent AI guidance. Use when the user wants to create a rule, add coding standards, set up project…

@coco-research@coco-researchInstall Skill
create-skill

create-skill

Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or author a new skill,…

@coco-research@coco-researchInstall Skill
create-subagent

create-subagent

Create custom subagents for specialized AI tasks. Use when the user wants to create a new type of subagent, set up task-specific…

@coco-research@coco-researchInstall Skill
migrate-to-skills

migrate-to-skills

Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills…

@coco-research@coco-researchInstall Skill
agent-lightning

agent-lightning

Train and optimize AI agents using Microsoft's Agent Lightning framework with reinforcement learning. Use when setting up agent…

@coco-research@coco-researchInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about m0.

Which coding agents can use m0?
m0 installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.