agentleFS
YSAA1YSAA1/harness-workflow/skills/handoff/SKILL.md

handoff

Skill3 starsChanged 13 days agoMITView on GitHub

把当前会话压缩成交接文档,让全新会话或另一个 agent 无损接手。会话要结束但工作未完、要换会话/换 agent 继续、要给下一个 session 定向任务时使用。Triggers: handoff, 交接, 会话交接, 换会话, 移交.

191 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use decision-mapping, setup-ts-deep-modules and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • FabienDehopreSkill

    decision-mapping

    Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.

    Also in 8 projects that use this

  • liufeng1976Skill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 42 projects that use this

  • AWSSkill

    to-questionnaire

    Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

    Also in 93 projects that use this

  • GoogleSkill

    ask-matt

    Ask which skill or flow fits your situation. A router over the skills in this repo.

    Also in 87 projects that use this

  • RoentekSkill

    loop-me

    Grill me about specs for the workflows I want to build, within this workspace.

    Also in 51 projects that use this

  • LesaniSkill

    writing-beats

    Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.

    Also in 54 projects that use this

The file

Files
SKILL.md

Session Handoff

写一份交接物,让一个零上下文的新 agent 能接着干。交接是显式动作:用户没叫就不自作主张交接。

流程

  1. 用户传了参数就按它定制(下一会话的重点);没传就按当前工作的自然续点写。
  2. 落点分层:
    • 完整交接文档一律写到操作系统临时目录($TMPDIR,未设则 /tmp;Windows 用 %TEMP%;每次按同一顺序解析;不进仓库或项目目录,避免制造孤儿文件),把完整路径明确告诉用户。
    • 项目有恢复面:交接属于合同 v2 的写入时机(见 ../writing-for-agents/references/recovery_surface_policy.md),只改本轨道 tracks/<id>.md——续点写 Next:,当前状态写 Status:,证据链接与一句结论写 Evidence:(持久、可恢复);完整交接文档仅在确需完整上下文时才生成。
    • 无恢复面:临时目录里的交接文档就是唯一交接物。
  3. 内容纪律:
    • 含「建议技能」一节:下一个 agent 应调用哪些 skill,直呼其名。
    • 不复述已有产物(Spec/plan/ADR/issue/commit/diff)——引用路径即可。
    • 脱敏:密钥、口令、个人身份信息一律不写。
  4. 交付:告诉用户交接物在哪、下一会话怎么用(有恢复面按会话入口读;无恢复面把文档喂给新会话开场)。

Recommended next skill

  • 新会话:有恢复面按 AGENTS.md 会话入口续作;无恢复面以交接文档开卷。
  • 交接暴露出工作台缺口:harness-builder。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.