sw-handoff

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

A handoff skill that creates a short, portable record of unfinished work, including the relevant task state and uncommitted changes. It removes secrets and includes instructions for resuming on another tool or machine.

In plain words
What is it for?
Use it when switching agents, machines, or sessions, or when running out of context; it releases your task claims and writes a handoff document and diff.
Why use it?
It prevents work from being lost when a session ends or moves elsewhere. The next agent can use the saved summary and diff to continue from the actual project state.

Skill for Claude Code

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

Good fit Use it when switching agents, machines, or sessions, or when running out of context; it releases your task claims and writes a handoff document and diff.

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

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 sw-handoff

README.md
[![agentmods](https://agentmods.dev/badge/skills/anton-abyzov/specweave/sw-handoff/github.svg)](https://agentmods.dev/skills/anton-abyzov/specweave/sw-handoff)
Your own site
<a href="https://agentmods.dev/skills/anton-abyzov/specweave/sw-handoff"><img src="https://agentmods.dev/badge/skills/anton-abyzov/specweave/sw-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 sw-handoff

Your own site · 80×15
<a href="https://agentmods.dev/skills/anton-abyzov/specweave/sw-handoff"><img src="https://agentmods.dev/badge/skills/anton-abyzov/specweave/sw-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 2,009 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 pass 7 Sept 2026
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.02009
Opus 5.5 $0.00020 $0.00804
Sonnet 5.5 $0.00010 $0.00402
Haiku 4.5 $0.00005 $0.00201

Measured today against content hash 311a42468831, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sw-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 today.

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/sw-handoff/SKILL.md · 144 lines

How it starts

The opening of the file, as written. The whole thing — 144 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 every nested checkout (repositories/<org>/<repo> or any folder up to three levels down with its own .git, and their 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 · 144 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. today Changed · +3 lines 311a42468831
  2. 3d ago Changed 3e2481b5e347
  3. 7d ago Changed · +8 lines f7e77db4108a
  4. 11d ago Changed 3bd59c6e46a3
  5. 16d ago Changed · +14 lines 4200b9f04f4e
  6. 17d ago Changed · -1 lines 54894abce553
  7. 18d ago Changed · +8 lines 9f97b3ef86c7
  8. 23d ago Changed · +37 lines · +5 tokens per session bc2d671c9f44
  9. 1mo ago Changed · -60 lines · -2 tokens per session 35c73e35a00c
  10. 1mo ago First seen · 135 lines · 48 tokens per session scan A fdb862b32387

Subscribe to this mod's changes

sw-handoff is a skill published in the GitHub repository anton-abyzov/specweave (169 stars, last pushed yesterday), licensed MIT. It adds 51 tokens to every session and 2,009 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.