Save Thread

nowledge-co/community/nowledge-mem-npx-skills/skills/save-thread

作者 nowledge-co1f4d7eb61466dbfc93ce8d7a0a806c4d4a196dd0無授權條款收錄於 2026年10月9日更新於 2026年10月9日

Deprecated compatibility skill. In generic npx skills 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 名稱,但不會執行真正以工作階段紀錄為基礎的執行緒匯入。在通用技能環境中,它相當於 save-handoff 的別名,透過 nmem 命令列工具建立精簡且可續接的交接摘要,並回報標題、摘要與執行緒 ID。它明確說明結果是交接摘要而非完整的原始工作階段,並在需要真實工作階段擷取時指向原生連接器。
適用情境
適用於通用 npx skills 環境,當你需要重新啟動點、檢查點或精簡的續接摘要,而非完整工作階段擷取時使用。真實工作階段紀錄匯入應改用該執行階段專用的原生連接器。
執行需求
需要 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 generic npx skills 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 generic skill 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 generic npx skills environment
  • 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 Generic Skills 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 generic skills 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-npx-skills/skills/save-thread提交1f4d7eb

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架