Save Thread

nowledge-co/community/nowledge-mem-agent-plugin/skills/save-thread

作者 nowledge-co1f4d7eb61466dbfc93ce8d7a0a806c4d4a196dd0无许可证收录于 2026年10月9日更新于 2026年10月9日

Deprecated compatibility skill. In portable Agent Plugins environments this must degrade honestly to a resumable handoff, because real transcript-backed thread import is not guaranteed. Prefer save-handoff here, and use native connectors when you need actual session capture.

AI 生成的概览

已弃用的兼容技能,保存可恢复的交接摘要,而非导入真实会话记录。

功能
这个已弃用的兼容技能保留了旧的 save-thread 名称,但不会执行真正的、基于会话记录的线程导入。在可移植的 Agent Plugins 环境中,它充当 save-handoff 的别名,通过命令行命令创建简洁的可恢复交接摘要,并报告标题、摘要和线程 ID。它明确说明结果是交接摘要,而非完整的原始会话,并在需要真正捕获会话时指向原生连接器。
适用场景
适用于缺少宿主会话记录访问权限的可移植 Agent Plugins 环境,当你需要重启点、检查点或简洁的续接摘要时使用。仅当运行时具备已实现真实记录导入的专用连接器时,才改用原生 save-thread 连接器。
运行要求
需要具备线程创建功能的 nmem 命令行工具;该技能不附带任何脚本。真正的会话记录捕获需要针对特定运行时的专用原生连接器,文档中还引用了外部文档站点。

Save Thread (Deprecated Compatibility)

Preserve the old skill name without pretending a generic skill runtime can always import the real session transcript.

Status

This skill name is deprecated and kept only for compatibility.

Use save-handoff for portable Agent Plugins or other generic skill environments.

Why This Cannot Promise Real Thread Save

A shared skills package works across many agent runtimes. In many of them, a skill can influence prompting but cannot read the host agent's real session transcript through a stable programmatic API.

That means this package must not promise a lossless thread import when the runtime may not expose:

  • readable session files
  • a transcript/history API
  • a native importer surface wired for that specific agent

If we claimed real thread save here, users would believe later retrieval reflects the actual full session when it may only contain a summary.

What To Do Instead

In portable Agent Plugins environments, treat save-thread as an alias for save-handoff:

  • save a concise resumable handoff with nmem t create
  • state clearly that this is a handoff summary, not a transcript-backed import
  • never present the result as the full original session

When Real Thread Save Is Feasible

Use a dedicated native connector when the runtime has a real transcript importer.

Examples include Nowledge connectors such as:

  • Gemini CLI
  • Claude Code

In those environments, nmem t save --from <runtime> can read local session files on the client machine and upload normalized thread messages to Mem.

When To Use Which Save Surface

Use save-handoff when:

  • you are in a portable Agent Plugins environment without host transcript access
  • you want a restart point, checkpoint, or concise continuation summary
  • the runtime does not have a proven native thread importer

Use a native save-thread only when:

  • the agent has a dedicated Nowledge connector for that runtime
  • real transcript import is actually implemented for that runtime
  • you want the actual session captured for later search and inspection

Usage In Portable Plugin Environments

Create a structured handoff instead of pretending to save the real thread:

bash
nmem --json t create   -t "Session Handoff - <topic>"   -c "Goal: ... Decisions: ... Files: ... Risks: ... Next: ..."   -s generic-agent

Response Format

After successful save in a portable Agent Plugins environment:

✓ Handoff savedTitle: {title}Summary: {content}Thread ID: {thread_id}

Always explain that this compatibility skill creates a resumable handoff, not a real transcript import.

Native Connector

These skills work in any agent via CLI. For auto-recall, auto-capture, and graph tools, check if your agent has a native Nowledge Mem connector — run the check-integration skill or see https://mem.nowledge.co/docs/integrations

来源与署名

来源:nowledge-co/community位于nowledge-mem-agent-plugin/skills/save-thread提交1f4d7eb

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架