liqing-ustc/mindflow/memory-retrieve

Claude Code and agent skill by liqing-ustc/mindflow

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

被其他 skill 内部调用,从 Workbench/memory/ 中检索与当前任务相关的历史经验。 当 idea-generate 需要查失败方向、experiment-design 需要查有效方法、 或任何 skill 需要历史上下文时调用

Install

npx vskill@latest install liqing-ustc/mindflow/memory-retrieve

SKILL.md

Purpose

memory-retrieve 是 MindFlow 记忆系统的检索接口。它被其他 skill 内部调用(如 idea-generate 查失败方向、experiment-design 查有效方法),从 Workbench/memory/ 的结构化记忆文件中检索与当前任务语义相关的历史经验。

这是 Layer 1 的轻量实现——纯 Markdown 文件读取 + LLM 语义匹配,零外部依赖。未来 Layer 2 可用向量检索替换,接口不变。

Steps

Step 1:确定检索范围

根据 scope 参数确定要读取的记忆文件:

scope目标文件
patternsWorkbench/memory/patterns.md
insightsWorkbench/memory/insights.md
effective-methodsWorkbench/memory/effective-methods.md
failed-directionsWorkbench/memory/failed-directions.md
all以上全部
Step 2:读取记忆文件

用 Read 读取 scope 对应的记忆文件。若文件不存在或为空,返回空结果并告知调用方"该记忆类别暂无条目"。

Step 3:语义匹配

逐条扫描记忆文件中的条目(每个 ### [YYYY-MM-DD] 标题为一条),判断其与 query 的语义相关性。判断标准:

  • 条目的 observation/claim/method 是否与 query 描述的任务/问题直接相关
  • 条目中引用的论文/实验是否与 query 涉及的领域重叠
  • 条目的 lesson/pitfall 是否对 query 的任务有参考价值
Step 4:返回结果

返回 top-k 相关条目(默认 k=5),每条包含:

  • 条目原文(完整保留,不做概括改写)
  • 来源文件路径(如 [[Workbench/memory/patterns.md#条目标题]])

若相关条目不足 k 条,返回全部匹配条目,不补凑。

Guard

  • 只读:不修改任何记忆文件,不修改任何 vault 文件
  • 原文保真:返回结果必须包含条目原文和 [[wikilink]] 来源引用,不做概括性改写
  • 诚实返回:若无相关条目,返回空结果,不编造记忆内容

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
54
Repository forks
9
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. 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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/liqing-ustc/mindflow/memory-retrieve/badge)](https://verified-skill.com/skills/liqing-ustc/mindflow/memory-retrieve)

Something wrong with this skill or its page? Tell us.