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.

Install it, pinned
mdr add coco-research/coco/m0-handoff@git:20261007.272268b

Pins 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

The exact contents, by fingerprint
mdr add coco-research/coco/m0-handoff@sha256:8b2e3b7befcce8c8

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

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_54dgse3wglowbiok.svg)](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.

versioncommittedcommitsizeaudit
git:20261007.272268b latest2026-10-07 272268b 6,822 BB view · diff
git:20260914.e75f2202026-09-14 e75f220 6,294 BB view · diff
git:20260802.e33cfc92026-08-02 e33cfc9 6,507 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from coco-research/coco

AGENTS.md AGENTS.md file
coco-research/coco · AGENTS.md
git:20261007.61dca6d · audit A · 629 stars
create-rule SKILL.md skill
coco-research/coco · adapters/cursor/skills/create-rule/SKILL.md · Create Cursor rules for persistent AI guidance. Use when the user wants to create a rule, add coding standards, set up…
git:20260426.d53cc6c · audit A · 629 stars
create-skill SKILL.md skill
coco-research/coco · adapters/cursor/skills/create-skill/SKILL.md · Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or author a…
git:20260426.d53cc6c · audit A · 629 stars
create-subagent SKILL.md skill
coco-research/coco · adapters/cursor/skills/create-subagent/SKILL.md · Create custom subagents for specialized AI tasks. Use when the user wants to create a new type of subagent, set up…
git:20260426.d53cc6c · audit A · 629 stars
migrate-to-skills SKILL.md skill
coco-research/coco · adapters/cursor/skills/migrate-to-skills/SKILL.md · Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent…
git:20260426.d53cc6c · audit A · 629 stars
update-cursor-settings SKILL.md skill
coco-research/coco · adapters/cursor/skills/update-cursor-settings/SKILL.md · Modify Cursor/VSCode user settings in settings.json. Use when the user wants to change editor settings, preferences…
git:20260426.d53cc6c · audit A · 629 stars
_selftest SKILL.md skill
coco-research/coco · evals/skills/_selftest/SKILL.md
git:20261017.31c57de · audit C · 629 stars
agent-lightning SKILL.md skill
coco-research/coco · skills/agent-lightning/SKILL.md · Train and optimize AI agents using Microsoft's Agent Lightning framework with reinforcement learning. Use when setting…
git:20260802.1479e32 · audit A · 629 stars
agent-self-eval SKILL.md skill
coco-research/coco · skills/agent-self-eval/SKILL.md · Post-run self-evaluation system that scores agent output on correctness, clarity, actionability, and conciseness. Use…
v0.1.0 · audit A · 629 stars
ai-marketing-videos SKILL.md skill
coco-research/coco · skills/ai-marketing-videos/SKILL.md · Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for…
git:20260914.57d3294 · audit A · 629 stars
ai-product SKILL.md skill
coco-research/coco · skills/ai-product/SKILL.md · Use when building AI features into a product: LLM integration, RAG pipelines, guardrails, streaming, AI UX, prompt…
v0.1.0 · audit A · 629 stars
api-design-principles SKILL.md skill
coco-research/coco · skills/api-design-principles/SKILL.md · Use when designing a new REST or GraphQL API, reviewing an API spec before implementation, setting team API standards…
git:20260914.e75f220 · audit A · 629 stars

Every file in coco-research/coco

Browse by kind, by grade B, or by owner.