Save Thread

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

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

Create a structured handoff summary when the user asks for a checkpoint. OMP transcript sync is automatic; this skill adds a concise continuation record.

AI 產生的概覽

建立結構化的工作階段交接摘要,讓後續工作階段能快速接續工作。

功能
此技能引導代理撰寫精簡的工作階段檢查點記錄,涵蓋目標、決策、檔案、結果、風險與後續步驟。它說明如何透過 nmem 命令列工具將記錄儲存為執行緒。它也說明何時應使用精心整理的交接記錄,而非例行逐字稿同步,以及執行緒與記憶的差異。
適用情境
適用於使用者要求儲存、設定檢查點或記錄工作階段時,工作階段結束時有值得延續的脈絡時,或複雜多步驟工作將於之後接續時。它不用於例行逐字稿同步。
執行需求
需要 Nowledge Mem OMP 外掛與 nmem 命令列工具,並能存取 Nowledge Mem 服務。此技能不含指令碼,僅為說明文件。

Save Thread

The Nowledge Mem OMP plugin automatically syncs completed OMP conversations as searchable threads. This skill creates a structured handoff summary when the user wants a concise checkpoint for a future session.

When to Use

  • User asks to save the session: "save this", "checkpoint", "record what we did"
  • Session ending with important context that should carry forward
  • Complex multi-step work that a future session will resume

Do not use this as routine transcript sync. Use it only when a curated handoff would help a future session resume quickly.

Usage

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

Content Format

Structure the content as a clear handoff. Include only what a future session needs to continue:

Goal: What the session set out to accomplishDecisions: Key choices made and their rationaleFiles: Important files created or modifiedOutcome: What was achievedRisks: Known risks, open questions, or things that could breakNext: Concrete steps for the next session

Example

bash
nmem --json t create \  -t "Session Handoff - Auth Migration to OAuth2" \  -c "Goal: Migrate session auth from JWT to OAuth2 with PKCE.Decisions: Chose Authorization Code flow with PKCE over Implicit for security. Using passport-oauth2 library.Files: src/auth/oauth2.ts (new), src/auth/middleware.ts (updated), tests/auth.test.ts (updated).Outcome: Core flow working, token refresh implemented, tests passing.Risks: Token refresh not tested under clock skew; CSRF state parameter still missing.Next: Add CSRF state parameter, update API docs, deploy to staging." \  -s generic-agent

Thread vs Memory

A thread preserves session structure: goals, sequence, context. A memory distills a single insight or decision. They serve different purposes. Use both when appropriate: save the thread for continuity, distill key decisions as standalone memories.

Links

來源與署名

來源:nowledge-co/community位於nowledge-mem-omp-plugin/skills/save-thread提交1f4d7eb

授權條款: 無授權條款

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

檢舉或申請下架