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 从公开仓库中收录这些内容。

举报或申请下架