session-handoff

session-handoff is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 121 tokens per session (1,050 once invoked), scanned A, original, Apache-2.0.

A local tool that turns an unfinished work session into a Markdown handoff document. It records the goal, completed work, ordered next steps, known pitfalls, important file paths, and ways to verify the work.

In plain words
What is it for?
Use it when pausing a long coding task, changing agents, or handing work to a teammate. It helps create a one-page summary and a fuller restart guide.
Why use it?
A new agent or teammate otherwise has to reconstruct what happened and guess what is safe to do next. The handoff preserves that context without relying on the old conversation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/make_handoff.py --title "P1 Domain Fix" --goal "Fix three-way domain inconsistency" \.

Good fit Use it when pausing a long coding task, changing agents, or handing work to a teammate. It helps create a one-page summary and a fuller restart guide.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit
agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/session-handoff

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/session-handoff"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/session-handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,050 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.00121 $0.01050
Opus 5.5 $0.00048 $0.00420
Sonnet 5.5 $0.00024 $0.00210
Haiku 4.5 $0.00012 $0.00105

Measured 2mo ago against content hash 4f52b0297500, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

session-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 2mo 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.

site/skills/meta/session-handoff/SKILL.md · 99 lines

How it starts

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

Session Handoff (Long-Session Cold-Start Handoff)

Compress a half-finished long session into a handoff doc that the next agent can pick up with zero context. Adapted from mattpocock/skills' handoff concept, trimmed to an offline Markdown generator + a "one-page cheat sheet" skeleton.

Core judgment: the handoff receiver's biggest cost isn't reading code—it's "guessing where you got to, what's stuck, which pitfalls to avoid." This skill makes these three things explicit: next steps (ordered), known pitfalls / don't repeat, key file paths.

Red lines: default dry-run prints preview; --write saves; zero network, zero credentials.

Input Checklist

Input Required Notes
Goal yes Original intent (why this work started)
Done yes What was done, how far
Next steps yes Ordered TODOs
Known pitfalls strongly recommended Pitfalls hit / detours not to repeat
Key files recommended --file can be repeated with paths
Run/verify method recommended How the receiver runs it, how to verify

Structured input can also go via --input handoff.json (fields: title/done/next/gotchas/files/repo/verify/blocker), takes priority over same-name CLI args.

Pre-flight Checks

  1. Are "next steps" executable in order (not empty words like "continue")?
  2. Are "known pitfalls" specific enough to avoid (not "be careful not to err")?
  3. Do key files give paths rather than "some file"?

Workflow

# 1. Dry run: preview handoff doc
python3 scripts/make_handoff.py --title "P1 Domain Fix" --goal "Fix three-way domain inconsistency" \
  --done "git mv 5 skills; build 143→145" --next "Add CHANGELOG; run validate" \
  --gotcha "Python r''' in heredoc collides with shell EOF" --file skills/ --repo awesome-skillkit

# 2. Write to disk (same args as the dry run above, plus --write)
python3 scripts/make_handoff.py --title "P1 Domain Fix" --goal "Fix three-way domain inconsistency" \
  --done "git mv 5 skills; build 143→145" --next "Add CHANGELOG; run validate" \
  --gotcha "Python r''' in heredoc collides with shell EOF" --file skills/ --repo awesome-skillkit \
  --write -o handoff.md

# 3. Via JSON structured input
python3 scripts/make_handoff.py --input handoff.json --write -o handoff.md

Read the full file on GitHub · 99 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. 2mo ago Changed · +10 lines · -8 tokens per session 4f52b0297500
  2. 2mo ago First seen · 89 lines · 129 tokens per session scan A 5d26f6fe6e89

Subscribe to this mod's changes

session-handoff is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 121 tokens to every session and 1,050 once invoked, about $0.0005 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-23.

Related

session-handoff compared with skills from other repositories

session-handoff next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
session-handoffMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A121Claude Code, Codex
mem0-vercel-ai-sdkmem0ai/mem0Skill70k3d agoApache-2.0A146Claude Code, Codex
mempalace-recallMemPalace/mempalaceSkill61k3d agoMITA94Claude Code
pausemem0ai/mem0Skill70k3d agoApache-2.0A30Claude Code
mineMemPalace/mempalaceSkill61k3d agoMITA21Claude Code
agent-carnetyamadashy/repomixSkill30kyesterdayMITA67Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k3d agoApache-2.0A217Claude Code, Codex