arawlin/awesome-copilot-x/memory-capture
Claude Code and agent skill by arawlin/awesome-copilot-x
- community
Checking that the SKILL.md file is still in the repository.
Actively extract memory-worthy knowledge from the current conversation (or a selected range) and write it to the correct memory file per the memory-capture rules (filter → scope → topic file → dedup). Use when asked to "review this session for memory", "extract memory entries", "capture what we learned", or "memory 盘点/批量提取".
Install
npx vskill@latest install arawlin/awesome-copilot-x/memory-captureSKILL.md
The same SKILL.md was published earlier as arawlin/awesome-copilot-x/memory-capture.
Memory Capture — 主动提取
主动盘点当前会话(或指定范围)的知识,按全局指令 memory-capture.instructions.md(applyTo: '**',已注册进每次会话的指令上下文)的规则提取并写入对应 memory 文件。
规则单一事实源:过滤标准、条目格式、scope 选择、文件组织规范均以memory-capture.instructions.md为准。本 skill 只执行流程,不复制规则,避免双源漂移。
与 /memory-review(事后查矛盾 / 冗余)和 /memory-consolidate(合并 / 归档)配合:capture 写入,review 把关,consolidate 维护。
When to Use This Skill
- 用户要求盘点当前会话 / 指定范围,提取值得记的 memory 条目
- 会话接近尾声时,主动沉淀本次讨论的决策与踩坑
- 需要把某段分析按规则归档到正确主题文件时
工作流
Step 1: 明确范围
all:整个当前会话selection:用户指定的讨论 / 范围(不确定时询问)
Step 2: 列出候选知识点
回顾范围内对话,按全局指令 memory-capture.instructions.md 的触发信号列出候选:
- 验证过的结论、踩坑修复、架构决策、契约变更
- 外部来源(fetch / context7 / github)产生的新颖可复用结论
Step 3: 应用过滤并归类
对每个候选,按全局指令 memory-capture.instructions.md 依次执行:
- 过滤:按指令的过滤标准判定是否可记
- scope:按指令的 scope 选择规则归入 user / repo / session
- 文件归属:按指令的文件组织规范选择主题文件——已有匹配 → 追加;不匹配 → 新建
- 查重:
memory view对应文件,已有则跳过或合并
Step 4: 呈现候选清单
Step 5: 写入(经确认)
按全局指令 memory-capture.instructions.md 的条目格式追加到对应文件末尾,遵守其每会话上限。
Gotchas
- 不要在用户确认前写入 memory——先呈现候选清单,经确认再写(除非用户显式要求直接写)。
- 不要把拿不准的条目写进 user memory——user 档默认降级到 session/repo,宁可少写不可错写。
- 不要未经用户明确确认写入 user 档——user 每会话自动加载,写入是永久摊销成本。
- 不要跳过
memory view查重直接追加——会产生重复条目。 - 不要省略 Source——每条必须可回查。
- 不要按自己的理解判断过滤 / scope / 文件归属——以全局指令
memory-capture.instructions.md为准。 - 不要突破每会话上限——超出的只保留最有影响力,其余合并成一条概括。
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/memory/skills/memory-capture/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/arawlin/awesome-copilot-x/memory-capture)