duet-agent: Skill for Claude Code

.agents/skills/handoff-spec/SKILL.md

handoff-spec is a skill for Claude Code from dzhng/duet-agent. It costs 19 tokens per session (319 once invoked), scanned A, a copy of handoff-spec, Apache-2.0.

A procedure for documenting unfinished work so another coding agent or computer can continue it without the original conversation or local memory.

In plain words
What is it for?
It records completed and incomplete work, the next step, decisions, known problems, uncommitted changes, and other handoff details in the project specification.
Why use it?
It prevents decisions, unfinished steps, failures, and machine-specific details from being lost when work changes hands.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is dzhng/duet-agent's own configuration. It tells Claude Code how to work on duet-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything duet-agent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dzhng/duet-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dzhng/duet-agent/main/.agents/skills/handoff-spec/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dzhng/duet-agent

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-spec

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dzhng/duet-agent/handoff-spec"><img src="https://agentmods.dev/badge/skills/dzhng/duet-agent/handoff-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 319 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 100% copy Near-identical to another mod 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.00019 $0.00319
Opus 5.5 $0.00008 $0.00128
Sonnet 5.5 $0.00004 $0.00064
Haiku 4.5 $0.00002 $0.00032

Measured 25d ago against content hash e902beff153a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

handoff-spec 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 25d 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.

Origin

This is a copy

100% identical to handoff-spec — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/handoff-spec/SKILL.md · 32 lines

What it actually says

Handoff Spec

I'm moving this spec's work to another machine or another agent. The next session starts cold: it has the repository and nothing else. It has none of this conversation, none of this machine's files and none of your memory. Leave the spec so that session can carry on as if it had been here.

Collect what this session knows and the spec doesn't yet say, from the discussion and from the work itself, and put it in the spec:

  • what is done, what is half-done and exactly where it stopped, and what is next;
  • what I decided or corrected along the way, and how I want the work done;
  • calls you made where I was silent, and anything still waiting on me;
  • what is known to be broken or unverified, with what you already found out about it;
  • anything that lives only on this machine and the next session needs: unpushed branches, uncommitted work, scratch results worth keeping.

Write it into the spec's own handoff, in place: the spec stays one current account, not a transcript with a new note on top. Then push, so everything the spec points at exists on the remote.

Done when a fresh agent, given only the repository, would pick the same next step you would, and would not repeat a question I've already answered.

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. 25d ago First seen · 32 lines · 19 tokens per session scan A e902beff153a

Subscribe to this mod's changes

handoff-spec is a skill published in the GitHub repository dzhng/duet-agent (52 stars, last pushed 7d ago), licensed Apache-2.0. It adds 19 tokens to every session and 319 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to handoff-spec, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories