core-capabilities
工作助手核心能力集成 - 包含 Obsidian/Git 同步、记忆数据库、自然语言查询、监控页面等完整能力套件。当用户需要查询系统能力、使用 Obsidian、管理记忆、查看状态时使用此技能。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/awublack/core-capabilitiesCore Capabilities - 工作助手核心能力套件
本技能整合了工作助手的所有核心能力,提供完整的能力查询、状态检查和使用指导。
能力清单
1. 🧠 Obsidian 和 Git 同步能力
Obsidian 完整能力
- 文件管理: 创建/读取/编辑/删除/移动笔记
- Daily Notes: 自动化日记生成和管理
- 任务系统: Kanban 任务板 + Dataview 仪表板
- 标签属性: 完整的标签和 YAML Frontmatter 管理
- 搜索功能: 全文搜索、正则匹配、作用域搜索
- 模板工作区: 模板插入、工作区保存加载
- 同步发布: Obsidian Sync/Publish 支持
- 开发者工具: CDP、DOM 检查、CSS 调试
关键文件:
skills/obsidian-cli/SKILL.md- CLI 完整文档skills/obsidian-tasks/SKILL.md- 任务管理
Git 同步能力
- 安全操作: 防误删、防敏感信息泄露
- 版本控制: 提交历史、差异比较、分支管理
- 远程同步: 推送拉取、冲突检测
- 自动跟踪: 文件变更自动检测
工作流:
Obsidian 编辑 → 自动保存 → Git 检测 → 定时提交 → 远程同步
2. 📊 记忆数据库
数据库信息:
- 类型: SQLite (
memory.db) - 记录数: 22 条(动态增长)
- 同步频率: 每 30 分钟自动同步
- Cron 配置:
*/30 * * * *
记录分布:
| 类型 | 数量 | 说明 |
|---|---|---|
| memory | 12 | 日常记忆 |
| feedback | 2 | 用户反馈 |
| project | 2 | 项目记录 |
| reference | 4 | 参考资料 |
| user | 2 | 用户信息 |
同步机制:
- 工具:
memory_query_agent.py --sync-now - 日志:
logs/memory_sync.log - 状态: ✅ 正常运行
3. 🔍 自然语言查询
查询能力:
- 中文支持: 完全支持中文自然语言
- 意图识别: 自动识别搜索/统计/时间/类型
- 关键词提取: 智能分词和停用词过滤
- 结果解释: 将数据库结果转换为自然语言
使用示例:
# 交互模式
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
查询类型:
- 统计查询: "我有多少条记忆?"
- 类型过滤: "feedback 类型有几条?"
- 关键词搜索: "关于 Hermes 的记录"
- 时间查询: "最近的记录"
- 组合查询: "project 类型最近的记录"
4. 📈 监控页面
Web 监控:
- 地址: http://localhost:8003/cron_status_clickable.html
- 功能:
- ✅ Cron 任务状态显示
- ✅ 数据库统计信息
- ✅ 每 30 秒自动刷新
- ✅ 点击统计数字查看详细列表
- ✅ 错误处理和重试机制
- ✅ 美观的加载动画
服务状态:
- 端口: 8003
- 进程:
python3 monitor_server.py 8003 - API: http://localhost:8003/api/status
- 日志:
/tmp/monitor_server.log
快速开始
1. 使用 Obsidian
# 打开今日日记
obsidian daily
# 创建笔记
obsidian create name="测试" content="内容"
# 搜索
obsidian search query="关键词"
# 任务管理
obsidian tasks daily todo
2. 查询记忆
# 交互模式
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
3. 查看监控
# 浏览器访问
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 &
4. Git 同步
# 查看状态
git status
# 提交变更
git add . && git commit -m "daily: 2026-04-12"
# 推送
git push
系统架构
用户请求
↓
自然语言理解 (memory_query_agent.py)
↓
SQL 生成和执行
↓
SQLite 数据库 (memory.db)
↓
结果解释和返回
↓
Web 监控页面 (可选)
同步流程:
文件变更 → 检测 (每 30 分钟) → 解析 Markdown → 更新数据库 → 日志记录
管理命令
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-awublack-core-capabilities": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
context-compressor
Intelligently compress context — conversations, code, logs. Preserve key information while reducing token usage. Auto-detects content type and applies optimal compression.
securityvitals
Security vitals checker for OpenClaw. Scans your installation, scores your setup, and shows you exactly what to fix. First scan in seconds.
daily-report-generator
Automatically generate daily/weekly work reports from git commits, calendar events, and task lists. Use when you need to quickly create professional work reports without manual effort.
auto-context
智能上下文卫生检查器。分析当前会话的上下文污染程度 (长对话、主题漂移、噪声累积),建议:continue、/fork、/btw 或新会话。 支持手动触发(/auto-context)和自动触发(响应层实现)。 基于 ArXiv 论文和认知心理学研究的多维度评估体系。
feishu-cron-announce
创建定时任务并通过 OpenClaw cron announce 直接推送结果到飞书。当需要设置定时监控任务(如版本发布、天气、股票等)并让结果自动推送到飞书时使用。关键词:飞书定时推送、cron 定时任务、飞书 announce、定时监控、飞书监控通知。