obsidian-second-brain
eugeniughelbur · eugeniughelbur/obsidian-second-brain
Plugin này cung cấp bộ nhớ bền vững cho các AI agent bằng cách lưu trữ và quản lý kiến thức tự viết lại trong một Obsidian vault, cho phép học hỏi liên tục.
Bộ nhớ bền vững cho Claude Code và 6 CLI agent khác, được lưu trữ dưới dạng markdown đơn giản trong Obsidian vault của bạn. Ngừng giải thích lại các dự án, quyết định và con người của bạn trong mỗi phiên làm việc. 45 lệnh: tìm kiếm ngữ nghĩa lai, ghi chú tự viết lại, nghiên cứu web không cần khóa và các agent được lên lịch duy trì vault trong khi bạn ngủ.
Xem trước
Bạn có thể làm gì với nó
- Cho phép AI agent Claude Code của bạn ghi nhớ các quyết định và ngữ cảnh dự án trước đây qua các phiên làm việc.
- Tự động tổng hợp và cập nhật ghi chú trong Obsidian vault của bạn dựa trên thông tin mới hoặc tương tác của agent.
- Sử dụng các agent đã lên lịch để thực hiện nghiên cứu web trực tiếp và tích hợp kết quả vào cơ sở tri thức của bạn khi bạn đang ngủ.
Kiểm tra an toàn
Dùng được, nhưng nên đọc ghi chú trước.
- ●Bảo agent tải và chạy một script từ xa.
SKILL.md - ●Trình cài đặt tải script từ xa và chạy thẳng bằng shell.
install.sh
Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.
Trích từ README
Your vault is the memory. Claude, Grok Bot, Codex - same brain.
Your vault outlives whichever CLI you switch to.
obsidian-second-brain: AI second brain for Obsidian - persistent memory for Claude Code and Grok Bot
An evolution of Karpathy's LLM Wiki pattern: a vault that rewrites itself.
Every source updates existing pages instead of just appending new ones. Contradictions reconcile automatically. Your vault compounds while you sleep.
Powered by OKM - Open Knowledge Metabolism: every stored fact is timeless, dated, or a pointer - so your knowledge base never fills with facts that used to be true.
Built for developers · founders and operators · writers · researchers - pick a preset at setup
Start with three: /obsidian-init to set up, /obsidian-save to capture, /obsidian-find to recall. The other 42 are there when you need them.
auto-synthesis · thinking tools that argue with you
live research from X, the web, and YouTube · 4 scheduled agents · 4 role presets
write-time AI-first validator · /create-command interview flow · multilingual trigger schema
Install → · Demos · See it in action · All commands · Presets · OKM · Discussions
One /obsidian-save - five cross-linked notes. Real footage, synthetic vault. More demos →
If this looks useful, star the repo. It is how other people find it.
v0.15 - The Port (September 2026): the plugin now runs on Windows the way it runs on macOS and Linux, fixed end to end by a contributor across two PRs. Windows paths, CRLF and BOM notes, UTF-8 everywhere, a USERPROFILE-aware config home; plus Gemini-first /podcast with a free Whisper fallback, tag syntax and taxonomy checks, Simplified Chinese triggers, /obsidian-reindex, an Obsidian lint plugin, platform ownership, AI-FIRST.md, a reproducible retrieval benchmark, a generated docs site, typed edges, and the callout preamble. 763-test CI wall. See the changelog →
The Problem
You use Claude every day. Every session starts from scratch. You re-explain everything. The conversation ends. Everything disappears. Claude Code has no persistent memory across sessions - and neither does Grok Bot, Codex, Gemini, or any of the others.
You take notes in Obsidian. Hundreds of files. They just sit there. You make the same decision twice because you forgot you made it six months ago. Ideas rot in daily notes. Nobody connects the dots.
Two powerful tools. Completely disconnected. You already have the long-term memory. The thing doing the thinking cannot reach it.
How this extends Karpathy's LLM Wiki
Karpathy's pattern is brilliant. Drop sources, LLM creates wiki pages, ask questions. This skill takes it further:
| Karpathy's LLM Wiki | obsidian-second-brain | |
|---|---|---|
| New sources | Append new pages, cross-reference | Rewrite existing pages. People get updated, claims revised, stale facts replaced. |
| Contradictions | Flagged, you resolve manually | /obsidian-reconcile resolves them automatically |
| Patterns | Surface when you ask | /obsidian-synthesize finds unnamed patterns and writes synthesis pages on its own |
| When it runs | On demand, when you prompt | 4 scheduled agents: morning brief, nightly consolidation, weekly review, vault-health check |
| Note format | Human-readable wiki pages | AI-first: ## For future agent preamble + frontmatter for LLM retrieval, not human review |
If Karpathy's wiki is a knowledge base you maintain with an LLM, this is a knowledge base that maintains itself.
What Happens When You Install This
After a meeting: /obsidian-save
Claude pulls out every decision, person, task, and idea and saves each one to the right note. You do nothing.
You recorded a voice memo: /obsidian-ingest meeting.m4a
Claude transcribes it with a local Whisper install, attributes speakers where the transcript makes them identifiable, extracts every promise and action item, and distributes across entity pages, task boards, and the daily note.
You screenshot a whiteboard: /obsidian-ingest photo.png
Claude reads the image, extracts text and structure, creates concept notes, links to related projects. A photo becomes knowledge.
You find a great video: /obsidian-ingest https://youtube.com/...
Claude doesn't summarize into one note. It REWRITES your existing pages. People get updated. Contradictions get resolved. Patterns trigger new synthesis pages. One URL in. The vault is smarter.
Before a big decision: /obsidian-challenge
Claude searches your vault for past failures and reversed decisions on the same topic. Pushes back with your own words. Your vault holds you accountable.
You want to see the big picture: /obsidian-visualize
Claude generates a visual canvas of your entire vault. Hub nodes centered, color-coded by type, orphans highlighted. Open it in Obsidian and see the shape of your knowledge.
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: /obsidian-daily
Claude pulls your calendar events, overdue tasks, and overnight changes into today's note. Your morning starts informed.
Someone shares an X post: /x-read https://x.com/...
Grok with live X access fetches the post, the thread, and the replies. Returns verbatim text + TL;DR + key claims + reply sentiment + voices to watch. No more screenshots.
**You're planning toda