save-handoff

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Save Handoff

保存交接记录

Persist a compact resumable handoff when the user wants a restart point, summary, or checkpoint.
当用户需要重启点、摘要或检查点时,持久化保存一个紧凑的可恢复交接记录。

When to Use

使用场景

Only activate when user explicitly says:
  • "Save a handoff"
  • "Checkpoint this"
  • "Leave me a summary"
  • "Remember where we are"
Never auto-save or suggest saving. This is always user-initiated.
仅在用户明确说出以下内容时激活:
  • “保存交接记录”
  • “创建此检查点”
  • “给我留一份摘要”
  • “记住当前进度”
切勿自动保存或建议保存。 此操作始终由用户主动发起。

Why This Is A Handoff

为何称之为交接记录

This reusable package works across many agents. It must not pretend to have a real transcript importer when the runtime may not provide one.
So this skill creates a structured handoff summary with
nmem t create
instead of claiming a lossless thread save.
If the user's tool has a dedicated Nowledge integration with real thread import, prefer that native package instead.
这个可复用包适用于多种Agent。当运行时可能不提供真实的对话记录导入器时,它不能伪装成具备该功能。
因此,该技能使用
nmem t create
创建结构化的交接摘要,而非声称可以无损保存对话线程。
如果用户的工具与Nowledge有专用集成且支持真实对话线程导入,请优先使用该原生包。

Usage

使用方法

Create a structured handoff thread:
bash
nmem --json t create   -t "Session Handoff - <topic>"   -c "Goal: ... Decisions: ... Files: ... Risks: ... Next: ..."   -s generic-agent
创建结构化的交接对话线程:
bash
nmem --json t create   -t "Session Handoff - <topic>"   -c "Goal: ... Decisions: ... Files: ... Risks: ... Next: ..."   -s generic-agent

Handoff Format

交接记录格式

Include these fields:
  • Goal
  • Decisions
  • Files
  • Risks
  • Next
需包含以下字段:
  • 目标(Goal)
  • 决策(Decisions)
  • 文件(Files)
  • 风险(Risks)
  • 下一步计划(Next)

Response Format

响应格式

After successful save:
✓ Handoff saved
Title: {title}
Summary: {content}
Thread ID: {thread_id}
Never present this as a real transcript import.
保存成功后:
✓ 交接记录已保存
标题: {title}
摘要: {content}
对话线程ID: {thread_id}
切勿将其表述为真实的对话记录导入功能。