Agent Skillsboshu2/agentops › handoff

handoff

GitHub

生成紧凑的会话交接文档,记录目标、完成路径及未决风险,供下游上下文读取。禁止推断行动或修改状态,仅输出事实性证据。

skills-codex/handoff/SKILL.md boshu2/agentops

Trigger Scenarios

handoff write compact session handoff

Install

npx skills add boshu2/agentops --skill handoff -g -y
More Options

Non-standard path

npx skills add https://github.com/boshu2/agentops/tree/main/skills-codex/handoff -g -y

Use without installing

npx skills use boshu2/agentops@handoff

指定 Agent (Claude Code)

npx skills add boshu2/agentops --skill handoff -a claude-code -g -y

安装 repo 全部 skill

npx skills add boshu2/agentops --all -g -y

预览 repo 内 skill

npx skills add boshu2/agentops --list

SKILL.md

Frontmatter
{
    "name": "handoff",
    "description": "Write compact caller-authored session Triggers: \"handoff\", \"write compact session handoff\"."
}

Handoff

A handoff works because the next context can act on exact paths and facts without trusting the author's memory; any line the reader cannot verify from the artifact itself is decoration, not handoff.

Write a factual session artifact that another context can read. Include:

  • caller-supplied goal and summary;
  • completed artifacts and exact evidence paths;
  • unresolved facts or risks;
  • optional caller-supplied continuation text;
  • best-effort read-only repository identity when useful.

Do not infer a next action, select work, assign ownership, consume the artifact, change tracker or Git state, classify a verdict, govern retries, or restart a runtime. Reading a handoff must not mutate it.

Named failure mode — optimistic closure: writing "done" for work whose evidence path does not exist, so the next context builds on a phantom.

Anti-pattern: narrating the session chronologically ("first I tried…, then…"). Corrective: record end-state facts — artifacts, paths, unresolved risks — and drop the journey.

Write the artifact to the caller-owned handoff location when the caller names one; otherwise it is explicit requested proof under .agents/ao/handoff/. There is no permanent generic handoff store — an artifact nobody consumes is scratch, not evidence.

The ao session handoff and ao session rehydrate commands implement the same boundary for JSON artifacts under .agents/ao/handoff/. The skill may write Markdown when that better serves a human, but the content semantics remain identical.

Earlier default compatibility

JSON artifacts already stored under .agents/handoff/ remain read-only evidence. ao session handoff writes new JSON to .agents/ao/handoff/, while ao session rehydrate searches both directories and selects the newest lexical handoff id; if an identical filename exists in both, the canonical .agents/ao/handoff/ copy wins. No command moves or deletes the legacy files. Human-authored Markdown consumers receive the exact path, so they do not need to scan either default. This owning skill contract is the compatibility authority; no separate migration artifact is required.

Return the artifact path and stop.

Version History

  • 7b07a7d Current 2026-08-19 22:02

    新增兼容性说明,明确旧版 .agents/handoff/ 为只读证据,新版写入 .agents/ao/handoff/,并规定文件名冲突时的优先级规则。

  • 3f402e5 2026-07-24 22:09

Same Skill Collection

images/gemini/skills/account-rotation/SKILL.md
images/gemini/skills/agent-mail/SKILL.md
images/gemini/skills/agent-native/SKILL.md
images/gemini/skills/agy-native/SKILL.md
images/gemini/skills/anti-ceremony/SKILL.md
images/gemini/skills/automation-shape-routing/SKILL.md
images/gemini/skills/bootstrap/SKILL.md
images/gemini/skills/cass/SKILL.md
images/gemini/skills/cc-hooks/SKILL.md
images/gemini/skills/codebase-recon/SKILL.md
images/gemini/skills/codex-exec/SKILL.md
images/gemini/skills/converter/SKILL.md
images/gemini/skills/council/SKILL.md
images/gemini/skills/craft-goal/SKILL.md
images/gemini/skills/dcg/SKILL.md
images/gemini/skills/doc/SKILL.md
images/gemini/skills/domain/SKILL.md
images/gemini/skills/fitness/SKILL.md
images/gemini/skills/goals/SKILL.md
images/gemini/skills/handoff/SKILL.md
images/gemini/skills/idea-genie/SKILL.md
images/gemini/skills/implement/SKILL.md
images/gemini/skills/learn/SKILL.md
images/gemini/skills/ms/SKILL.md
images/gemini/skills/ntm/SKILL.md
images/gemini/skills/operationalize/SKILL.md
images/gemini/skills/pattern-mining/SKILL.md
images/gemini/skills/plan/SKILL.md
images/gemini/skills/postmortem/SKILL.md
images/gemini/skills/premortem/SKILL.md
images/gemini/skills/product/SKILL.md
images/gemini/skills/rch/SKILL.md
images/gemini/skills/reality-check/SKILL.md
images/gemini/skills/refactor/SKILL.md
images/gemini/skills/research/SKILL.md
images/gemini/skills/reverse-engineer/SKILL.md
images/gemini/skills/rpi/SKILL.md
images/gemini/skills/sbh/SKILL.md
images/gemini/skills/scaffold/SKILL.md
images/gemini/skills/scope/SKILL.md
images/gemini/skills/security/SKILL.md
images/gemini/skills/shared/SKILL.md
images/gemini/skills/skill-builder/SKILL.md
images/gemini/skills/standards/SKILL.md
images/gemini/skills/status/SKILL.md
images/gemini/skills/swarm/SKILL.md
images/gemini/skills/test/SKILL.md
images/gemini/skills/toil-mining/SKILL.md
images/gemini/skills/using-flywheel/SKILL.md
images/gemini/skills/using-gc/SKILL.md

Metadata

Files
0
Version
7b07a7d
Hash
d0d939e6
Indexed
2026-07-24 22:09

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 23:43
浙ICP备14020137号-1 $mapa de visitantes$