knowledge-vault
Turn any Obsidian vault (or plain folder of markdown) into a first-class memory for Claude Code — search it, save your work to it, keep it versioned and indexed, and let every agent share it. Config-driven and universal: point it at your vault and go.

Install
The knowledge-base plugin is pure Claude Code content — no CLI, no build step, no dependencies. Two commands to install, one to configure. Run the two install commands one at a time (paste the first, hit enter, wait, then the second):
/plugin marketplace add Elnora-AI/knowledge-vault
/plugin install knowledge-base@knowledge-vault
Then point it at your vault:
/kb-setup
/kb-setup asks for your vault path, writes the (gitignored) config, creates the default folders, and verifies everything. That's it — the full experience is live.
Prefer to configure by hand? Copy settings.example.md to .claude/knowledge-base.local.md in your project and set vault_path. See that file for every option.
Using Codex, Cursor, or another agent
The slash commands and dispatched subagents are Claude-Code-only, but the conventions are portable. Drop AGENTS.md at your project root and any agent can read/search/save to your vault following the same rules.
What you get
- Search your vault — the
vault-access skill teaches the agent to find documents fast with Glob/Grep/Read across .md, .base, and .canvas files, using your frontmatter and folder conventions.
- Save your work —
/md turns pasted text into a clean, frontmattered, cross-linked vault document; /note fetches a URL, summarizes it, and files it; /update-knowledgebase persists a whole session into the right folders via the vault-curator agent.
- A task system —
/task, /tasklist, /task-done, /task-triage implement a five-file task model (inbox → to-do → in-progress → done / cancelled) with Obsidian Tasks syntax, due dates, and priorities.
- Obsidian power tools — the
knowledge-agent writes Flavored Markdown (callouts, embeds, block refs, Mermaid), builds Bases (.base) database dashboards, and draws Canvas (.canvas) diagrams. Four reference docs ship the full syntax.
- Auto-maintained index — a session-start hook rebuilds a master index of every document, grouped by folder, so the agent always knows what already exists. A write hook keeps it fresh.
- Document versioning — new versions instead of overwrites, with
supersedes/superseded_by frontmatter links.
- Cross-agent coordination — the
agent-coordination skill lets any agent pull vault context on demand (the "files as context" pattern).
Everything is config-driven: folder names, task paths, the index location, and the default owner all come from your config. Nothing is hardcoded, so your vault stays yours.
Slash commands
| Command | Does |
|---|
/kb-setup | First-run: write config, create folders, verify |
/md [text] | Format pasted text into a vault document with frontmatter + cross-links |
/note [url] | Fetch a URL, summarize it, save as a dated note |
/task <desc> | Add a task (due date, priority, section) |
/tasklist [filter] | Query tasks (today / overdue / this week / priority / search) |
/task-done <desc> | Move a task between states |
/task-triage | Review the inbox one task at a time |
/update-knowledgebase | Persist this session's results into the vault |
Skills & agents
- Skills:
vault-access (search/create), file-naming (naming conventions), agent-coordination (cross-agent access).
- Agents:
knowledge-agent (fetch/create/version, .base, .canvas), vault-curator (files a session's results into the right folders).
Configuration
All paths live in .claude/knowledge-base.local.md (gitignored — each machine has its own). The only required field is vault_path. Sensible defaults cover everything else:
---
vault_path: /path/to/your/obsidian/vault # REQUIRED — absolute path
vault_dir: "" # optional subfolder that is the vault root
task_inbox: tasks/inbox.md # the five task files
task_todo: tasks/to-do.md
task_in_progress: tasks/in-progress.md
task_done: tasks/done.md
task_cancelled: tasks/cancelled.md
notes_dir: notes # catch-all notes; holds the auto-index
index_file: notes/index.md
vault_title: Knowledge Base
default_owner: ""
---
Default folder layout (rename or extend freely — it's all config):
notes/ tasks/ meetings/ people/ policies/ projects/ reference/
Full field reference: settings.example.md.
Connectors (optional)