Xiaodi Obsidian Brain Pro
v1.1.4WhatsApp/Telegram → Obsidian 智能记忆增强,防幻觉纠偏,隐私脱敏,让碎碎念自动变成结构化知识(开车/工地语音输入友好)
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
Name/description (WhatsApp/Telegram → Obsidian, local Ollama embeddings, optional Git backup) align with the provided scripts and prompts: the package reads/writes Obsidian notes, runs a local Ollama embedding call, formats notes, and pushes to Git. Minor oddity: no declared required env vars but the Python script uses OLLAMA_BASE_URL (with a non-local default) and OBISIDIAN paths are set in config; overall capability list is coherent with files and metadata.
Instruction Scope
Runtime instructions and scripts will read notebooks from user-specified Obsidian folders, transform content, run a search engine against those files, and execute Git push operations. The skill's policies claim automatic 'privacy redaction' before push, but redaction is implemented as heuristics in prompts (length-based API key detection, token prefixes like ghp_, sk-) which can be bypassed by different token formats or poorly parsed content. Because the skill will read arbitrary .md files and may push them to a remote repo, this scope includes potential data exfiltration if a remote is misconfigured or redaction fails.
Install Mechanism
No external install spec or remote downloads are present — the skill is instruction+scripts only. That lowers supply-chain risk. The included scripts and Python code are plain-text and execute locally; nothing is fetched from third-party URLs during install.
Credentials
The skill declares no required environment variables but the search_engine.py expects OLLAMA_BASE_URL and OLLAMA_MODEL and uses a default OLLAMA_BASE_URL of http://192.168.3.120:11434. That embedded default IP is unexpected and could cause network calls to an unintended host if the user doesn't configure the env var. Git push scripts make network connections to whatever Git remote is configured; secrets required for Git (SSH keys or tokens) are not requested explicitly but will be used if present on the host. The redaction rules are heuristic and may not reliably catch all sensitive tokens, so requesting no credentials reduces transparency rather than risk — the skill still requires network access and may leverage host-level Git credentials.
Persistence & Privilege
The skill is not 'always: true' and does not request modification of other skills. It does require file read/write and exec permissions (declared in metadata) to operate on your Obsidian vault and run git scripts — this is consistent with its purpose but is a persistent local presence with the ability to read, write, and push data from configured folders.
What to consider before installing
Before installing or enabling this skill:
- Review and test scripts in a sandbox: inspect push_to_git.sh/sync.sh and search_engine.py and run them manually with test data to see what is pushed and where.
- Configure OLLAMA_BASE_URL explicitly (prefer localhost) — do not rely on the default http://192.168.3.120:11434.
- Disable or verify Git backup before first run: set git_backup.enabled to false in _meta.json or ensure the repo/remote is a private test repo. Confirm what remote 'origin' points to and that you control it.
- Do not run with secrets present in your Obsidian vault until you are confident redaction works; the redaction is heuristic and can miss unusual token formats. Consider sanitizing notes before enabling auto-push.
- Limit the agent's permissions during testing (run as a user with minimal Git credentials, or run inside an isolated container/VM with a disposable vault).
- If you plan to use Ollama, deploy it locally and point OLLAMA_BASE_URL to a host you control; confirm embedding requests do not leak to external networks.
- If uncertain, run search_engine.py manually to verify behavior and outputs and verify no unexpected network endpoints are contacted.
These checks will reduce the risk of accidental data leakage or misconfiguration. If you want, I can list the exact lines to change to disable Git push by default or to tighten the redaction heuristics.Like a lobster shell, security has layers — review code before you run it.
latest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
🧠 Clawdis
SKILL.md
🧠 xiaodi-Obsidian-Brain-Pro(内测版)
一句话简介:将你的 WhatsApp/Telegram 变成 Obsidian 的"前置大脑",支持本地 Ollama 语义检索,让碎碎念自动变成结构化知识。
🌟 为什么你需要这个?
痛点
- ❌ 记了 1000 篇笔记,想找的时候找不到
- ❌ 想记的时候嫌打开电脑麻烦
- ❌ 碎片化想法散落在聊天记录里,永远丢失
- ❌ 第三方云端笔记隐私堪忧
解决方案
xiaodi-Obsidian-Brain-Pro = WhatsApp盲发 + Ollama语义索引 + 自动标签归类 + GitHub自动备份
🚀 核心功能
1. 【闪电入库】
在开车、走路时发一句语音或文字给小弟,自动同步到 Daily Notes。
核心原则:
- ✅ 保持原汁原味:不精简、不提炼、不改语气
- ✅ 只修格式:调整段落、修正语病
- ✅ 带感情命名:
2026-03-27 随想与感悟.md(不是干巴巴的日期) - ✅ 多语言纠偏:自动修正语音识别错误(Open Crow → OpenClaw)
- ✅ 隐私脱敏:API Key/密码自动替换为
[PROTECTED]
示例:
用户发送(开车路上语音转文字):
"现在颈椎有点痛,我在开车路上,今天想写点东西,突然发现思绪有点混乱..."
自动生成:
文件:2026-03-27 随想与感悟.md
内容:保持原话,只修格式和语病
1.1 【多语言纠偏白名单】⭐ NEW
场景:开车/工地语音输入,常见识别错误:
| 语音识别错误 | 自动修正 |
|---|---|
| Open Crow | OpenClaw |
| 导课 | Docker |
| 码云 | Git |
| 病毒 | Docker(容器) |
| 阿里云百炼 | Bailian |
规则:只修正白名单术语,防止篡改其他内容。
1.2 【隐私脱敏红线】⭐ NEW
自动脱敏内容类型:
| 类型 | 脱敏标记 |
|---|---|
| API Key | [API_KEY_PROTECTED] |
| 密码 | [PASSWORD_PROTECTED] |
| Token | [TOKEN_PROTECTED] |
| 手机号 | [PHONE_PROTECTED] |
防止泄露路径:
语音说 API Key → 自动脱敏 → 推送 GitHub → 安全 ✅
2. 【语义搜索】
整合 Ollama (nomic-embed-text),支持"模糊提问"。
示例:
| 你的提问 | 自动关联 |
|---|---|
| "我最近身体咋样?" | → 3天前抱怨颈椎痛的笔记 |
| "上周末干了啥?" | → 台球桌试验记录 |
| "大姐出院了吗?" | → 戊肝治愈出院的记录 |
技术实现:
{
"provider": "ollama",
"model": "nomic-embed-text",
"extraPaths": [
"~/Obsidian/Daily Notes",
"~/Obsidian/每日笔记"
]
}
3. 【安全第一】
全本地运行:
- ✅ Ollama 本地 embedding(不上传云端)
- ✅ Obsidian 本地存储(你的考研计划、股票持仓、工作教训)
- ✅ GitHub 私有仓库备份(可选)
隐私保证:
考研计划、股票持仓、工作教训,绝不上传第三方云端。
4. 【多 Agent 协作】
内置"整理专家"和"复盘专家":
| Agent | 功能 | 执行时间 |
|---|---|---|
| 整理专家 | 每日笔记自动标签归类 | 每晚 23:00 |
| 复盘专家 | 生成一周摘要 | 每周日 20:00 |
📦 安装命令
# ClawHub 一键安装
npx clawhub@latest install xiaodi-obsidian-brain-pro
# 手动安装
git clone https://github.com/mx6315909/xiaodi-obsidian-brain-pro.git
cd xiaodi-obsidian-brain-pro
openclaw skill link .
🔧 配置要求
| 项目 | 要求 |
|---|---|
| OpenClaw | 2026.3.8+ |
| Ollama | nomic-embed-text 模型 |
| Obsidian | Daily Notes 文件夹 |
| Git | 私有仓库备份(可选) |
💰 商业化
基础版(免费)
在 ClawHub 免费发布,攒口碑和 Star。
专业版(付费咨询)
服务内容:
- 群晖 NAS 一键部署环境包
- 1对1 调教服务(定制你的记忆流程)
- WhatsApp/Telegram 双渠道配置
联系方式:
- GitHub: https://github.com/mx6315909/xiaodi-obsidian-brain-pro
- ClawHub: https://clawhub.ai/skills/xiaodi-obsidian-brain-pro
定价:
- 基础部署:199 元
- 高级定制:499 元
📊 对比图
| 功能 | 普通笔记 | xiaodi-Obsidian-Brain-Pro |
|---|---|---|
| 入库方式 | 打开电脑手写 | WhatsApp盲发 |
| 搜索方式 | 关键词匹配(找不到) | Ollama语义检索(模糊问也能找到) |
| 隐私安全 | 云端存储 | 全本地运行 |
| 自动备份 | 手动操作 | Git自动同步 |
| 情感保留 | 被AI精简 | 保持原汁原味 |
| 语音纠偏 | 无 | ⭐ 自动修正 Open Crow → OpenClaw |
| 隐私脱敏 | 无 | ⭐ API Key 自动替换 [PROTECTED] |
🎯 正确 vs 错误对照(海报素材)
❌ 传统 AI 笔记(爹味严重)
# 2026-03-27 工作总结与思考
## 身体状况
颈椎疼痛,背部不适,影响工作效率。
## 解决方案
计划购置床头书桌,改善工作姿势。
## 项目反思
OpenClaw 项目方向需要重新审视...
*整理时间:2026-03-27*
问题:
- ❌ 把"有点烦"改成"情绪需要调整"
- ❌ 把"胡乱写点东西"改成"整理思绪"
- ❌ 把碎片化思绪整理成"逻辑清晰的结构"
- ❌ 用户原话被篡改
✅ xiaodi-Obsidian-Brain-Pro(拒绝爹味)
# 2026-03-27 随想与感悟
现在颈椎有点痛,我在开车路上。
思绪有点混乱,碎片化,前后不连贯。
因为颈椎疼背疼,想买书桌躺着看电脑。
转而又一想,搞 OpenClaw 到底为什么?
---
*写于开车路上,思绪有点混乱碎片化*
核心一句话:
用户说的每一句话都是证据,你只能整理格式,不能篡改证据。
🎯 适用人群
- ✅ 碎片化记录爱好者(开车、走路时想法多)
- ✅ Obsidian 重度用户(1000+笔记找不到)
- ✅ 隐私敏感人群(考研计划、股票持仓不想泄露)
- ✅ OpenClaw 早期体验者(想尝试 Agent 技能)
📝 更新日志
| 版本 | 日期 | 更新内容 |
|---|---|---|
| v1.1.3 | 2026-03-28 | ⭐ 添加 tags 关键词标签,提升搜索可见度 |
| v1.1.2 | 2026-03-28 | ⭐ SKILL.md修复 - homepage URL/安装命令/版本一致性 |
| v1.1.1 | 2026-03-28 | ⭐ 添加路径配置警告 + 修复 homepage URL |
| v1.1.0 | 2026-03-28 | ⭐ 新增多语言纠偏白名单 + 隐私脱敏红线 |
| v1.0.0 | 2026-03-28 | 初始发布:闪电入库 + 语义搜索 + 安全第一 |
🤝 贡献
欢迎提交 Issue 和 PR:
- GitHub: https://github.com/mx6315909/xiaodi-obsidian-brain-pro
- ClawHub: https://clawhub.ai
📄 License
MIT License
"让你的 Obsidian 真正长出大脑" 🧠
Files
10 totalSelect a file
Select a file to preview.
Comments
Loading comments…
