handoff

A session handoff tool that turns the current conversation into a document for another coding agent to continue from.

In plain words
What is it for?
It helps create structured handoff notes with references to files or URLs, current status, next steps, suggested skills, and redacted sensitive information.
Why use it?
It preserves the task's background, progress, pending work, and important context when a conversation is ending or losing context.

Skill for Claude CodeCodex

Part of the claude-code-settings plugin — 12 skills, 9 agents, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/feiskyer/claude-code-settings/handoff
Any agent
npx skills add feiskyer/claude-code-settings --skill handoff
Clone the repo
git clone --depth 1 https://github.com/feiskyer/claude-code-settings

Made for: Claude Code, Codex.

Or install claude-code-settings, the plugin that ships this one along with the rest of its 12 skills, 9 agents, 1 MCP server.

Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 372 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00039 $0.00372
Opus 5 $0.00019 $0.00186
Sonnet 5 $0.00008 $0.00074
Haiku 4.5 $0.00004 $0.00037

Measured 3d ago against content hash d73804228f97, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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 · 31 lines

What it actually says

撰写一份交接文档,总结当前对话内容,使全新的 agent 能够无缝继续工作。

输出位置

保存到 $TMPDIR/handoff-YYYY-MM-DD-HHMM.md(用实际时间戳替换)。生成后告知用户完整路径。

文档结构

按以下结构组织交接文档:

  1. 背景与目标 — 一句话概述当前任务
  2. 已完成工作 — 带路径/URL 引用
  3. 当前状态 — 进展到哪一步、卡在哪里
  4. 待办事项 — 下一个 agent 需要做什么
  5. 推荐技能 — 建议调用的 skill 列表
  6. 关键上下文 — 环境、分支、配置等必要信息

规则

  • 不要重复已存在于其他产物(规格文档、计划、ADR、issue、commit、diff)中的内容,改为通过路径或 URL 引用。
  • 脱敏处理:删除 API key、密码、个人身份信息等敏感内容。
  • 如果用户传入了参数,将其视为下一次会话的重点方向,据此调整文档内容。
  • 如果当前对话极短(少于 3 轮实质交流),直接告知用户无需生成交接文档,除非用户坚持。
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. 3d ago First seen · 31 lines · 39 tokens per session scan A d73804228f97

Subscribe to this mod's changes

handoff is a skill published in the GitHub repository feiskyer/claude-code-settings (1,644 stars, last pushed 20d ago), licensed MIT. It adds 39 tokens to every session and 372 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

github-review-pr

Review GitHub pull requests with evidence-backed, multi-perspective analysis and false-positive filtering. Use when the user asks to review, inspect, or check a GitHub pull request by number or URL. Default to reporting findings locally; publish comments, submit reviews, or approve only when the user explicitly…

feiskyer/codex-settings · 80 tokens

brainstorming

在构建新功能、创建新组件或设计新系统之前使用。通过协作对话探索用户意图、需求和设计方案,再进入实现阶段。当用户描述想要构建的东西且涉及设计决策时触发——不用于 bug 修复、配置变更或实现路径显而易见的任务。.

feiskyer/codex-settings · 75 tokens

claude-skill

Use when work should be delegated to Claude Code CLI, especially headless claude -p runs, automation scripts, CI jobs, resumable sessions, or requests to use Claude/Claude Code for a task.

feiskyer/codex-settings · 49 tokens

nanobanana-skill

Generate, remix, or edit images with Nanobanana / Nano Banana 2 through the bundled Gemini CLI wrapper. Use this whenever the user wants AI image generation or editing, especially for reference-image composition, character consistency, grounded visuals that may need live web search, style transfer, marketing graphics…

feiskyer/codex-settings · 107 tokens

gpt-image-skill

Generate or edit images using OpenAI GPT Image API (gpt-image-2, gpt-image-1, etc). Triggers: "gpt image", "openai image", "generate image with openai", "draw image", "create image", "image generation", "AI drawing", "图片生成", "AI绘图", "生成图片", "画图". Use this skill whenever the user wants to generate or edit images and…

feiskyer/codex-settings · 112 tokens

deep-research

深度调研的多实例(多 Agent)编排工作流:把一个调研目标拆成可并行子目标,用 Codex CLI 子进程采集和分析证据,再聚合、核验并精修为完整报告。用于系统性网页或资料调研、竞品与行业分析、批量链接或数据集分片、长文证据整合,以及用户提及深度调研、Deep Research、Wide Research、多 Agent 并行调研或多进程调研的场景。.

feiskyer/codex-settings · 119 tokens