Skip to main content

memory

Manage durable global/project memory in `.opc/memory/global.md` and `.opc/memory/projects/<current_project_id>.md`.

来源信息

仓库
HKUDS/OpenOPC
最近来源活动
2026年7月1日 09:56
检测到的 SKILL.md 语言
英语
星标
1,848
分支
342

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
memory
description
Manage durable global/project memory in `.opc/memory/global.md` and `.opc/memory/projects/<current_project_id>.md`.
always
true
# Memory Use this skill only for durable Markdown memory: - Global memory: `.opc/memory/global.md` - Project memory: `.opc/memory/projects/<current_project_id>.md` - Prefer the absolute `OPC_GLOBAL_MEMORY_PATH` and `OPC_PROJECT_MEMORY_PATH` shown in runtime context or environment; do not create a separate `.opc/memory` under the workplace. ## What To Save - Global: stable cross-project user preferences, communication defaults, standing constraints. - Project: current-project preferences, workspace overrides, repo paths, architecture constraints, coding conventions, delivery requirements. - Never save secrets, copied transcripts, temporary progress, speculative notes, or one-off task results. ## When to Update - Update only during interaction with the user, and only when the user states or confirms something that should matter in later sessions. ## How to Update Read before editing. Merge, deduplicate, replace stale items, and keep entries compact. Do not mix project IDs: write project memory only to the current project's file.
在 GitHub 查看