handoff

handoff is a skill for Claude Code, Codex from PromptPartner/agentsmith. It costs 58 tokens per session (661 once invoked), scanned A, original, MIT.

A handoff workflow for ending a coding session with a durable note and a ready-to-paste starting brief. The note records enough context for another session to continue the work.

In plain words
What is it for?
Use it when wrapping up work, stopping between phases, running low on context, or preparing another coding session to resume a task.
Why use it?
A fresh session has no memory of the previous one, so unfinished decisions and next steps can otherwise be lost. It also checks that the working state is safe before handing over.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it when wrapping up work, stopping between phases, running low on context, or preparing another coding session to resume a task.

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

Made for: Claude Code, Codex.

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/promptpartner/agentsmith/handoff/github.svg)](https://agentmods.dev/skills/promptpartner/agentsmith/handoff)
Your own site
<a href="https://agentmods.dev/skills/promptpartner/agentsmith/handoff"><img src="https://agentmods.dev/badge/skills/promptpartner/agentsmith/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/promptpartner/agentsmith/handoff"><img src="https://agentmods.dev/badge/skills/promptpartner/agentsmith/handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 661 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.00058 $0.00661
Opus 5.5 $0.00023 $0.00264
Sonnet 5.5 $0.00012 $0.00132
Haiku 4.5 $0.00006 $0.00066

Measured 1mo ago against content hash 0bd851c8bf8f, 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 · 48 lines

How it starts

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

Handoff — memory first, then the kickoff

A fresh session has zero memory of this one; the handoff note is the only bridge. Run this whenever work winds down — even if no one asked (core/50).

When this fires

"handoff" / "wrap up" / "let's stop here" / context pressure / a closed phase / before a long external wait, merge, release, deployment, or other irreversible external gate.

Runtime neutrality

This workflow is identical in every client. Never infer the active agent from this skill's install path: portable canonical content may be copied into a required client adapter such as .claude/skills. Use “fresh chat” rather than a runtime-specific reset command so the note remains portable.

Fast path — if the Agentsmith CLI is available

  1. Run agentsmith handoff [item-id] — use .agentsmith/agentsmith on macOS/Linux or .agentsmith\\agentsmith.cmd on Windows when the command is not on PATH. It pre-fills branch/HEAD/dirty count and scaffolds .harness/handoffs/handoff-<stamp>.md with the standard sections.
  2. Fill the scaffolded sections (below), then emit the kickoff block as your final message.

Fallback — no CLI

  1. Safe state FIRST (core/50 step 1): commit or stash so nothing half-edited is lost. Never hand off a dirty tree silently.
  2. Write .harness/handoffs/handoff-<stamp>.md with these sections:
    • Recovery checkpoint — exact objective; repository/worktree; protected-state hashes; branch/commit and external identifiers; completed/skipped verification; active operation; next read-only recovery command; remaining authorized writes; stop conditions.
    • What shipped this session — with commit SHAs / PR links.
    • What is still pending.
    • Deviations / decisions made (so they're not re-litigated).
    • Exact next step — the single first action for the next session.
    • Gotchas a fresh session would otherwise re-derive.
  3. Emit a fenced "Kickoff prompt for a fresh chat" block: 3–6 sentences of self-contained prose (not bullets — they paste it straight in) covering the item id, branch + HEAD, what's done, the single next step, decisions already made, and the handoff note path.

Read the full file on GitHub · 48 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. 1mo ago Changed · +4 lines · -8 tokens per session 0bd851c8bf8f
  2. 1mo ago Changed · +1 lines 862cf162d105
  3. 1mo ago First seen · 43 lines · 66 tokens per session scan A e55adf281bf9

Subscribe to this mod's changes

handoff is a skill published in the GitHub repository PromptPartner/agentsmith (178 stars, last pushed 7d ago), licensed MIT. It adds 58 tokens to every session and 661 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.