跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
其他技能

handoff

Compact the current conversation into a handoff document for another agent to pick up.

KrishP147 · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add KrishP147/skills --skill handoff

技能说明


name: handoff description: Compact the current conversation into a handoff document for another agent to pick up. argument-hint: "What will the next session be used for?" disable-model-invocation: true

Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save it in the repo under skilleddocs/handoffs/<YYYY-MM-DD>-<slug>.md (create the directory; local date, not UTC; slug = 2-4 kebab-case words for the focus (from the argument if given, else the topic)). If there is no repo or git working tree, fall back to the OS temporary directory. A repo's AGENTS.md / CLAUDE.md may prescribe a different folder or filename prefix; follow it. Commit it or not per TRACKING.md.

In a repo, record in the document the branch (detached HEAD: "detached at ", warning that its commits are on no branch until git switch -c <name>), the base SHA (git merge-base <default> HEAD; <default> per the TRACKING.md above; on <default> itself that is HEAD, an empty range, so use git merge-base @{u} HEAD (no upstream: origin/<default>) when it differs from HEAD, else the parent of the session's first commit, and say which) and the head SHA, so a verifier knows the range to check, plus git status --short when the tree is dirty (that work isn't in the range).

Include a "suggested skills" section in the document, naming which skills the next agent should call the Skill tool for.

Do not duplicate content already captured in other artifacts (specs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.

Redact any sensitive information, such as API keys, passwords, or personally identifiable information.

If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.