handoff

A session handoff guide for turning the current conversation into a short document that another coding agent can continue from. It is intended for cases where the user explicitly asks for a handoff.

In plain words
What is it for?
Use it to create a timestamped handoff file containing the background, progress, pending work, relevant skills, and necessary project context.
Why use it?
It prevents the next agent from having to reconstruct the task, completed work, current status, and remaining steps from the full conversation.

Skill for Claude CodeCodex

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/codex-settings/handoff
Any agent
npx skills add feiskyer/codex-settings --skill handoff
Clone the repo
git clone --depth 1 https://github.com/feiskyer/codex-settings

Made for: Claude Code, Codex.

Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 410 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.00058 $0.00410
Opus 5 $0.00029 $0.00205
Sonnet 5 $0.00012 $0.00082
Haiku 4.5 $0.00006 $0.00041

Measured 2d ago against content hash 77078aeaa531, 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 2d 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 · 29 lines

What it actually says

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

输出位置

先解析当前平台的系统临时目录,再保存为 handoff-YYYY-MM-DD-HHMM.md(用实际时间戳替换)。优先使用平台 API,例如 Python 的 tempfile.gettempdir();在 Unix 环境可使用 $TMPDIR,未设置时回退到 /tmp。生成后告知用户完整绝对路径。

文档结构

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

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

规则

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

Subscribe to this mod's changes

handoff is a skill published in the GitHub repository feiskyer/codex-settings (236 stars, last pushed 20d ago), licensed MIT. It adds 58 tokens to every session and 410 once invoked, about $0.0003 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

skill-creator

Create, refine, and benchmark agent skills. Use when building a new skill, updating an existing one, running evals, checking trigger quality, or improving a skill description.

feiskyer/claude-code-settings · 39 tokens

deep-research

Multi-agent research orchestration: split a research goal into parallel sub-goals, run each via headless claude -p subprocesses, aggregate results into a polished report file. Use for systematic web/document research, competitive or industry analysis, batch link/dataset processing, and long-form evidence synthesis.…

feiskyer/claude-code-settings · 94 tokens

github-review-pr

Review GitHub pull requests with detailed, multi-perspective code analysis using parallel subagents. Use this skill whenever the user wants to review a PR, asks for code review on a pull request, mentions "review PR", "check this PR", "look at pull request", or references a PR number or GitHub PR URL. Do NOT use for…

feiskyer/claude-code-settings · 90 tokens

brainstorming

Explore user intent, requirements, and design options through collaborative dialogue before implementation. Use before building new features, components, or systems — whenever the user describes something to build and design decisions are involved. Triggers: "brainstorm", "help me design", "think through the…

feiskyer/claude-code-settings · 93 tokens

grill-me

针对方案或设计的高强度追问式面试(adversarial design review / grill session),暴露假设漏洞与缺失约束,过程中同步维护领域模型(术语表和 ADR)。手动调用 /grill-me。.

feiskyer/claude-code-settings · 58 tokens

gpt-image-skill

Generate or edit images using OpenAI GPT Image API (gpt-image-2, gpt-image-1, etc). Use ONLY when the user explicitly names OpenAI or GPT as the provider: "gpt image", "openai image", "generate image with openai", "用 openai 画图", "用 GPT 生成图片". For generic image requests without a provider, use nanobanana-skill instead.…

feiskyer/claude-code-settings · 115 tokens