handoff

handoff is a skill for Claude Code from nicknisi/claude-plugins. It costs 89 tokens per session (528 once invoked), scanned A, original, MIT.

A session-ending note that captures the important context of unfinished coding work so another agent or later session can continue it.

In plain words
What is it for?
Use it when pausing work, handing a task to another agent, or saving context for later. It creates a short handoff document at a temporary file path.
Why use it?
It prevents the next agent from having to rediscover the goal, decisions, changed files, and failed approaches.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the essentials plugin — 6 skills, 4 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nicknisi/claude-plugins/handoff
Any agent
npx skills add nicknisi/claude-plugins --skill handoff
Clone the repo
git clone --depth 1 https://github.com/nicknisi/claude-plugins

Made for: Claude Code.

Or install essentials, the plugin that ships this one along with the rest of its 6 skills, 4 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for handoff

README.md
[![agentmods](https://agentmods.dev/badge/skills/nicknisi/claude-plugins/handoff.svg)](https://agentmods.dev/skills/nicknisi/claude-plugins/handoff)
Your own site
<a href="https://agentmods.dev/skills/nicknisi/claude-plugins/handoff"><img src="https://agentmods.dev/badge/skills/nicknisi/claude-plugins/handoff.svg" alt="Measured on agentmods" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 528 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00089 $0.00528
Opus 5 $0.00044 $0.00264
Sonnet 5 $0.00018 $0.00106
Haiku 4.5 $0.00009 $0.00053

Measured 6d ago against content hash 932b1a7f6d66, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

handoff scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/essentials/skills/handoff/SKILL.md · 38 lines

What it actually says

Write a handoff document that lets a fresh agent continue this work without re-deriving any context. Save it to a path produced by f=$(mktemp "${TMPDIR:-/tmp}handoff-XXXXXXXX") && mv "$f" "$f.md" && echo "$f.md" (read the file before you write to it).

If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.

What to capture

The goal is compression, not transcription. A good handoff is under 200 lines and gives the next agent everything it needs to start working immediately.

Include these sections (skip any that don't apply):

Goal — What the user is trying to accomplish, in one or two sentences. Include the "why" if it's not obvious from the task itself.

Current state — Where things stand right now: branch name, what's been built/changed, what works, what doesn't. Be specific — file paths, function names, test results.

Decisions made — Choices that were made during this session and their rationale. The next agent shouldn't re-litigate settled questions.

What failed / dead ends — Approaches that were tried and abandoned, and why. This prevents the next agent from repeating mistakes.

Open questions / blockers — Anything unresolved that needs the user's input or further investigation.

Next steps — Concrete actions for the next session, ordered by priority.

Suggested skills — Include a "suggested skills" section in the document, which suggests skills that the agent should invoke.

What NOT to include

Do not duplicate content already captured in other artifacts — PRDs, plans, ADRs, issues, commits, diffs. Reference them by path or URL instead. The handoff supplements the commit history; it doesn't replace it.

Do not include verbatim code blocks unless they're critical context that isn't committed anywhere (e.g., a snippet the user pasted that informed a design choice).

Do not rehash the full conversation. Distill it.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 38 lines · 89 tokens per session scan A 932b1a7f6d66

Subscribe to this mod's changes

handoff is a skill published in the GitHub repository nicknisi/claude-plugins (114 stars, last pushed 26d ago), licensed MIT. It adds 89 tokens to every session and 528 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

agent-memory

../../../engineering/agent-memory/skills/agent-memory/SKILL.md.

alirezarezvani/claude-skills · 0 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens