Your knowledge,
connected.
How to build a living knowledge system with Obsidian and Claude Code — from zero to Knowledge Graph. Fully automated.
Simply hand this file to Claude Code or Claude in Cowork — Claude reads the instructions at the end of the file and sets up your Vault automatically.
What is Obsidian?
Obsidian is a note-taking app based on local Markdown files. No cloud dependency, no vendor lock-in — your notes belong to you. What makes it special: Obsidian prioritizes linking over folder structure. Every note can reference other notes via [[Wikilink]]. This automatically creates a Knowledge Graph.
Core Concepts
[[Note-Name]] links to another note#topic/subtopic — hierarchical taggingWhy the Graph changes everything
The Knowledge Graph is the heart of Obsidian. Every time you create a [[Wikilink]], a connection is born. Hundreds of such connections grow into a visual network of your knowledge — open it with Cmd + G.
Metaphor: The City
Think of your notes as buildings in a city. Folders are neighborhoods — but streets connect the neighborhoods to each other. Without streets, every neighborhood is an island. [[Wikilinks]] are those streets. The more you link, the more alive your city becomes — and the faster you find the path from one thought to the next.
Why the Graph is crucial for Claude
A well-linked Vault makes Claude dramatically more useful. Without links, Claude sees 2,000 isolated files. With links, Claude understands the connections: which projects belong together, which decisions build on each other, which people work on which topics.
Metaphor: The Brain
A single note is a neuron. Alone, it can do little. But as soon as you connect it with other neurons, a thought emerges. A thousand linked notes form a network — a second brain that never forgets. Claude reads this network and navigates it just like you navigate your own mind: through associations, not through folders.
What a good Graph needs
- Links, links, links — at least 2–3 per note. Every link is a connection in the Graph.
- MOCs as hubs — Maps of Content are the central stations of your city. Many connections radiate from them.
- Pay attention to Backlinks — Obsidian shows you which notes link to the current one. These are connections you may have overlooked.
- Use Automatic Linker — the plugin finds connections automatically by recognizing note titles in the text.
Obsidian × Claude Code
Claude Code can access your Obsidian Vault directly — because a Vault is simply a folder with Markdown files. No plugin, no MCP server needed.
What Claude Code can do for your Vault
- Bulk organization — analyze, classify, and sort hundreds of notes
- Auto-linking — detect thematic connections and insert
[[Wikilinks]] - Add Frontmatter — batch-add metadata to all notes
- Create MOCs — generate overview notes with Dataview queries
- Create templates — build templates for different note types
- Summarize content — condense long notes, extract key takeaways
CLAUDE.md — Your Vault Briefing
Create a CLAUDE.md in your Vault root. Claude Code reads this file automatically at the start of every session. In it, you describe your folder structure, Frontmatter conventions, linking rules, and template paths.
Integrating Claude into Obsidian
The best integration: the Claudian Plugin. It embeds Claude as a chat interface directly in Obsidian's sidebar — with full Vault access.
Claudian Plugin
- Plan Mode (Shift+Tab) — Claude explores and plans before making changes
- @-Mentions — include files as context via @mention
- Slash Commands — custom reusable prompt templates
- Vault-Awareness — Claude automatically knows your Vault structure
- File operations — read, write, Bash execution, multi-step workflows
Installation
Claudian is not in the Community Store. The easiest way is via BRAT:
- Install and enable the Community Plugin “BRAT”
- Settings → BRAT → Add Beta Plugin
- Enter URL:
https://github.com/YishenTu/claudian - Restart Obsidian, enable Claudian
Alternatively, install manually: place main.js, manifest.json, and styles.css from the GitHub Release into .obsidian/plugins/claudian/.
Alternatives for completeness
If you prefer a more minimal approach, you can use the Terminal Plugin and launch Claude Code manually from there. For Claude Desktop, there are MCP Servers like obsidian-claude-code-mcp (iansinnott) or Nexus (ProfSynapse).
Pro tip for your CLAUDE.md
Add this rule to your Vault's CLAUDE.md: “When you create new files, insert [[Wikilinks]] wherever thematic connections exist.” — This way Claude automatically links every new note with existing knowledge and your Graph grows on its own.
CLAUDE.md Best Practices
- Write instructions for the model, not for humans
- Describe the folder structure and what goes where
- Define Frontmatter conventions (which fields, which values)
- List project and client names — Claude will then recognize them in notes
- Keep it updated when workflows change — Claude only remembers what's in there
- Use
/initin Claude Code to have a CLAUDE.md generated automatically
More than a chat — an agent in your Vault
Claude is not just a chatbot. Through MCP Servers (Model Context Protocol), Skills, and Connectors, Claude has access to external systems — directly from within Obsidian. This enables agentic workflows that go far beyond note organization.
What Claude can connect to
/research, /blog, /audit — complex tasks with a single command.Real-world examples
Example 1: Auto-Research
You create a note “AI Trends Q2 2026” with a few bullet points. Claude reads the note, researches current studies and articles via Web Search, enriches the note with sources, quotes, and summaries — and automatically links it with related notes in 03_Wissen/.
“Read my note AI Trends Q2 2026 and research current studies on the topic. Enrich the note with sources and link it with the Vault.”
Example 2: Meeting Preparation
Tomorrow you have a meeting with Acme Corp. Claude searches the Vault for all Acme Corp notes, transcripts, and decisions, summarizes the current status, checks via Web Search for customer news — and creates a briefing note with a suggested agenda.
“I have a meeting with Acme Corp tomorrow. Create a briefing from all Vault notes about the client and research current news.”
Where are MCP Servers configured?
Claude Code uses Local MCPs (in ~/.claude.json). Claudian in the vault only sees Project MCPs (in .mcp.json in the vault root). To give Claudian access to the same MCPs, create a .mcp.json in the vault root:
// .mcp.json in vault root
{
"mcpServers": {
"nanobanana": { "type": "stdio", "command": "uvx", ... },
"gsc": { "type": "stdio", "command": "npx", ... }
}
}
Obsidian as Claude's long-term memory
Claude has a large context window, but it is limited — and context is lost between sessions. Your Obsidian Vault has no limit. When Claude runs in your Vault, it automatically reads the CLAUDE.md at startup and has access to every note — that's unlimited, structured, searchable long-term memory that persists across sessions.
The Difference
Without Vault: Claude's context window is limited and everything is lost between sessions. You repeat context, decisions, preferences.
With Vault: Claude reads your notes, knows your projects, remembers decisions, and builds on prior work — across sessions.
Memory patterns for your Vault
Certain note types make your Vault especially valuable as an AI memory:
Writing notes for Claude
When you know Claude reads your notes, you write them differently:
- Name precisely — “Project Alpha Architecture Decision JWT vs Session” instead of “Note from Tuesday”
- Make connections explicit — set
[[Links]]instead of hoping Claude figures out the connection - Explain decisions — not just “we're using Next.js”, but why
- Use Frontmatter —
type,status,tagshelp Claude filter and prioritize - Context over keywords — full sentences are better for LLMs than cryptic abbreviations
Your Vault improves because Claude reads it
A nice side effect: because you know Claude uses your notes, you write more precisely and with better structure. Your Vault doesn't just get better for Claude — it gets better for you too.
From Apple Notes to Obsidian
This section is optional. If you're not coming from Apple Notes, skip directly to Setup.
Running the import
- Settings → Community Plugins → search for “Importer”, install and enable
- Cmd + P → “Importer: Import data”
- Source: select Apple Notes
- Choose destination folder and start the import
What the Importer doesn't do
The import delivers raw Markdown files — without Frontmatter, without tags, without thematic sorting, without meaningful links. This is exactly where Claude Code comes in: it classifies and organizes your notes automatically.
Setting up your Vault
Create the folder structure
Organize by note type, not by topic. Thematic grouping happens through links and tags.
Create templates
Place templates in 07_Templates/. Every template starts with YAML Frontmatter:
---
title: ""
type: projekt | meeting | wissen | kunde | content
status: aktiv | draft | archiv
tags: []
created: {{date}}
---
Enable in Obsidian: Settings → Templates → Template folder → 07_Templates
Let Claude sort your notes
Claude Code can automatically classify thousands of notes. It reads titles and content, detects patterns, and generates a shell script with all the move commands.
“Read all notes in 06_Archiv/, analyze the content, and sort them into the correct folder structure.”
| Pattern | Target Folder |
|---|---|
| Project name in text | 01_Projekte/{Name}/ |
| Date, “Meeting”, “Call” | 05_Meetings/ |
| Unicode bold (LinkedIn) | 04_Content/ |
| AI, ML, Framework, Tutorial | 03_Wissen/ |
| Proposal, Pitch, Briefing | 02_Kunden/ |
Create MOCs
Maps of Content are overview notes that serve as central hubs in the Graph. Create 5–8 MOCs for your most important topic areas. Claude Code can generate these with Dataview queries that update automatically.
Bringing the Graph to life
Essential Plugins
| Plugin | Purpose | Mobile |
|---|---|---|
| Dataview | Dynamic lists and tables via query | Yes |
| Automatic Linker | Automatically converts text into [[Wikilinks]] | Yes |
| Smart Connections | AI-powered semantic similarity | Yes |
| Tag Wrangler | Rename, merge, and manage tags | Yes |
| Calendar | Visual navigation for daily notes | Yes |
Auto-linking in three stages
Stage 1: Automatic Linker
Scans all notes for text that matches a note title and converts it into [[Wikilinks]].
- Install and enable the plugin
- Open any note — the commands only work with a note open in the editor
- Cmd + P → “Format vault”
- The plugin works silently in the background — no progress bar, but the files are being modified
For daily use: enable “Format on save” in the plugin settings.
Stage 2: Smart Connections
Finds semantically related notes — even without shared titles.
- Install and enable the plugin
- Cmd + P → “Smart Connections: Open: Connections view”
- The index builds automatically in the background — takes a few minutes
- After that, the sidebar shows related content when you open any note
Stage 3: Claude Code Sessions
For deeper linking: Claude Code can read batches of notes and detect thematic connections that no plugin finds.
“Read the notes in 03_Wissen/ and insert [[Wikilinks]] wherever thematic connections exist.”
Best Practices
- New notes always go in
00_Inbox/, use a template, then sort - Always link — at least 2–3
[[Links]]per note - Hierarchical tags —
#projekt/alpha,#wissen/ki-strategie - Keep Format on save enabled — Automatic Linker works in the background
- Keep Smart Connections Sidebar open — shows related notes while reading
- Open the Graph regularly (Cmd + G) — motivates you to link more
- Use Claude Code for batch operations, linking, organization
What we learned along the way
Obsidian Basics
iCloud Drive missing from Finder?
Finder → Settings → Sidebar → check the box for iCloud Drive. Also verify: System Settings → Apple ID → iCloud → iCloud Drive must be enabled.
New notes land in the wrong folder
Settings → Files and Links → Default location for new notes → “In the folder specified below” → 00_Inbox. Then all new notes automatically go to the Inbox.
Enable the Templates folder
Settings → Templates → Template folder → 07_Templates. After that you can insert a template with Cmd + P → “Templates: Insert template”.
Open the Graph
Cmd + G opens the Graph View. Recommended settings: Depth 2, hide orphans, color groups by folder.
Plugin Gotchas
Automatic Linker: Commands not visible?
The commands Format vault, Format file, and Rebuild index are editor callbacks — they only appear in the Command Palette (Cmd + P) when a note is open. Open a note first, then Cmd + P → “Format vault”.
Automatic Linker: No progress bar
The plugin works silently in the background. After “Format vault” nothing seems to happen — but the files are being modified. Check a note that contains the title of another note: the text should now be a [[Wikilink]].
Smart Connections: No “Rebuild Index” button?
In v4+ there is no explicit rebuild button anymore. Instead: Cmd + P → “Smart Connections: Open: Connections view”. The index builds automatically in the background as soon as the view is opened. Takes a few minutes with many notes.
Claudian not in the Community Store
Claudian must be installed manually: via BRAT (Community Plugin “BRAT” → Add Beta Plugin → https://github.com/YishenTu/claudian) or manually place the release files in .obsidian/plugins/claudian/ and restart Obsidian.
Claude Code Workflow Tips
Let Claude sort your Inbox
Just say: “Sort the notes in my Inbox” — Claude reads all notes in 00_Inbox/, analyzes the content, and moves them to the appropriate folder.
Import meeting transcripts
Transcripts (txt files) from tools like Otter, Fireflies, or Apple Recorder can be imported directly: “There are meeting transcripts in my Downloads folder. Please sort them into the Vault.” — Claude automatically recognizes projects, clients, and topics and creates Markdown files with Frontmatter.
Search your Downloads folder
“Search my Downloads folder for files relevant to my Vault.” — Claude finds PDFs, Markdown files, and transcripts, classifies them, and only files the relevant ones. Personal documents (pay stubs, invoices) are skipped.
Bulk linking via Claude Code
“Read the notes in 03_Wissen/ and insert [[Wikilinks]] wherever thematic connections exist.” — Claude detects connections that Automatic Linker cannot find (e.g. semantic similarity without identical titles).
Maintain CLAUDE.md in your Vault
The CLAUDE.md is Claude's memory for your Vault. Tips:
- Write instructions for the model, not for humans
- List project and client names explicitly — Claude uses them for classification
- Update the file when workflows or projects change
- Use
/initin Claude Code to have a CLAUDE.md generated automatically
Important Settings
Automatically update internal links
Settings → Files and Links → Automatically update internal links → enable. When you rename or move a note, all [[Links]] to it are automatically updated.
Close Obsidian during bulk operations
When Claude Code moves or renames hundreds of files: close Obsidian on all devices (Mac, iPhone, iPad). Otherwise iCloud sync conflicts can occur.
Set up the Calendar Plugin
For daily meeting notes: Settings → Daily Notes (Core Plugin) → New file location: 05_Meetings, Template: 07_Templates/tpl_meeting, Date format: YYYY-MM-DD. Then clicking a date in the calendar automatically creates a meeting note with the template.
Other Agents & Local LLMs
This guide focuses on Obsidian × Claude, but the principle works with any AI agent. Instead of Claude you can use Codex (OpenAI), Gemini CLI (Google) or other agents — as long as they can read and write files, the vault works as memory.
100% Data Sovereignty with Ollama
If you don’t want to send data to the cloud, you can run an open-source LLM locally. Install Ollama, pull a model, and use it directly in Obsidian’s sidebar via the community plugin Copilot — with @-mentions for note context.
Setup:
- Install and start Ollama
- Pull model:
ollama pull gemma3:4b-it-q4_K_M - Install community plugin “Copilot” (Logan Yang)
- Settings → Copilot → Model → Add Custom Model → Name:
gemma3:4b-it-q4_K_M, Provider: Ollama, Base URL leave blank
Tip: Use quantized models (Q4_K_M) — they are 75% smaller than full versions with minimal quality loss. gemma3:4b-it-q4_K_M needs only ~2.5 GB RAM and runs smoothly on a MacBook Pro M5 with 32 GB. For less powerful machines: llama3.2:3b.
Smart Connections supports Ollama natively for local embeddings — keeping semantic search fully local too.
Vault Setup Checklist
- Obsidian installed
- Vault created (local folder or iCloud for sync)
- Folder structure created (00_Inbox through MOCs)
- CLAUDE.md created in Vault root
- Templates created in Templates/
- Template folder set in Obsidian settings
- Apple Notes imported (if applicable)
- Notes sorted into target structure (with Claude Code)
- Claude Code integration chosen (Terminal, Claudian, or MCP)
- Plugin: Dataview installed and enabled
- Plugin: Automatic Linker → open a note → Cmd+P → “Format vault”
- Plugin: Automatic Linker → “Format on save” enabled
- Plugin: Smart Connections → Connections view opened (index builds automatically)
- Plugin: Tag Wrangler installed
- Plugin: Calendar installed
- At least 5 MOCs created
- Graph opened (Cmd + G) and settings adjusted
- First note created with template and linked