Fastest way to scaffold your LLM powered personal knowledge base - Obsidian, Claude Code, qmd, Github
JavaScript aiampclaude-codecodexcursorgithubknowledge-baseknowledge-graphknowledge-managementllmobsidianobsidian-vaultqmdsecond-brain
# claude-second-brain
**Your notes don't compound. This wiki does.**
The fastest way to start your personal knowledge base powered by [Obsidian](https://obsidian.md), [Claude Code](https://claude.ai/code), [qmd](https://github.com/tobi/qmd), and GitHub.
```bash
npx claude-second-brain
```
One command gives you a fully wired knowledge system:
- **Claude** ingests your sources and maintains a cross-linked wiki
- **qmd** powers local semantic search (vector + BM25)
- The scaffolded folder **is your Obsidian vault** — open it directly, with [obsidian-git](https://github.com/Vinzent03/obsidian-git) pre-configured for seamless sync
- **GitHub** is the source of truth — version history, anywhere access, and a backup you control
You've been reading papers, articles, and books for years. Drop a source in, run `/brain-ingest`, and Claude reads it — extracts what matters, cross-links it to everything you already know, and files it. Ask a question six months later and get cited answers, not a list of files to re-read.
> Inspired by [Andrej Karpathy's approach to LLM-powered knowledge management](https://x.com/karpathy/status/2040470801506541998?s=20) — share an "idea file" with an LLM agent and let it build and maintain your knowledge base.
## How this is different
This is not a RAG system. It's not a chatbot over your notes. It's an actively maintained, cross-linked wiki — five structured page types, YAML frontmatter, and a set of Claude Code skills that run the whole thing.
The schema ([CLAUDE.md](https://github.com/jessepinkman9900/claude-second-brain/blob/main/CLAUDE.md)) is that idea file. Claude reads it every session.
## The stack
| Tool | Role |
| --- | --- |
| **Claude Code** | Reads sources, writes wiki pages, cross-links, flags contradictions |
| **qmd** | Local hybrid search (vector + BM25) across your entire wiki |
| **Obsidian** | Graph view, backlinks, mobile reading — offline, no extra sync |
| **GitHub** | Source of truth — version history, Claude Code anywhere, Obsidian sync |
Everything is pre-configured. You bring the sources.
Next: [Get started in 3 steps →](/getting-started)