handoff

handoff is a skill for Claude Code from anton-abyzov/specweave. It costs 51 tokens per session (1,983 once invoked), scanned A, original, MIT.

A handoff document generator that records durable work state in a short, portable file and removes secrets from the handoff. It is meant to help another AI tool or computer continue the work.

In plain words
What is it for?
Use it when changing tools or machines, running low on context, or pausing work that another agent must resume.
Why use it?
It avoids relying on a previous agent's conversation history, which another tool cannot read. The next agent can use the recorded progress, decisions, files, and pending tasks.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code; mentions Codex.

Part of the sw plugin — 11 skills, 1 agent, 2 hooks shipped together

Good fit Use it when changing tools or machines, running low on context, or pausing work that another agent must resume.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anton-abyzov/specweave/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 anton-abyzov/specweave --skill handoff
Clone the repo
git clone --depth 1 https://github.com/anton-abyzov/specweave

Made for: Claude Code.

Or install sw, the plugin that ships this one along with the rest of its 11 skills, 1 agent, 2 hooks.

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/anton-abyzov/specweave/handoff/github.svg)](https://agentmods.dev/skills/anton-abyzov/specweave/handoff)
Your own site
<a href="https://agentmods.dev/skills/anton-abyzov/specweave/handoff"><img src="https://agentmods.dev/badge/skills/anton-abyzov/specweave/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/anton-abyzov/specweave/handoff"><img src="https://agentmods.dev/badge/skills/anton-abyzov/specweave/handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,983 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 31
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 41
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium MCP Rug Pull · line 41
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00051 $0.01983
Opus 5.5 $0.00020 $0.00793
Sonnet 5.5 $0.00010 $0.00397
Haiku 4.5 $0.00005 $0.00198

Measured 3d ago against content hash f67c9350dcc7, 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 3d 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/specweave/skills/handoff/SKILL.md · 142 lines

How it starts

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

sw-handoff: "hand off" here, "pick up" there

The user should never have to copy a prompt. Two words each way.

Hand off

When the user says "hand off", "handoff", "I'm out of tokens", "switching to Codex" or "switching accounts", run:

specweave handoff --reason "<their words>"

It releases your task claims, records the handoff in the ledger, writes handoff.md next to the increment, pushes the branch, and pushes a snapshot of your uncommitted edits to the specweave-handoff branch (and wip/<branch>). Your working tree, index and branch are untouched. Relay its two or three lines as they are, then tell the user: say "pick up" in the other tool.

Before handing off, make sure your last task claim / task done carried --line (the card text) and, for done work, --link (PR, report or artifact); the next agent reads the checklist, not your transcript.

Add --next "<exact next step>", --gotcha "..." or --decision "..." only for what the files cannot tell the next agent. No Git remote and another machine: --inline prints a prompt to paste instead. --no-push keeps it local.

Hand off everything (switching accounts with many threads)

When the user switches accounts or tools with several increments in flight ("hand off all", "switching subscriptions"), run:

specweave handoff --all --reason "<their words>"

It writes .specweave/handoffs/<date>-INDEX.md and index.json: one row per active increment (tasks done/total, open ACs, last activity, what it waits on, a paste-ready resume prompt) and, in an umbrella workspace, every checkout under repositories/<org>/<repo> (and its worktrees) with uncommitted files, unpushed commits or a branch with no remote, with its open PR when gh is installed. It is read-only toward everything else: no claims released, nothing committed or pushed in the umbrella or the nested repos. Commit and push the local-only work it lists, or say so in your reply. --dry-run prints the index without writing it.

Read the full file on GitHub · 142 lines

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. 3d ago Changed · +8 lines f67c9350dcc7
  2. 7d ago Changed 080446b27b46
  3. 12d ago Changed · +14 lines 78bf1802be59
  4. 13d ago Changed · -1 lines 0be8e7f7364b
  5. 14d ago Changed · +8 lines 56e034920647
  6. 19d ago Changed · +37 lines · +5 tokens per session 411d063b9dd8
  7. 27d ago Changed · +34 lines · +2 tokens per session 42a03b6bca7f
  8. 1mo ago First seen · 42 lines · 44 tokens per session scan A f1f0fd1a35f3

Subscribe to this mod's changes

handoff is a skill published in the GitHub repository anton-abyzov/specweave (167 stars, last pushed today), licensed MIT. It adds 51 tokens to every session and 1,983 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-09-03.