← 返回 Skills 市场
qshfu

Deep Memory

作者 qshfu · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
49
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install depth-memory
功能描述
深层记忆系统。处理知识积累、技能经验、长期档案类任务时触发。提供关键字检索、记忆存取、索引更新功能。
使用说明 (SKILL.md)

Deep Memory(深层记忆)

分层记忆体系的第三层(MEMORY.md → deep-memory → 互联网)。处理知识、技能、经验类任务时优先使用。

记忆层次

memory/ & MEMORY.md  ← 日常/高频上下文(第一层)
deep-memory/         ← 知识/技能/经验档案(第二层)← 当前层
互联网搜索          ← 无匹配时 fallback

工作流

查询(遇到问题时):

  1. 读取 DEEP-MEMORY.md(索引文件)
  2. 从用户输入中提取关键字,匹配索引表的 Keywords 列
  3. 命中 → 读取对应 deep-memory 文件
  4. 无命中 → 继续互联网搜索

新增(整理有价值内容时):

  1. 内容存入 deep-memory/YYYY-MM-DD HH_MM_SS.md
  2. 提取关键字并更新 DEEP-MEMORY.md 索引

目录结构

deep-memory/                  ← 记忆文件目录
DEEP-MEMORY.md                ← 索引(表格形式)
skills/deep-memory/
  SKILL.md                    ← 本文件
  scripts/
    query.mjs        ← 关键字检索脚本
    add.mjs          ← 新增记忆脚本
    list-index.mjs   ← 列出所有索引条目

索引格式

DEEP-MEMORY.md 为 markdown 表格,列:Keywords | Description | File Path

| Keywords | Description | File Path |
| :--- | :--- | :--- |
| @k3000/build | mjs打包工具 | `deep-memory/2026-04-27 13_06_20.md` |

脚本用法

# 查询关键字(返回匹配的文件路径)
node scripts/query.mjs \x3C关键字>

# 新增记忆(交互式)
node scripts/add.mjs

# 列出所有索引
node scripts/list-index.mjs

触发条件

遇到以下类型任务时,主动使用本 skill:

  • "我的 xxx 库怎么用来着"
  • "之前那个 xxx 配置在哪个文件"
  • "整理一下今天学到的 xxx"
  • "我有没有关于 xxx 的记忆"
  • 任何知识/技能/经验类问题
安全使用建议
Install this if you want a local long-term memory layer. Before using it, be aware that entries saved under deep-memory and indexed in DEEP-MEMORY.md may influence future answers, so avoid saving passwords, tokens, private personal data, or anything you do not want persisted.
功能分析
Type: OpenClaw Skill Name: depth-memory Version: 0.1.0 The 'depth-memory' skill implements a local knowledge management system for the agent to store and retrieve long-term information. The provided Node.js scripts (add.mjs and query.mjs) perform basic file operations on markdown files within the workspace and do not exhibit any signs of data exfiltration, malicious execution, or unauthorized access.
能力评估
Purpose & Capability
The skill's stated purpose matches its behavior: it reads a local DEEP-MEMORY.md index, retrieves matching memory files, and can add new local memory entries.
Instruction Scope
Instructions tell the agent to proactively use the memory layer for knowledge, skill, and experience questions; this is purpose-aligned but means stored memories may influence later answers.
Install Mechanism
There is no install spec, but the skill documents Node.js script usage and references a list-index script that is not included in the manifest.
Credentials
File access is scoped to local deep-memory files and the DEEP-MEMORY.md index, which is proportionate for a memory skill.
Persistence & Privilege
The skill intentionally creates and updates persistent local memory files; users should avoid storing secrets or sensitive personal data unless they want it reused later.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install depth-memory
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /depth-memory 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of deep-memory skill: - Introduces a structured, multi-layered memory system for managing long-term knowledge, skills, and experience. - Supports keyword-based querying, memory storage, and index updating. - Provides dedicated scripts for querying, adding, and listing memory records. - Uses a clear directory and index structure for efficient retrieval. - Designed to trigger automatically during knowledge, skill, or experience-based tasks.
元数据
Slug depth-memory
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Deep Memory 是什么?

深层记忆系统。处理知识积累、技能经验、长期档案类任务时触发。提供关键字检索、记忆存取、索引更新功能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 49 次。

如何安装 Deep Memory?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install depth-memory」即可一键安装,无需额外配置。

Deep Memory 是免费的吗?

是的,Deep Memory 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Deep Memory 支持哪些平台?

Deep Memory 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Deep Memory?

由 qshfu(@qshfu)开发并维护,当前版本 v0.1.0。

💬 留言讨论