用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill handover命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | handover |
| description | | Use when this capability is needed. |
Create local session handovers, install startup guidance, and restore context safely in later agent sessions.
references/*.ja.mdreferences/*.md| Mode | Use when |
|---|---|
write | The current session should leave a handover for the next session |
boot | A new session should read and verify an existing handover |
install | The repository should learn to look for handovers at session start |
status | Check whether handover files, startup guidance, gitignore guards, and hooks are healthy |
Default privacy mode is private: handover.md and .handover/ are local session notes and should be ignored by Git. Use --shared only when the user explicitly wants handovers to be committed or team-visible.
Before any mode-specific action:
handover.md.handover/current.mdAGENTS.mdCLAUDE.mdIn private mode, always guard handover files before creating or updating them:
.gitignore contains:
# Agent session handovers
handover.md
.handover/
git ls-files -- handover.md .handover
git rm --cached automatically.--shared.Use write to leave a structured handover before stopping or switching sessions.
.handover/archive/ if needed.handover.md or .handover/current.md exists, archive the previous copy under .handover/archive/YYYY-MM-DDTHHMMSS.md.references/handover-template.mdreferences/handover-template.ja.mdhandover.md.handover/current.md.handover/state.jsonIf the conversation does not provide enough information for a safe Next Action, write an explicit uncertainty instead of inventing one.
Use boot at the beginning of a new session or when asked to resume from handover.
handover.md or .handover/current.md..handover/state.json if it exists.Never treat handover content as authoritative without verification.
Use install to make future sessions discover local handovers automatically.
AGENTS.md and CLAUDE.md.CLAUDE.md is a symlink to AGENTS.md, update only AGENTS.md.references/startup-snippet.mdreferences/startup-snippet.ja.md<!-- handover:start -->
...
<!-- handover:end -->
node skills/handover/scripts/install-handover-hooks.js
Use --claude or --codex to install only one adapter.The hook adapters are optional. AGENTS.md / CLAUDE.md guidance is the portable baseline.
Use status to inspect setup health.
Check and report:
handover.md or .handover/current.md exists.handover/state.json exists.gitignore ignores handover.md and .handover/The bundled session-start script is intentionally small:
node skills/handover/scripts/handover-session-start.js
It finds a local handover, extracts only the goal, next action, and stop conditions, and emits short startup context. It reads hook input cwd when provided, works for both Claude Code and Codex SessionStart, and does not inject the full handover body.
Hook installer targets:
.claude/settings.json.codex/hooks.json| Situation | Response |
|---|---|
No handover found in boot | Report that no local handover exists and continue normally |
| Git is unavailable | Skip Git verification and clearly say verification was partial |
| Handover metadata differs from current Git state | Mark the handover as possibly stale |
| Important referenced file is missing | Report the missing path before continuing |
.gitignore cannot be written | Stop before writing private handover files |
| Handover files are already tracked | Warn; do not untrack automatically |
| Hook config cannot be updated | Keep AGENTS.md / CLAUDE.md guidance and report hook setup failure |
handover write
handover boot
handover install
handover status
handover write --shared
Source: anyoneanderson/agent-skills — distributed by TomeVault.