obsidian-second-brain AI工具 是 AI Skill Hub 本期精选AI工具之一。已获得 1.1k 颗 GitHub Star,综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
将Obsidian笔记库转化为AI驱动的智能第二大脑。通过Claude API集成,实现笔记智能化处理、跨CLI技能调用、知识库关联推理等功能。适合需要智能知识管理的研究者、创意工作者和AI爱好者。
obsidian-second-brain AI工具 是一款基于 Python 开发的开源工具,专注于 Claude集成、笔记增强、AI代理 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
将Obsidian笔记库转化为AI驱动的智能第二大脑。通过Claude API集成,实现笔记智能化处理、跨CLI技能调用、知识库关联推理等功能。适合需要智能知识管理的研究者、创意工作者和AI爱好者。
obsidian-second-brain AI工具 是一款基于 Python 开发的开源工具,专注于 Claude集成、笔记增强、AI代理 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install obsidian-second-brain
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install obsidian-second-brain
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/eugeniughelbur/obsidian-second-brain
cd obsidian-second-brain
pip install -e .
# 验证安装
python -c "import obsidian_second_brain; print('安装成功')"
# 命令行使用
obsidian-second-brain --help
# 基本用法
obsidian-second-brain input_file -o output_file
# Python 代码中调用
import obsidian_second_brain
# 示例
result = obsidian_second_brain.process("input")
print(result)
# obsidian-second-brain 配置文件示例(config.yml) app: name: "obsidian-second-brain" debug: false log_level: "INFO" # 运行时指定配置文件 obsidian-second-brain --config config.yml # 或通过环境变量配置 export OBSIDIAN_SECOND_BRAIN_API_KEY="your-key" export OBSIDIAN_SECOND_BRAIN_OUTPUT_DIR="./output"
<p align="center"> <a href="https://github.com/eugeniughelbur/obsidian-second-brain"> <img src="media/banner.png" alt="obsidian-second-brain: one brain, four CLIs, 45 commands. A cross-CLI skill for Obsidian that runs on Claude Code, Codex CLI, Gemini CLI, and OpenCode." width="100%" /> </a> </p>
<p align="center"> <a href="#install"><img src="https://img.shields.io/badge/Claude_Code-D97757?style=for-the-badge&logo=anthropic&logoColor=white" alt="Claude Code" /></a> <a href="#codex-cli--gemini-cli--opencode"><img src="https://img.shields.io/badge/Codex_CLI-412991?style=for-the-badge&logo=openai&logoColor=white" alt="Codex CLI" /></a> <a href="#codex-cli--gemini-cli--opencode"><img src="https://img.shields.io/badge/Gemini_CLI-4285F4?style=for-the-badge&logo=googlegemini&logoColor=white" alt="Gemini CLI" /></a> <a href="#codex-cli--gemini-cli--opencode"><img src="https://img.shields.io/badge/OpenCode-181818?style=for-the-badge&logo=opensourceinitiative&logoColor=white" alt="OpenCode" /></a> </p>
<p align="center"> <strong>One codebase. Four CLIs. Same brain.</strong> </p>
<p align="center"> <img src="https://img.shields.io/badge/Obsidian-Vault-7C3AED?style=for-the-badge&logo=obsidian&logoColor=white" alt="Obsidian Vault" /> <img src="https://img.shields.io/github/v/release/eugeniughelbur/obsidian-second-brain?style=for-the-badge&color=green" alt="Release" /> <img src="https://img.shields.io/badge/license-MIT-blue?style=for-the-badge" alt="License: MIT" /> <img src="https://img.shields.io/github/stars/eugeniughelbur/obsidian-second-brain?style=for-the-badge&color=yellow" alt="Stars" /> <a href="https://github.com/sponsors/eugeniughelbur"><img src="https://img.shields.io/badge/Sponsor-EA4AAA?style=for-the-badge&logo=github-sponsors&logoColor=white" alt="Sponsor" /></a> </p>
<p align="center"> <strong>An evolution of <a href="https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f">Karpathy's LLM Wiki pattern</a>: a vault that rewrites itself.</strong> <br /><br /> <em>Every source updates existing pages instead of just appending new ones. Contradictions reconcile automatically. Your vault compounds while you sleep.</em> <br /><br /> <em>45 commands · auto-synthesis · thinking tools that argue with you</em> <br /><br /> <em>live research from X, the web, and YouTube · 4 scheduled agents · 4 role presets</em> <br /><br /> <em>write-time AI-first validator · <code>/create-command</code> interview flow · multilingual trigger schema</em> <br /><br /> <a href="#what-happens-when-you-install-this">See it in action</a> · <a href="#43-commands">All commands</a> · <a href="#install">Install</a> · <a href="#choose-your-preset">Presets</a> · <a href="https://github.com/eugeniughelbur/obsidian-second-brain/discussions">Discussions</a> </p>
<p align="center"> <strong>v0.10 - The Architect (May 2026):</strong> new <code>/obsidian-architect</code> scans a codebase and writes maintained architecture notes into your vault - refreshable, never clobbering your edits.<br/> <em>Plus free key-less research, Google Calendar commands, anti-hallucination guards, and tests + CI.</em><br/> <a href="CHANGELOG.md">See the changelog →</a> </p>
<p align="center"> <strong>From the blog</strong> · <a href="https://theaioperator.io">The AI Operator →</a> </p>
<p align="center"> <strong>Latest:</strong> <a href="https://theaioperator.io/p/huge-update-on-obsidian-second-brain">"HUGE update on obsidian-second-brain: The Architect"</a><br /> <em>v0.10 ships <code>/obsidian-architect</code> · document your codebase into your vault · the full before-and-after</em> </p>
<p align="center"> <strong>Deep dive:</strong> <a href="https://theaioperator.io/p/i-rebuilt-karpathys-llm-wiki-heres">"I rebuilt Karpathy's LLM Wiki. Here's what's missing from the original."</a><br /> <em>Why append-only breaks at scale · the AI-First Vault Principle · three bugs in v1</em> </p>
<p align="center"> <strong>Origin story:</strong> <a href="https://theaioperator.io/p/i-built-this-for-myself-then-1374">"I built this for myself. Then 1,374 strangers cloned it."</a><br /> <em>Two disconnected tools · the institutional-amnesia problem · 1,000+ stars in 7 weeks</em> </p>
<p align="center"> <em>One post per Tuesday on Obsidian + AI workflows and bringing AI into real work.</em> </p>
<p align="center"> <strong>Research toolkit · dual-track</strong><br/> <code>/x-read</code> · <code>/x-pulse</code> · <code>/research</code> · <code>/research-deep</code> · <code>/notebooklm</code> · <code>/youtube</code> · <code>/podcast</code> </p>
<p align="center"> <em><strong>Open-web track</strong> · <code>/research-deep</code> via Perplexity + Grok. Pulls fresh signal from outside.<br/> <strong>Source-grounded track</strong> · <code>/notebooklm</code> via Gemini File Search. Reads your own vault.<br/> Run both for high-stakes topics. <strong>Contradictions across the two are where the insight is.</strong></em> </p>
<p align="center"> Built by <a href="https://github.com/eugeniughelbur"><strong>Eugeniu Ghelbur</strong></a> · AI Automation Engineer @ Single Grain<br /> <em>building in public · sharing what works</em> </p>
What's the difference between an Obsidian Claude Code skill and a regular Obsidian plugin?An Obsidian plugin runs inside Obsidian and is written in TypeScript against Obsidian's plugin API. A Claude Code skill for Obsidian runs inside Claude Code and is written as a set of markdown command files plus optional Python scripts. Plugins are constrained to what Obsidian's API exposes. Skills are constrained only by what Claude can do in your shell, which is why this skill can do things plugins can't: pull live web research into vault notes, run scheduled agents that update your vault while you sleep, and synthesize knowledge across years of notes using Anthropic's Claude. Where do I file issues or feature requests?GitHub Issues: https://github.com/eugeniughelbur/obsidian-second-brain/issues. PRs welcome, see Contributing below. --- What Happens When You Install ThisAfter a meeting: You recorded a voice memo: You screenshot a whiteboard: You find a great video: Before a big decision: You want to see the big picture: You go to sleep: The nightly agent runs 5 phases: closes the day, reconciles contradictions, synthesizes cross-source patterns, heals orphan notes, and rebuilds the index. You wake up to a smarter vault. You start a new day: Someone shares an X post: You're planning today's content: You need real research: You want vault-first deep research: You hit a great YouTube video: You never open Obsidian. Everything happens through Claude. --- InstallOne codebase, six platforms. Pick yours below. The vault behavior is identical across all of them; only the install path and the dispatcher file ( then follow dist/hermes/INSTALL.md (copy into ~/.hermes/skills/ or add as a tap)json { "$schema": "https://opencode.ai/config.json", "model": "openrouter/nousresearch/hermes-4-70b", "provider": { "openrouter": { "models": { "nousresearch/hermes-4-70b": {} } } } } ```
Hermes models on OpenRouter (as of 2026-06, openrouter.ai):
For the privacy story, run a smaller Hermes locally through Ollama or LM Studio and point OpenCode at the local endpoint - no data leaves your machine. What to expect (open models follow instructions less reliably than Claude, so this is honest, not a promise of parity): the core commands - Research toolkit (optional)The 6 research commands need API keys. Run ```bash mkdir -p ~/.config/obsidian-second-brain cp .env.example ~/.config/obsidian-second-brain/.env chmod 600 ~/.config/obsidian-second-brain/.env Semantic search (optional, off by default)Search ( Two ways to provide the embedding model:
Knobs: --- Codex CLI / Gemini CLI / OpenCode
Then start your CLI from the vault root. The Codex build emits native Codex Agent Skills: one skill per command under Run Do I need API keys to use this?Mostly no. The vault commands ( Is this an Obsidian plugin or a Claude Code skill?This is a Claude Code skill, not an Obsidian plugin. An Obsidian plugin lives inside Obsidian and adds UI features there. A Claude Code skill lives inside Claude Code (Anthropic's terminal AI coding agent) and gives Claude the ability to read, write, and reason over your Obsidian vault from outside Obsidian. You install this skill into Claude Code, not into Obsidian. Your vault is unchanged, just better-leveraged. Can I have a separate vault per project (multi-repo workflows)?Yes. The default FAQ
🇨🇳 中文文档镜像
AI 翻译
2026-06-20
英文原文章节由系统翻译为中文摘要,便于快速理解。完整原文见上方 "📑 README 深度解析"。
📌 简介
obsidian-second-brain 是一个强大的跨平台 CLI 技能集,旨在将您的 Obsidian 库转化为一个智能的“第二大脑”。它通过集成 Claude Code、Codex CLI、Gemini CLI 和 OpenCode 四大终端 AI 工具,提供了多达 33 个智能命令。无论您是在处理会议记录还是整理灵感,该工具都能通过 AI 的推理能力,在命令行界面中实现对 Obsidian 笔记的深度管理与自动化处理。 ⚡ 功能介绍
本项目与传统的 Obsidian plugin 有本质区别。传统的插件受限于 Obsidian API 的 UI 交互,而本项目作为一种 Claude Code skill,运行在您的 Shell 环境中。这意味着它不受 Obsidian 内部 API 的约束,而是利用 Claude 在终端中的强大能力,通过 Markdown 命令文件和 Python 脚本,实现对笔记库的读、写、分析与推理,赋予 AI 直接操作您知识库的权限。 🛠 安装步骤(Docker/pip/源码)
本项目采用“一套代码,多平台支持”的设计。您可以根据需求选择 Claude Code、Codex CLI、Gemini CLI 或 OpenCode 平台进行安装。虽然不同平台的安装路径和调度文件(如 CLAUDE.md、AGENTS.md 或 GEMINI.md)有所不同,但它们对 Obsidian vault 的操作行为是完全一致的。请根据您选择的平台执行相应的构建与部署流程。 ⚙️ 配置说明(含 MCP / env)
本项目包含一个可选的 Research toolkit。如果您需要使用 `/x-read`、`/research` 等 6 个高级研究命令,则需要配置相应的 API keys。您可以通过运行 `install.sh` 并根据提示选择“y”来自动完成配置,系统会自动生成 `~/.config/obsidian-second-brain/.env` 文件;也可以手动创建目录并从 `.env.example` 复制配置文件进行管理。 🔌 API 说明
对于 Codex CLI、Gemini CLI 和 OpenCode 用户,可以通过克隆仓库并运行 `bash scripts/build.sh --platform [平台名称]` 来构建对应的分发文件。构建完成后,将 `dist` 目录下对应的文件拷贝至您的 vault 根目录或对应的隐藏配置目录(如 `.gemini-cli/`),随后从 vault 根目录启动您的 CLI 即可开始使用。 🔄 工作流/模块
本项目并非传统的 Obsidian plugin,而是一种 Claude Code skill。Obsidian plugin 侧重于在软件内部增强 UI 功能,而本项目则赋予了 Anthropic 的终端 AI 代理(Claude Code)一种“外部视角”,使其能够直接在您的 Shell 中读取、写入并对整个 Obsidian vault 进行逻辑推理,实现从语音转录到任务自动分发的自动化工作流。 ❓ FAQ 摘要
关于 API Key 的使用:基础的 27 个 vault 命令(如 `/obsidian-save`、`/obsidian-daily` 等)无需任何 API keys 即可直接运行。只有涉及高级研究功能的 6 个命令(如 `/x-pulse`、`/notebooklm`、`/youtube` 等)才需要配置 xAI Grok、Perplexity、Google Gemini 或 YouTube Data API 的密钥。
🎯 aiskill88 AI 点评
A 级
2026-05-21
融合Obsidian与Claude能力的创新工具,填补笔记应用与AI代理的空白。架构完整、社区活跃,是知识工作者升级工作流的优质方案。维护态度积极。 📚 实用指南(长尾问题)
适合谁
最佳实践
常见错误
部署方案
⚡ 核心功能
👥 适合谁
⭐ 最佳实践
⚠️ 常见错误
👥 适合人群🎯 使用场景
⚖️ 优点与不足✅ 优点
⚠️ 不足
⚠️ 使用须知
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。 建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。 📄 License 说明
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。 🔗 相关工具推荐markitdown AI技能包
微软开源的Python工具,将各类文件和Office文档智能转换为Markdown格式。支持PDF、Word、Excel
transformers AI技能包
Hugging Face开源的深度学习框架,提供预训练语言模型、视觉模型和多模态模型。集成BERT、GPT、Llama等
ComfyUI 节点式AI图像生成
强大的开源扩散模型可视化工具,提供图形界面、API和后端服务。采用节点图式设计,支持模块化工作流构建,适合AI绘图、图像
llama-cpp AI技能包
高效的大语言模型C/C++推理框架,支持在本地CPU/GPU上运行量化LLM模型,具有内存占用小、推理速度快的特点。适合
📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合
技能寻求者 MCP · Agent · 工作流 DeepCode Agent工作流 MCP · Agent · 工作流 natively-cluely-ai-assistant — Claude Skill 中文使用文档 免费开源的AI面试助手,实时转录,隐蔽模式,局部RAG,BYOK。无订阅,防止数据泄露。 gptme Agent工作流 MCP · Agent · 工作流 total-agent-memory MCP工具 为Claude Code和Codex CLI提供持久化记忆功能的开源MCP工具。自动提取知识图谱,支持多轮对话上下文保留,适合需要长期记忆和 cordum MCP工具 MCP · Agent · 工作流 ❓ 常见问题 FAQ需要Anthropic Claude API密钥,可在claude.ai申请获得。
💡 AI Skill Hub 点评
经综合评估,obsidian-second-brain AI工具 在AI工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。 🌐 原始信息
🔗 原始来源
🐙 GitHub 仓库 https://github.com/eugeniughelbur/obsidian-second-brain
🌐 官方网站 https://theaioperator.io
收录时间:2026-05-14 · 更新时间:2026-05-16 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。 |