Skip to content
Back to skills

Handoff

ASecurity

Use when work needs to survive losing context, before a /clear on a long task, when pausing something unfinished, when handing over to a teammate or the next session, when the context window is filling up on multi-day work, or when a long multi-step task starts re-covering ground it already finished. Not the project's decision history across weeks: that's `roadmap`.

  • 23 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 8, 2026
ai-agentsrustgogit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 8, 2026

npx -y skills add mehrad-dm/mastermind --skill handoff --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Handoff?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Handoff
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mehrad-dm-handoff/badge)](https://www.skillsdirectory.com/skills/mehrad-dm-handoff)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: handoff
description: "Use when work needs to survive losing context, before a /clear on a long task, when pausing something unfinished, when handing over to a teammate or the next session, when the context window is filling up on multi-day work, or when a long multi-step task starts re-covering ground it already finished. Not the project's decision history across weeks: that's `roadmap`."
---

# MasterMind: Handoff

Context is the fundamental constraint (`~/.mastermind/engineering/core/agent-loop.md`); a long task shouldn't lose its thread to a
reset. Capture just enough to resume cold: high signal, low tokens.

## Capture

1. **Goal**: the outcome being built, in one line.
2. **State**: Done / In-progress / Next, as a short checklist. Be honest about what's *not* verified.
3. **Key decisions & why**: the non-obvious choices and their rationale (so they aren't relitigated).
4. **Map**: where the relevant code/files/config live; the entry points.
5. **Gotchas**: traps, failing things, env quirks, anything that bit you.
6. **How to resume & verify**: the exact command(s)/check to pick up and confirm green.

## Rules
Summarize and link, point to detail rather than pasting it. Never copy a secret, token, key or
customer record into a handoff: name where it lives instead. Write it where the next session
will look: `.mastermind/HANDOFF.md`, or the issue when the team tracks work there. Prune it when the work completes.

## Output
A tight `.mastermind/HANDOFF.md`: goal, state checklist, decisions, file map, gotchas, resume+verify steps.

## The ledger: for work that outlives one context window

A handoff is written once, at the pause. A **ledger** runs the whole way through: an append-only record
of what has actually been completed, so a long task can lose its thread without losing its place. Start
one when the work will be summarized more than once.

- **First line names the work**: the plan, spec, or issue it belongs to. A ledger nobody can match to
  a plan is a page of orphaned sentences.
- **Append one line as each step completes**: what was done, and the check that proved it. **Earlier
  entries are never rewritten or tidied:** it is a record of what happened, not a plan of what will.
- **Conversation memory does not survive compaction: trust the ledger and the git log over your own
  recollection**, most of all when you feel certain. Re-doing finished steps is the costliest failure in
  long-horizon work, and it always arrives wearing *"I remember doing that."* Read the record, then act.

Same instinct as the episodic journal appended at each verdict (`~/.mastermind/engineering/core/rigor.md`),
one level down: the journal spans tasks, the ledger spans steps inside one.

Files in this skill

  • ABOUT.md4.7 KB
  • SKILL.md2.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.