Read Working Memory

nowledge-co/community/nowledge-mem-copilot-cli-plugin/skills/read-working-memory

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

Read your daily Working Memory briefing to understand current context. Contains active focus areas, priorities, unresolved flags, and recent knowledge changes. Load this automatically at the beginning of sessions for cross-tool continuity.

AI 生成的概览

在会话开始时读取每日工作记忆简报,恢复关于关注领域、优先事项和待处理标记的上下文。

功能
该技能指示智能体读取工作记忆简报,通常以 JSON 模式运行 nmem 命令行工具,并在 nmem 不可用时回退到读取本地记忆文件。简报包含当前关注领域、优先事项、未解决的标记、近期知识变更以及指向具体记忆的深层链接。技能还说明如何在会话中使用这些上下文,例如自然地引用相关内容并避免重复读取。
适用场景
适用于开始新对话、休息后回到某个项目,或用户询问当前在做什么、提到近期优先事项和决定时。它用于跨工具连续性,因此在其他工具中保存的上下文会出现在简报中。
运行要求
需要 nmem 命令行工具(可通过 pip、pipx 或 Arch Linux 包管理器安装)以及访问 Nowledge Mem 实例;若实例在远程服务器上,则需配置 URL 和 API 密钥,或使用 NMEM_API_URL 与 NMEM_API_KEY 环境变量。可选环境变量包括 NMEM_AGENT_ID、NMEM_SPACE 和 NMEM_HOST_AGENT_ID。仅本地模式下的回退方案会读取主目录中的记忆文件。不附带脚本。

Read Working Memory

Start every session with context. Use Context Bundle when owner identity, AI Identity, active scope, or rules could matter; it includes Working Memory. Use Working Memory alone for the lighter daily briefing.

When to Use

At session start:

  • Beginning of a new conversation
  • Returning to a project after a break
  • When context about recent work would help

During session:

  • User asks "what am I working on?" or "what's my context?"
  • User references recent priorities or decisions
  • Need to understand what's been happening across tools

Skip when:

  • Already loaded this session
  • User explicitly wants a fresh start
  • Working on an isolated, context-independent task

Usage

Prefer Context Bundle for startup context:

bash
nmem --json context --source-app copilot-cli

Read Working Memory alone when you only need current priorities:

bash
nmem --json wm read

If the runtime already knows the current project or agent lane, add --space "<space name>" to either command. Multi-agent orchestrators can set NMEM_AGENT_ID="<agent-slug>" before launching Copilot CLI. Add NMEM_SPACE only when that whole run should override the identity's default space. Use NMEM_HOST_AGENT_ID only for advanced external aliases.

Fallback for local-only (when nmem is not installed):

bash
cat ~/ai-now/memory.md

This fallback is only for older local-only Default-space setups.

What You'll Find

The Working Memory briefing contains:

  • Active Focus Areas — Topics you're currently engaged with, ranked by recent activity
  • Priorities — Items flagged as important or needing attention
  • Unresolved Flags — Contradictions, stale information, or items needing verification
  • Recent Activity — What changed in your knowledge base since the last briefing
  • Deep Links — References to specific memories for further exploration

How to Use This Context

  1. Read once at session start — don't re-read unless asked
  2. Reference naturally — mention relevant context when it connects to the current task
  3. Avoid duplicate reads — if Context Bundle was already loaded and includes Working Memory, do not read Working Memory again
  4. Don't overwhelm — share only the parts relevant to what the user is working on
  5. Cross-tool continuity — insights saved in other tools (Cursor, Claude Code, Codex) appear here

Troubleshooting

If nmem is not in PATH: pip install nmem-cli, pipx install nmem-cli, or on Arch Linux yay -S nmem-cli / paru -S nmem-cli

If Nowledge Mem is on a remote server, run nmem config client set url https://... and nmem config client set api-key ... once on this machine, or use NMEM_API_URL / NMEM_API_KEY for a temporary override.

来源与署名

来源:nowledge-co/community位于nowledge-mem-copilot-cli-plugin/skills/read-working-memory提交1f4d7eb

许可证: 无许可证

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

举报或申请下架