claude-obsidian: The Open-Source AI Second Brain With 12,900+ GitHub Stars That Turns Obsidian Into a Self-Organizing Knowledge System
Learn how claude-obsidian transforms Obsidian into an AI-powered second brain using Claude Code. Local-first, source-grounded, and transaction-safe knowledge management with 12,900+ GitHub stars.
Quick Answer
claude-obsidian is an open-source tool that turns Obsidian into an AI-powered second brain. Using Claude Code, it captures sources, creates linked knowledge graphs, and answers questions from your own notes—all while keeping your files local and owned by you. With 12,900+ GitHub stars, it is the leading open-source alternative to cloud-based AI note-taking tools.
Why Your Note-Taking System Needs an AI Upgrade
If you are like most developers, you have accumulated thousands of notes, bookmarks, and code snippets across multiple tools. The problem? They are scattered, disconnected, and rarely surface when you actually need them.
Traditional note-taking apps treat knowledge as static text. You write something, file it away, and forget it exists. claude-obsidian changes this paradigm entirely.
Built on Andrej Karpathy's LLM Wiki pattern and trending on GitHub with over 12,900 stars, claude-obsidian transforms Obsidian from a simple Markdown editor into a self-organizing knowledge system that grows smarter every time you use it.
What Makes claude-obsidian Different
1. Local-First, Privacy-First
Unlike cloud-based AI note tools, claude-obsidian keeps everything on your machine. Your vault remains a normal directory of Markdown files—no hidden caches, no cloud uploads, no vendor lock-in. Network access is explicit and optional.
# Your vault is just files
ls ~/Documents/MyKnowledgeVault
# inbox/ concepts/ entities/ sources/ .claude-obsidian.json
2. Source-Grounded Knowledge
Every claim in your notes traces back to its source. The system maintains provenance ledgers that track:
- Authority — Where did this information come from?
- Freshness — When was it last verified?
- Support — What evidence backs this claim?
- Contradiction — Are there conflicting sources?
- Confidence — How reliable is this information?
This means you never lose track of why you know something or whether it is still accurate.
3. Transaction-Safe Writes
Parallel AI agents cannot corrupt your vault. Every write operation is atomic:
- Read targets and record SHA-256 checksums
- Workers return drafts (no direct writes)
- One orchestrator inspects the complete change
- Apply once as a recoverable transaction
- Report exact changed paths
If something fails, the system restores the prior state automatically.
15 Skills, One Unified System
claude-obsidian is not a single tool—it is a coordinated suite of 15 skills that work together:
Core Skills
- wiki — Initialize or adopt vaults, diagnose readiness
- save — Save scoped answers (never automatic transcripts)
- wiki-ingest — Turn sources into linked pages with provenance
- wiki-query — Answer questions from vault evidence only
- wiki-lint — Find dead links, orphans, metadata gaps
Advanced Skills
- autoresearch — Bounded web research with explicit consent
- canvas — Create Obsidian Canvas visual maps
- defuddle — Clean web content before ingestion
- wiki-fold — Generate traceable rollups
- wiki-retrieve — BM25 search with optional reranking
Foundation Skills
- obsidian-markdown — Correct Obsidian Flavored Markdown
- obsidian-bases — Native .base tables and filters
- think — Structured review loops
Real-World Example: Building a Research Workflow
Here is how a developer might use claude-obsidian to research a new technology:
Step 1: Initialize the Vault
git clone https://github.com/AgriciDaniel/claude-obsidian.git
cd claude-obsidian
export GENERATED_AT="$(date -u +%Y-%m-%dT%H:%M:%SZ)"
export OPERATION_ID="init-reviewed"
python3 scripts/claude-obsidian.py init "$HOME/Documents/TechResearch" \
--generated-at "$GENERATED_AT" --operation-id "$OPERATION_ID"
# Review the JSON plan, then apply:
python3 scripts/claude-obsidian.py init "$HOME/Documents/TechResearch" \
--generated-at "$GENERATED_AT" --operation-id "$OPERATION_ID" \
--approved-plan-sha256 "<sha256-from-plan>" --apply
Step 2: Capture Sources
Drop a PDF, article, or code snippet into the inbox/ folder, then ingest:
cd "$HOME/Documents/TechResearch"
claude --plugin-dir /path/to/claude-obsidian
# In Claude Code:
/claude-obsidian:wiki-ingest
The system creates linked pages, extracts key concepts, and records provenance.
Step 3: Query Your Knowledge
/claude-obsidian:wiki-query "What are the tradeoffs between REST and GraphQL?"
Claude answers using only evidence from your vault, with citations to specific sources.
Step 4: Maintain Quality
/claude-obsidian:wiki-lint
This reports orphaned notes, broken links, stale indexes, and missing metadata.
Key Benefits
- Data Ownership — Your files remain plain Markdown you control
- Source Tracking — Every claim links back to evidence
- Conflict Detection — Contradictory information stays visible
- Multi-Agent Safe — Transaction-safe writes prevent corruption
- Methodology Flexibility — Supports Generic, LYT, PARA, and Zettelkasten
- No Vendor Lock-In — Works with or without AI, with or without Obsidian
- Cross-Platform — Compatible with Claude Code, Codex, OpenCode, Gemini, Cursor, Windsurf
- Open Source — MIT licensed, 12,900+ stars, active community
Methodology Modes: Your Knowledge, Your Way
claude-obsidian supports four organizational philosophies without forcing you to reorganize existing notes:
- Generic (default) — Sources, concepts, entities, sessions. Best for getting started quickly.
- LYT (Linking Your Thinking) — Maps of Content + atomic notes. Best for visual thinkers.
- PARA — Projects, Areas, Resources, Archives. Best for action-oriented workflows.
- Zettelkasten — Stable IDs, atomic notes, dense links. Best for academic research.
Switching modes changes how new notes are routed—it does not silently reorganize old ones.
Getting Started
Ready to build your AI second brain?
# Clone the repository
git clone https://github.com/AgriciDaniel/claude-obsidian.git
cd claude-obsidian
# Initialize a new vault
python3 scripts/claude-obsidian.py init ~/Documents/MyVault
# Or adopt an existing Obsidian vault
python3 scripts/claude-obsidian.py adopt ~/Documents/ExistingVault
# Open in Obsidian and start Claude Code
cd ~/Documents/MyVault
claude --plugin-dir /path/to/claude-obsidian
# Begin with:
/claude-obsidian:wiki
For detailed setup instructions, platform-specific guides, and troubleshooting, check the official installation guide.
FAQ
Q: Is my data sent to Claude or any cloud service?
A: No. claude-obsidian is local-first by design. Your vault remains on your machine as plain Markdown files. Network access is optional and requires explicit consent for each operation.
Q: Can I use this with my existing Obsidian vault?
A: Yes. Use the adopt command to non-destructively add claude-obsidian structure to an existing vault. Your current notes remain untouched; the system adds its metadata layer on top.
Q: What happens if I stop using claude-obsidian?
A: Your vault remains perfectly usable as ordinary Markdown files. The AI layer is additive—you lose the automation, but not your knowledge or structure.
Q: Does it work with other AI coding tools besides Claude Code?
A: Yes. claude-obsidian supports Codex, OpenCode, Gemini, Cursor, and Windsurf through portable Agent Skills links. The core functionality works across compatible hosts.
Q: How does it handle conflicting information?
A: The system tracks contradictions explicitly. When two sources disagree, both remain visible with their confidence scores. High-risk claims require two independent sources before being marked as accepted.
Q: Can multiple AI agents work on the same vault simultaneously?
A: Yes, but safely. Workers return drafts; one orchestrator inspects and applies changes as atomic transactions. This prevents race conditions and ensures recoverability.
Q: What is the difference between this and just using ChatGPT with my notes?
A: ChatGPT has no persistent memory of your notes between conversations. claude-obsidian builds a structured knowledge graph with provenance tracking, so answers are grounded in your actual sources, not hallucinated.
Q: Is it free?
A: Yes. claude-obsidian is MIT licensed and completely free. You will need access to Claude Code or a compatible AI coding tool, which may have their own pricing.
🚀 Ready to level up your development skills? Check out CoddyKit's comprehensive programming courses to master modern web and mobile development with hands-on projects and expert guidance.