handoff

handoff is a skill for Claude Code from REMvisual/claude-handoff. It costs 39 tokens per session (3,420 once invoked), scanned A, original, MIT.

A workflow for creating a structured handoff document when a coding session is pausing or running low on context.

In plain words
What is it for?
It is for creating and validating a detailed session handoff, including project state, related files, and information mined from the conversation.
Why use it?
It records decisions, evidence, file changes, and unfinished work so another session can continue without reconstructing everything.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions CLAUDE.md; mentions Claude Code.

Good fit It is for creating and validating a detailed session handoff, including project state, related files, and information mined from the conversation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/remvisual/claude-handoff/handoff
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.

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

Made for: Claude Code.

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/remvisual/claude-handoff/handoff/github.svg)](https://agentmods.dev/skills/remvisual/claude-handoff/handoff)
Your own site
<a href="https://agentmods.dev/skills/remvisual/claude-handoff/handoff"><img src="https://agentmods.dev/badge/skills/remvisual/claude-handoff/handoff/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for handoff

Your own site · 80×15
<a href="https://agentmods.dev/skills/remvisual/claude-handoff/handoff"><img src="https://agentmods.dev/badge/skills/remvisual/claude-handoff/handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,420 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00039 $0.03420
Opus 5.5 $0.00016 $0.01368
Sonnet 5.5 $0.00008 $0.00684
Haiku 4.5 $0.00004 $0.00342

Measured 1mo ago against content hash 855aeff71f2d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

skills/handoff/SKILL.md · 246 lines

How it starts

The opening of the file, as written. The whole thing — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Session Handoff

Guards:

  • Not plan mode. This skill writes files. If in Claude Code plan mode, exit first.
  • Not shadowing. NEVER generate handoff-like documents freeform. Freeform summaries look right but lack chain tracking, self-validation, and evidence mining. Only this skill produces handoffs.
  • Not when discussing. Only run when the user explicitly asks to CREATE a handoff right now. If ambiguous ("what does handoff do", "edit the handoff file"), ask first.

Typical use: ~75% context. You have a lot of conversation to mine — extract maximum value before closing. On 1M context that's ~750K tokens of history.

The user should not need to provide anything — /handoff alone is sufficient.

Arguments: $ARGUMENTS

Compact mode

If $ARGUMENTS contains the word compact-mode, the compact-handoff mod started this run. It replaces the conversation with this handoff when your turn ends, so the turn must finish with nothing pending:

  • Run Steps 1-6 exactly as normal. context={N}k in $ARGUMENTS is the session's size as Claude Code measured it: choose the mining pass from it. Anything else in $ARGUMENTS is the framing hint. Compact mode shortens only the ending: the mining pass, its reference, the line minimum, Phase 2 and the Length check apply in full, and matter more, because the conversation is deleted after this turn. The mod counts the lines itself and won't compact a handoff under its pass minimum.
  • Step 7: one line only (file path, the Length check line, chain seq). The compaction replaces this turn seconds later, so a full report is wasted output.
  • Ask nothing in this turn. Where a step says to ask (e.g. Tier B "Any doubt"), take its stated default and note the choice in the handoff.
  • Step 8: don't ask. Follow the Yes flow in references/close-session.md (append ## Session Closed, commit, print the paste prompt), skipping its step 4.
  • Print the paste prompt block exactly as the template has it: the PASTE THIS INTO YOUR NEXT SESSION: header, the dashed rules, the (seq {N}, {chain_tag}) line and the onboarding steps. The mod sends that block as the next prompt word for word. Never shorten it to one line, even when you reused or restored an existing handoff instead of writing a new one.
  • End your turn with this exact last line, path relative to the repo root: COMPACT-HANDOFF-READY: {handoff path}
  • If no handoff file could be written, end with COMPACT-HANDOFF-FAILED: {reason} instead. The mod then leaves the context untouched.

Read the full file on GitHub · 246 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed 855aeff71f2d
  2. 1mo ago Changed · +8 lines 48160663d2f5
  3. 1mo ago Changed · +1 lines 1f019f0df7a4
  4. 1mo ago Changed · +12 lines 5ab38c55d547
  5. 3mo ago First seen · 225 lines · 39 tokens per session scan A 21945d447752

Subscribe to this mod's changes

handoff is a skill published in the GitHub repository REMvisual/claude-handoff (89 stars, last pushed 23d ago), licensed MIT. It adds 39 tokens to every session and 3,420 once invoked, about $0.0002 per session on Opus 5.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

handoff compared with skills from other repositories

handoff next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
handoffREMvisual/claude-handoffSkill8923d agoMITA39Claude Code
chief-of-staffalirezarezvani/claude-skillsSkill31kyesterdayMITA43Claude Code
context-enginealirezarezvani/claude-skillsSkill31kyesterdayMITA50Claude Code
founder-coachalirezarezvani/claude-skillsSkill31kyesterdayMITA41Claude Code
cs-onboardalirezarezvani/claude-skillsSkill31kyesterdayMITA47Claude Code
chief-ai-officer-advisoralirezarezvani/claude-skillsSkill31kyesterdayMITA64Claude Code
contract-and-proposal-writeralirezarezvani/claude-skillsSkill31kyesterdayMITA47Claude Code