m0-handoff SKILL.md skillB
m0-handoff from coco-research/coco is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add coco-research/coco/m0-handoff@git:20261007.272268bPins git:20261007.272268b in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- coco-research/coco
- Path
systems/m0/skills/m0-handoff/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261007.272268b, committed Oct 7, 2026
- First version recorded
- Aug 2, 2026
- Size
- 6,822 bytes
- Repository stars
- 629
- License
- Apache-2.0
Use when the user says m0 handoff, before I compact, end of session, save session state, resume where we left off, or continue in Cursor or Claude Code. Writes or reads a compact_checkpoint so a cold start becomes a continuation.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# /m0-handoff — Hand Off and Resume
Two halves of one flow:
- **Hand off** — write STATE.md, the checkpoint file, and a `compact_checkpoint`
that a session with no other context could act on.
- **Resume** — read STATE.md first, then the latest checkpoint, and continue, in
this tool or another.
This is what M0 exists for. Everything else in the bundle supports it.
The token is read from ~/.coco/m0-token on each call; never print it.
## Quick Reference
```bash
M0="${COCO_M0_URL:-http://127.0.0.1:8000}"
PROJECT="${M0_PROJECT:-$(basename "$PWD")}"
# Hand off (step 3 of 3; STATE.md and the checkpoint file come first)
curl -s -X POST "$M0/api/brain/checkpoint" \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $(cat ~/.coco/m0-token)" \
-d "$(python3 - <<'PY'
import json, os, subprocess
def git(*a):
try: return subprocess.check_output(("git",)+a, text=True, stderr=subprocess.DEVNULL).strip()
except Exception: return None
print(json.dumps({
"project": os.environ.get("M0_PROJECT") or os.path.basename(os.getcwd()),
"kind": "compact_checkpoint",
"source_tool": "claude_code",
"session_id": os.environ.get("CLAUDE_CODE_SESSION_ID"),
…Read the whole file at its exact version.
How to install
mdr add coco-research/coco/m0-handoff@sha256:8b2e3b7befcce8c8The line at the top of this page pins the label git:20261007.272268b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_54dgse3wglowbiok)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Aug 2, 2026 and Oct 7, 2026, about one every 33 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261007.272268b latest | 2026-10-07 | 272268b | 6,822 B | B | view · diff |
| git:20260914.e75f220 | 2026-09-14 | e75f220 | 6,294 B | B | view · diff |
| git:20260802.e33cfc9 | 2026-08-02 | e33cfc9 | 6,507 B | B | view |
Audit of the latest version
- fail: No link to a raw IP address (matched: http://127.0.0.1:8000)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6822 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
coco-research/coco · 629 stars · license Apache-2.0 · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_54dgse3wglowbiok GET https://markdownregistry.com/api/v1/resolve?ref=coco-research/coco/m0-handoff GET https://markdownregistry.com/api/v1/blob/8b2e3b7befcce8c8a05c4b14017906e74916fb2561d3a89ee10a7f9223759f05
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.