Turn Any Codebase into a Knowledge Graph Inside Your Obsidian Vault
Watch on TikTok
Graphify can point at any repository and turn it into a knowledge graph. Combine that with Obsidian and Claude Code, and you get a structured second brain built from real documentation that lives inside your existing vault. The whole pipeline takes a few commands.
What Graphify Actually Does
Graphify takes a repository (code or documentation) and converts it into a knowledge graph. Each concept becomes a node, and Graphify draws connections between related nodes automatically. In the video, Chase points it at the full Claude Code documentation. The result is a visual graph where concepts like CLAUDE.md, Commands, skills/ Directory, agents/ Directory, Troubleshooting, and rules/ Directory all appear as labeled nodes with edges showing how they relate to each other.
This is useful on its own for exploring unfamiliar codebases or large documentation sets. But the real value comes from what you do next.
Exporting to Obsidian
Graphify includes a built-in command to export the knowledge graph as an Obsidian vault. Each node becomes a markdown note, and the connections between nodes become Obsidian links. You end up with a standalone vault that mirrors the structure of the knowledge graph.
That standalone vault is ready to use immediately, but it gets more powerful when you merge it with an existing vault where you already keep your own notes.
Merging with Your Main Vault via Claude Code
Once the Graphify vault exists on disk, Chase uses a single Claude Code command to merge it into his main Obsidian vault. The graph view in Obsidian shows the result clearly: a large new cluster of interconnected documentation nodes appears alongside his existing notes. The Claude Code docs form their own dense cluster while still linking into the rest of his knowledge base where relevant.
This means you can pull in structured knowledge from any public repo and have it sit right next to your personal notes, project plans, and reference material. The merge is additive, so nothing in your existing vault gets overwritten.
Why This Combination Works
Each tool handles one job well. Graphify handles the extraction and structuring of knowledge from source material. Obsidian handles storage, linking, and visualization. Claude Code handles the automation of merging vaults together. The three tools reinforce each other without any of them needing to do something outside their core function.
Key Takeaways
- Graphify converts any repository into a knowledge graph where concepts are nodes and relationships are edges
- The export-to-vault command turns that graph into Obsidian-compatible markdown with proper internal links
- Claude Code can merge two Obsidian vaults with a single command, keeping your existing notes intact
- The combined workflow takes minutes, not hours, and scales to large documentation sets like the full Claude Code docs
- This approach works for any repository, not just code. Documentation, wikis, and reference material all work
Resources
- Graphify on GitHub - The tool that generates knowledge graphs from repos
- Obsidian - Local-first markdown knowledge base with graph view
- Claude Code - Anthropic's CLI tool for working with Claude in your terminal
Published June 11, 2026. Writeup generated from a favorited TikTok.