handoff

handoff is a skill for Claude Code, Codex from IT-HUSET/andthen. It costs 44 tokens per session (886 once invoked), scanned A, original, MIT.

A workflow for turning the current conversation into a short handoff document that another agent can continue from.

In plain words
What is it for?
Use it before clearing a session, when context is nearly full, or when passing unfinished work to a fresh agent.
Why use it?
It preserves the relevant work and context when the conversation is cleared, runs low on available context, or reaches a session boundary.

Skill for Claude CodeCodex

Written for Claude Code and Codex: argument-hint in frontmatter, but also agents/openai.yaml present.

Part of the andthen plugin — 21 skills shipped together

Good fit Use it before clearing a session, when context is nearly full, or when passing unfinished work to a fresh agent.

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

Made for: Claude Code, Codex.

Or install andthen, the plugin that ships this one along with the rest of its 21 skills.

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/it-huset/andthen/handoff/github.svg)](https://agentmods.dev/skills/it-huset/andthen/handoff)
Your own site
<a href="https://agentmods.dev/skills/it-huset/andthen/handoff"><img src="https://agentmods.dev/badge/skills/it-huset/andthen/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/it-huset/andthen/handoff"><img src="https://agentmods.dev/badge/skills/it-huset/andthen/handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 886 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.00044 $0.00886
Opus 5.5 $0.00018 $0.00354
Sonnet 5.5 $0.00009 $0.00177
Haiku 4.5 $0.00004 $0.00089

Measured 29d ago against content hash b79b343b6e06, 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 29d 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.

plugin/skills/handoff/SKILL.md · 83 lines

How it starts

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

Hand Off Conversation to a Fresh Session

Route the session's durable fragments to their homes, then write the document a fresh agent resumes from cold.

Input

$ARGUMENTS is the optional focus for the next session (FOCUS).

Rules

  • Print each recommended skill invocation as a complete, paste-ready line in the host's syntax, including its target path or request and required arguments.

  • Reference, don't duplicate. Point to artifacts named in the Project Document Index by path; the next session reads them directly.

  • Redact secrets; omit when unsure. Tokens, keys, credentials, PII, and shell output that may carry them become [REDACTED:<kind>], or the entry is dropped, because .agent_temp/ is not private.

  • No per-mutation confirmation. Keep every write idempotent.

  • Compress to what changes the next session's decisions.

Workflow

1. Triage by durability. Bin each substantive fragment. Ends with every fragment in a bin.

Bin Examples Where it goes
Defensive knowledge "Watch out for X", error → root cause patterns, tooling gotchas with clear scope One bullet under the fitting topic of the Learnings document, admitted against its header note; uncertain entries stay as recommendations
Settled load-bearing choice A decision taken with no real alternative – no trade-off left to weigh, no ADR warranted Recommend one bullet under the Decisions document's Still Current – do not auto-write
Structural decision needing rationale "We chose X over Y because…" with real trade-offs and consequences Recommend the andthen:decide skill – do not auto-create the ADR
Transient context Open questions, hypotheses, things tried, failed approaches, a story blocked or stopped mid-way, next-session priming The handoff doc itself

2. Apply durable mutations. Write the Learnings bullets Step 1 admitted, creating the document per the Index preamble when it does not exist. Ends with every admitted entry a written bullet.

Read the full file on GitHub · 83 lines

Files

What ships with it

1 file 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. 29d ago Changed · -27 lines · -4 tokens per session b79b343b6e06
  2. 3mo ago First seen · 110 lines · 48 tokens per session scan A 7ddb9d87fd34

Subscribe to this mod's changes

handoff is a skill published in the GitHub repository IT-HUSET/andthen (4 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 886 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-31.

Related

handoff compared with skills from other repositories

handoff next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
handoffIT-HUSET/andthenSkill4todayMITA44Claude Code, Codex
knowledge-ingestopenclaw/openclawSkill396ktodayMITA80Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A0Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70ktodayApache-2.0A217Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k16d agoMITA184Claude Code
ha-data-storesshiwenwen/hope-agentSkill1.9ktodayMITA115Claude Code, Codex
memoryopensquilla/opensquillaSkill7.2k8d agoApache-2.0A44Claude Code, Codex