session-handoff SKILL.md skillA

session-handoff from hanzhangzzz/agent-skills-zh is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add hanzhangzzz/agent-skills-zh/session-handoff@git:20261029.701fb99

Pins git:20261029.701fb99 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
hanzhangzzz/agent-skills-zh
Path
session-handoff/SKILL.md
Versions recorded
1
Latest version
git:20261029.701fb99, committed Oct 29, 2026
Size
6,821 bytes
Repository stars
1
License
MIT

跨 session 续接任务,Claude Code 与 Codex 通用。save:把目标、状态、用户裁决原话、下一步、关键路径、验证情况写成交接文件,按仓库身份(规范化的 git origin)存放,目录改名后仍找得到,同一任务覆盖更新;resume:列出当前仓库与全局最近的交接文件,读选中那份、复述后接着干;find:在 Claude Code 与 Codex 的会话记录里按关键词、旧目录名或仓库 origin 找回 session,给出恢复命令。用户说 save、存一下、交接、续接、接着上次、上次做到哪、找回 session、上个 session 在干啥、resume 不回来、我之前说过 时使用。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# session-handoff

会话会断(上下文用完、换工具、换目录),任务不能断。交接文件存在 `~/.claude/handoffs/<仓库键>/<任务名>.md`,Claude Code 和 Codex 读写同一处。

- **仓库键**:有 git origin 就用规范化后的 origin(如 `gitlab.example.com/group/repo`,协议、用户名、端口、`.git` 都去掉),所以目录改名、换 worktree 都还是同一个键;没有 origin 用 `local/<主检出目录名>`。
- 脚本只给路径、只读会话记录;交接文件的内容由你来写。

脚本:`scripts/handoff.py`(本 SKILL.md 所在目录下,只用 Python 3 标准库)。下文的 `HANDOFF` 指 `python3 <本 skill 目录>/scripts/handoff.py`。

| 用户说 | 做什么 |
|---|---|
| save、存一下、交接 | [save](#save) |
| 接着上次、续接、上次做到哪 | [resume](#resume) |
| 找回 session、上个 session 在干啥、resume 不回来、我之前说过(但没有交接文件) | [find](#find) |

## save

1. 在任务目录里运行 `HANDOFF path [--task <任务名>]`。在任务分支上可省略 `--task`,脚本取分支名(去掉 `task/` 等前缀);在 main/master 上必须给任务名,用短而稳定的名字,下次续写用同一个。
2. 输出「已存在:是」时,先读旧文件再在它上面更新:保留全部旧裁决,状态、下一步、路径改成最新。同一任务只有一份文件,不另建。
3. 用下面的模板写入。只写这六节;不贴对话流水和大段日志;已在 PR、文档、提交里的内容给路径或链接。

```markdown
# <任务名>

## 目标
<一句话>

## 状态
完成度 <X%>(口径:<按什么算>)。<停在哪一步,卡在什么>

## 用户裁决
- <YYYY-MM-DD>「<用户原话>」——<约束了什么>

## 下一步
1. <可直接执行的步骤:命令、文件、要改的点>

## 关键路径
- 仓库:<origin> · worktree:<路径> · 分支:<名>
- PR/MR:<链接>
- 产物:<路径>

## 验证
- 已验证:<命令 → 结果>
- 未验证:<项 → 怎么验>
```

4. 回报文件路径,并告诉用户下次怎么续:在新 session(Claude Code 或 Codex 都行)里说「接着上次」。

### 用户裁决当场落盘
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add hanzhangzzz/agent-skills-zh/session-handoff@sha256:14e542f4c5e7a61b

The line at the top of this page pins the label git:20261029.701fb99, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ehyn7tdgc2r5hxhk.svg)](https://markdownregistry.com/a/art_ehyn7tdgc2r5hxhk)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 29, 2026.

versioncommittedcommitsizeaudit
git:20261029.701fb99 latest2026-10-29 701fb99 6,821 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6821 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

hanzhangzzz/agent-skills-zh · 1 stars · license MIT · pushed 2026-10-29 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ehyn7tdgc2r5hxhk
GET https://markdownregistry.com/api/v1/resolve?ref=hanzhangzzz/agent-skills-zh/session-handoff
GET https://markdownregistry.com/api/v1/blob/14e542f4c5e7a61b10f7221938ee0cb3ab33758a3bd1112e175a22d99062e794

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from hanzhangzzz/agent-skills-zh

AGENTS.md AGENTS.md file
hanzhangzzz/agent-skills-zh · AGENTS.md
git:20260908.c2a51c6 · audit A · 1 stars
CLAUDE.md CLAUDE.md file
hanzhangzzz/agent-skills-zh · CLAUDE.md
git:20260908.c2a51c6 · audit B · 1 stars
agent-chrome SKILL.md skill
hanzhangzzz/agent-skills-zh · agent-chrome/SKILL.md · 本机 AI 浏览器自动化的统一 Chrome 启动器与约定:每个登录态一个 profile(~/.chrome-profiles/<站点>-<别名>),用正式版 Google Chrome 在固定 CDP 端口上…
git:20261028.d40f720 · audit B · 1 stars
audio-inbox SKILL.md skill
hanzhangzzz/agent-skills-zh · audio-inbox/SKILL.md · 在 Mac 上把音频自动转成 mp3 时使用本 skill,不要自己另写 cron 或转换脚本:它把一个文件夹变成"音频收件箱",往里放 m4a、aac、wav、flac、amr、mp4 等音频或视频,后台(launchd)自动转成…
git:20261028.e8906f2 · audit A · 1 stars
ci-review SKILL.md skill
hanzhangzzz/agent-skills-zh · ci-review/SKILL.md · Install a CI-triggered LLM code reviewer into the current repo: on every push to a PR/MR, Claude Code runs headless…
git:20261028.7206195 · audit A · 1 stars
do-something SKILL.md skill
hanzhangzzz/agent-skills-zh · do-something/SKILL.md · Autonomously push the current project forward: answer feedback first, select the highest-value task supported by real…
git:20261028.bd6709d · audit A · 1 stars
doc-reader SKILL.md skill
hanzhangzzz/agent-skills-zh · doc-reader/SKILL.md · Translate an English technical article (web URL) or a local PDF into accurate Chinese, section by section with…
git:20260904.c21f62b · audit A · 1 stars
gpt-image2-prompt-director SKILL.md skill
hanzhangzzz/agent-skills-zh · gpt-image2-prompt-director/SKILL.md · Turn a weak idea into a high-impact GPT image2 (gpt-image-2) generation brief: prompt director workflows, idea…
git:20260901.4d9bf39 · audit A · 1 stars
harness SKILL.md skill
hanzhangzzz/agent-skills-zh · harness/SKILL.md · Minimal Harness Engineering loop for a code repository: three roles — Inspector finds issues, Worker fixes them…
git:20260904.cb78277 · audit A · 1 stars
hkr-render SKILL.md skill
hanzhangzzz/agent-skills-zh · hkr-render/SKILL.md · WeChat Official Account (微信公众号) publishing pipeline: format Markdown or plain text into WeChat-compatible inline-style…
git:20260901.4d9bf39 · audit A · 1 stars
hook-test-kit SKILL.md skill
hanzhangzzz/agent-skills-zh · hook-test-kit/SKILL.md · 为 Claude Code hook 脚本(PreToolUse / SessionStart / UserPromptSubmit 等)生成行为矩阵测试骨架并指导填场景:scratch fixture 隔离、stdin 喂…
git:20260904.5bc92eb · audit A · 1 stars
launch-video SKILL.md skill
hanzhangzzz/agent-skills-zh · launch-video/SKILL.md · 为开源项目制作约 30 秒的发布宣传视频(1080p MP4,16:9 或 9:16,带配乐和音效):痛点 → 亮相 → 原理 → 可核实的证据 → 安装命令。先按项目、渠道和受众从 30 种视觉风格(扁平动态图形、动态排版、等轴…
git:20261028.efd4ad0 · audit A · 1 stars

Every file in hanzhangzzz/agent-skills-zh

Other files named session-handoff

session-handoff SKILL.md skill
rohitg00/pro-workflow · skills/session-handoff/SKILL.md · Generate a structured handoff document capturing current progress, open tasks, key decisions, and context needed to…
git:20260718.7f7209d · audit A · 2,944 stars
session-handoff SKILL.md skill
sethgammon/citadel · skills/session-handoff/SKILL.md · Synthesizes the current session into a structured HANDOFF block for context transfer between sessions. Captures what…
git:20261016.924151c · audit A · 927 stars
session-handoff SKILL.md skill
onewave-ai/claude-skills · session-handoff/SKILL.md · Use when a working session is ending, the context window is nearly full, work needs to pass to a teammate or a fresh…
git:20260920.97b5147 · audit A · 421 stars
session-handoff SKILL.md skill
athola/claude-night-market · plugins/memory-palace/skills/session-handoff/SKILL.md · Decompose a session into typed handoff units and recall them later. Use when ending a session or resuming work whose…
git:20260902.4a35d69 · audit A · 348 stars
session-handoff SKILL.md skill
ai-analyst-lab/ai-analyst · .claude/skills/session-handoff/SKILL.md · Preserve critical state when a session approaches context limits so the next session can pick up seamlessly. Use this…
git:20260902.b370de6 · audit A · 322 stars
session-handoff SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-governance/skills/session-handoff/SKILL.md · Produces structured markdown session continuation documents for multi-session workflows. Captures active work streams…
v6.0.0 · audit A · 40 stars
session-handoff SKILL.md skill
hive-academy/ptahcode · .claude/skills/session-handoff/SKILL.md · Wrap up this session and continue in a fresh one: finish the current step, write HANDOFF.md, then open a new Ptah…
git:20261107.05d3bb1 · audit A · 34 stars
session-handoff SKILL.md skill
aktsmm/agent-skills · session-handoff/SKILL.md · Create a compact handoff note for another session. Use for セッションを閉じる, 引き継ぎを作る, 伝言を作る, create/export a handoff, or…
git:20261026.133d3e3 · audit A · 26 stars

Browse by kind, by grade A, or by owner.