Install
openclaw skills install everything-search-breadmemory基于 Everything 实现本地文件搜索,提取知识并存入面包屑笔记,支持艾宾浩斯遗忘曲线的智能复习管理。
openclaw skills install everything-search-breadmemory基于 Everything (es.exe) 的本地文件搜索引擎,附带面包屑知识管理系统和艾宾浩斯遗忘曲线复习引擎。
技能首次使用时,会自动检测 Everything/es.exe 是否可用:
python {SKILL_DIR}/scripts/es_search.py search "<搜索关键词>" [--max 50] [--path "C:/限定路径"]
输出结构化 JSON,包含:文件路径、名称、大小、修改日期。
# 添加知识条目
python {SKILL_DIR}/scripts/breadcrumb.py add --title "标题" --content "知识内容" --source "/path/to/file" [--tags "标签1,标签2"]
# 列出所有条目
python {SKILL_DIR}/scripts/breadcrumb.py list [--tag "标签"] [--limit 20]
# 搜索条目
python {SKILL_DIR}/scripts/breadcrumb.py search "关键词"
# 删除条目
python {SKILL_DIR}/scripts/breadcrumb.py delete --id <条目ID>
# 查看条目详情
python {SKILL_DIR}/scripts/breadcrumb.py show --id <条目ID>
# 获取今日应复习的条目列表(自动按艾宾浩斯曲线计算)
python {SKILL_DIR}/scripts/ebbinghaus.py daily-review [--count 5]
# 标记某条目已完成复习
python {SKILL_DIR}/scripts/ebbinghaus.py mark-reviewed --id <条目ID>
# 查看复习统计
python {SKILL_DIR}/scripts/ebbinghaus.py stats
艾宾浩斯复习间隔(天):1, 2, 4, 7, 15, 30, 60, 120
每条知识记录自动追踪:
created_at: 首次创建日期review_count: 已复习次数last_reviewed_at: 上次复习日期next_review_at: 下次应复习日期当用户说"搜索本地关于XX的文件,提取要点保存"时:
当用户说"今日复习"或"今天有什么知识需要回顾"时:
以下为 Agent 语义指引。各 AI 平台根据自身能力实现。
触发频率建议:每天 1 次,凌晨执行
Agent 执行逻辑:
es_search.py search "<命题关键词>" 获取文件列表breadcrumb.py add 将新知识入库触发频率建议:每天 1 次,早晨执行
Agent 执行逻辑:
ebbinghaus.py daily-review 获取今日待复习条目ebbinghaus.py mark-reviewed --id <ID> 更新状态| 平台 | 实现方式 |
|---|---|
| WorkBuddy | 使用 automation_update 工具创建定时任务,调用对应脚本 |
| Claude Code | 使用 cron 定时调度 Python 脚本 |
| Cursor | 在 .cursor/tasks.json 中添加定时任务 |
| 通用(cron) | crontab -e 添加定时 Python 调用 |
| 通用(手动) | 用户每日手动触发"复习" |
使用本技能时,Agent 必须遵循:
--source 指向原文文件路径所有数据存储在 ~/.everything_search/:
~/.everything_search/
├── breadcrumb.json # 面包屑知识条目
├── config.json # 配置(es.exe路径、艾宾浩斯参数等)
└── review_log.jsonl # 复习历史日志
| 脚本 | 功能 |
|---|---|
scripts/es_search.py | Everything 搜索封装,检测/安装/搜索 |
scripts/breadcrumb.py | 面包屑小本本 CRUD |
scripts/ebbinghaus.py | 艾宾浩斯引擎 + 每日复习入口 |