Skip to content
Back to skills

Handoff

ASecurity

The schema every handoff follows — a session's HANDOFF.md and an agent's .claude/handoffs/<task-id>.md. Load before writing or rewriting a handoff, when asked for one, and when a "Context rollover:" message arrives.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
ai-agentsgogit

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add MichaelP17/claude-mods --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/michaelp17-handoff/badge)](https://www.skillsdirectory.com/skills/michaelp17-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: The schema every handoff follows — a session's HANDOFF.md and an agent's .claude/handoffs/<task-id>.md. Load before writing or rewriting a handoff, when asked for one, and when a "Context rollover:" message arrives.
---

A handoff lets a fresh context continue without asking anything. Write it from what this context already knows; read nothing extra except what a field needs, such as `git rev-parse --short HEAD` for `commit`. Write it in one go.

## Where

- A session's handoff: `HANDOFF.md` at the repository root. Every new one replaces the old one.
- An agent's handoff on a rollover: `.claude/handoffs/<task-id>.md`. Commit it with the agent's `wip/` work; the commit that finishes the task deletes it.

## Schema

Quoted from `docs/orchestration.md` in claude-mods, the single source; `context-rollover` refuses a write that breaks it.

```handoff
---
date: 2026-11-02
branch: wip/settings-language-picker
commit: 77b0e4d
task: T3.2.1
model: sonnet-medium
context: 121400
reason: soft
---

## Goal
Settings screen with a language picker (docs/ROADMAP.md, T3.2.1).

## Done
3f2a91c picker component and its tests; 77b0e4d wired into the settings screen.

## Next step
Add the picker's strings to every locale file, then run `npm run check`.

## Remaining
- [ ] Strings in all locale files
- [ ] Simulator check of switching languages

## Decisions
- The language list comes from the locale files, so a new locale needs no code change.

## Rejected
- A native picker: it ignores the app's theme in dark mode.

## Traps
- `npm run check` fails with `TS2307: Cannot find module '@/i18n'` until the dev server has generated the types once.

## Read first
- app/settings/LanguagePicker.tsx
- app/i18n/index.ts
```

- Frontmatter: `date`, `branch` and `commit` (the short hash of `HEAD` when written) always; `task`, `model` (the rung), `context` (tokens) and `reason` for an agent's handoff.
- `reason`: `soft`, `hard`, `runaway`, `escalation` or `manual`.
- Sections in this order: Goal, Done, Next step, Remaining, Decisions, Rejected, Traps, Read first. Goal and Next step are required; a section with nothing to say is left out, never filled with `none`.
- Decisions and Rejected carry their reasons. Traps quote errors exactly.
- Nothing that can be re-read from the code, the roadmap or `git log`.
- At most 800 tokens, checked as 3,200 characters including the frontmatter.

## What makes it good

- **Next step** is one action the next context can start on at once, with the exact command or file.
- The user's requirements and corrections that are not written down anywhere else go into Decisions, quoted word for word.
- A session's handoff in a repository that keeps a roadmap points at the task id instead of restating it.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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