Install
openclaw skills install core-capabilities工作助手核心能力集成 - 包含 Obsidian/Git 同步、记忆数据库、自然语言查询、监控页面等完整能力套件。当用户需要查询系统能力、使用 Obsidian、管理记忆、查看状态时使用此技能。
openclaw skills install core-capabilities本技能整合了工作助手的所有核心能力,提供完整的能力查询、状态检查和使用指导。
关键文件:
skills/obsidian-cli/SKILL.md - CLI 完整文档skills/obsidian-tasks/SKILL.md - 任务管理工作流:
Obsidian 编辑 → 自动保存 → Git 检测 → 定时提交 → 远程同步
数据库信息:
memory.db)*/30 * * * *记录分布:
| 类型 | 数量 | 说明 |
|---|---|---|
| memory | 12 | 日常记忆 |
| feedback | 2 | 用户反馈 |
| project | 2 | 项目记录 |
| reference | 4 | 参考资料 |
| user | 2 | 用户信息 |
同步机制:
memory_query_agent.py --sync-nowlogs/memory_sync.log查询能力:
使用示例:
# 交互模式
python3 memory_query_agent.py -i
# 单次查询
python3 memory_query_agent.py "最近的记录"
python3 memory_query_agent.py "feedback 有几条"
python3 memory_query_agent.py "关于 Hermes 的记录"
python3 memory_query_agent.py "Obsidian 能力"
# 查看状态
python3 memory_query_agent.py --sync-status
# 手动同步
python3 memory_query_agent.py --sync-now
查询类型:
Web 监控:
服务状态:
python3 monitor_server.py 8003/tmp/monitor_server.log# 打开今日日记
obsidian daily
# 创建笔记
obsidian create name="测试" content="内容"
# 搜索
obsidian search query="关键词"
# 任务管理
obsidian tasks daily todo
# 交互模式
python3 memory_query_agent.py -i
# 单次查询
python3 memory_query_agent.py "核心能力"
python3 memory_query_agent.py "最近的记录"
python3 memory_query_agent.py "Obsidian 能力"
# 查看状态
python3 memory_query_agent.py --sync-status
# 浏览器访问
http://localhost:8003/cron_status_clickable.html
# API 查询
curl http://localhost:8003/api/status
# 重启服务
pkill -f monitor_server
cd ~/.openclaw/workspace && python3 monitor_server.py 8003 &
# 查看状态
git status
# 提交变更
git add . && git commit -m "daily: 2026-04-12"
# 推送
git push
用户请求
↓
自然语言理解 (memory_query_agent.py)
↓
SQL 生成和执行
↓
SQLite 数据库 (memory.db)
↓
结果解释和返回
↓
Web 监控页面 (可选)
同步流程:
文件变更 → 检测 (每 30 分钟) → 解析 Markdown → 更新数据库 → 日志记录
# 1. 检查数据库状态
python3 memory_query_agent.py --sync-status
# 2. 检查 Cron 任务
crontab -l | grep memory
# 3. 检查监控服务
ps aux | grep monitor_server
# 4. 查看同步日志
tail -f logs/memory_sync.log
| 文件/目录 | 用途 | 状态 |
|---|---|---|
skills/obsidian-cli/ | Obsidian CLI 技能 | ✅ 已安装 |
skills/obsidian-tasks/ | 任务管理技能 | ✅ 已安装 |
src/utils/git/ | Git 工具集 | ✅ 已集成 |
memory_query_agent.py | 记忆查询工具 | ✅ 运行中 |
monitor_server.py | 监控服务器 | ✅ 运行中 |
memory.db | SQLite 数据库 | ✅ 22 条记录 |
setup_cron.sh | Cron 配置 | ✅ 已配置 |
cron_status.json | 状态文件 | ✅ 实时更新 |
# 用户:我们有哪些核心能力?
# 助手:我们有四大核心能力...
# 用户:记忆数据库怎么样了?
# 助手:当前有 22 条记录,同步正常...
# 用户:帮我创建个笔记
# 助手:使用 obsidian create...
# 用户:同步正常吗?
# 助手:检查 Cron 和数据库...
能力确认报告_20260412.md - 详细能力报告memory/2026-04-12_核心能力总结.md - 完整能力文档memory/2026-04-12_能力确认_Obsidian 和 Git 同步.md - 原始记录记忆查询快速指南.md - 查询使用指南README_memory_sqlite.md - SQLite 系统文档创建时间: 2026-04-12 11:08
创建者: AI Assistant
查询方式: python3 memory_query_agent.py "核心能力"