Obsidian
Expert at building and maintaining knowledge bases in Obsidian — beyond syntax, into systems.
Companion to official skills: Install kepano/obsidian-skills for markdown syntax, CLI, bases, and canvas. This skill covers everything else.
Overview
- Vault organization — folder structures, naming, MOCs, bulk operations, broken link detection
- Dataview — SQL-like queries over your vault (tables, lists, tasks, calendars)
- Templater — Advanced templating with JavaScript, dynamic dates, file creation
- Workflow patterns — Zettelkasten, PARA, daily notes, periodic reviews, MOCs
- Plugin ecosystem — Dataview, Templater, Tasks, Calendar, Excalidraw, and more
- MCP & REST API — AI agent integration via MCP servers and Local REST API
- Sync & publish — Obsidian Sync, git-based sync, Obsidian Publish, digital gardens
Quick Start
# Install official CLI + companion skills
brew install obsidian-cli
npx skills add git@github.com:kepano/obsidian-skills.git
# Set up MCP server for AI integration
npm install -g mcp-obsidian
Core Concepts
MOC (Map of Content) — A note that links to related notes on a topic. Acts as an entry point to a cluster of knowledge. Better than folders for cross-cutting topics.
Dataview — Treats your vault as a database. Query notes by properties, tags, links, and inline fields using DQL (Dataview Query Language) or JavaScript.
Templater — Template engine with JavaScript execution, dynamic dates, file/folder operations. Runs on note creation or manually.
Documentation
Vault Management
- Vault Organization — Folder structures, naming, MOCs
- Graph Analysis — Find orphans, hubs, clusters
Key Plugins
- Dataview — Query language, tables, lists, tasks
- Templater — Advanced templates with JS
- Tasks Plugin — Task management and queries
- Plugin Ecosystem — Essential community plugins
Workflow Patterns
- Zettelkasten — Atomic notes, fleeting→permanent
- PARA Method — Projects, Areas, Resources, Archives
- Daily Notes Workflow — Daily/weekly/periodic reviews
- MOCs Guide — Maps of Content patterns
AI Integration
- MCP Servers — Set up Obsidian MCP for Claude/agents
- Local REST API — Programmatic vault access
Sync & Publishing
- Sync & Backup — Obsidian Sync, git, backups
- Publishing — Obsidian Publish, digital gardens
Common Workflows
Query all tasks due this week
TASK FROM ""
WHERE !completed AND due >= date(today) AND due <= date(today) + dur(7d)
SORT due ASC
Create a MOC from existing notes
# [[Topic]] MOC
- [[Note 1]] — brief description
- [[Note 2]] — brief description
Related: [[Other MOC]]
Set up MCP for Claude Code
// .claude/settings.json
{ "mcpServers": { "obsidian": { "command": "mcp-obsidian", "args": ["--vault", "/path/to/vault"] } } }
Upstream Sources
Sync & Update
When user runs sync: fetch latest from upstream, update docs/.
When user runs diff: compare current vs upstream, report changes.
1---2name: obsidian3description: Manage and optimize Obsidian vaults — organization, Dataview queries, Templater, workflow patterns (Zettelkasten, PARA, MOCs), MCP server setup, plugin ecosystem, Local REST API, sync, and publishing. Complements the official obsidian-skills (kepano/obsidian-skills) which covers markdown syntax, CLI, bases, and canvas. Use when organizing a vault, querying notes, setting up plugins, building workflows, or integrating Obsidian with AI agents. Triggers on mentions of Obsidian vault, Dataview, Templater, Zettelkasten, PARA, MOC, obsidian plugins, obsidian sync, obsidian publish, obsidian MCP.4---56# Obsidian78Expert at building and maintaining knowledge bases in Obsidian — beyond syntax, into systems.910> **Companion to official skills**: Install [kepano/obsidian-skills](https://github.com/kepano/obsidian-skills) for markdown syntax, CLI, bases, and canvas. This skill covers everything else.1112## Overview1314- **Vault organization** — folder structures, naming, MOCs, bulk operations, broken link detection15- **Dataview** — SQL-like queries over your vault (tables, lists, tasks, calendars)16- **Templater** — Advanced templating with JavaScript, dynamic dates, file creation17- **Workflow patterns** — Zettelkasten, PARA, daily notes, periodic reviews, MOCs18- **Plugin ecosystem** — Dataview, Templater, Tasks, Calendar, Excalidraw, and more19- **MCP & REST API** — AI agent integration via MCP servers and Local REST API20- **Sync & publish** — Obsidian Sync, git-based sync, Obsidian Publish, digital gardens2122## Quick Start2324```bash25# Install official CLI + companion skills26brew install obsidian-cli27npx skills add git@github.com:kepano/obsidian-skills.git2829# Set up MCP server for AI integration30npm install -g mcp-obsidian31```3233## Core Concepts3435**MOC (Map of Content)** — A note that links to related notes on a topic. Acts as an entry point to a cluster of knowledge. Better than folders for cross-cutting topics.3637**Dataview** — Treats your vault as a database. Query notes by properties, tags, links, and inline fields using DQL (Dataview Query Language) or JavaScript.3839**Templater** — Template engine with JavaScript execution, dynamic dates, file/folder operations. Runs on note creation or manually.4041## Documentation4243### Vault Management44- **[Vault Organization](docs/vault-organization.md)** — Folder structures, naming, MOCs45- **[Graph Analysis](docs/graph-analysis.md)** — Find orphans, hubs, clusters4647### Key Plugins48- **[Dataview](docs/dataview.md)** — Query language, tables, lists, tasks49- **[Templater](docs/templater.md)** — Advanced templates with JS50- **[Tasks Plugin](docs/tasks-plugin.md)** — Task management and queries51- **[Plugin Ecosystem](docs/plugin-ecosystem.md)** — Essential community plugins5253### Workflow Patterns54- **[Zettelkasten](docs/zettelkasten.md)** — Atomic notes, fleeting→permanent55- **[PARA Method](docs/para-method.md)** — Projects, Areas, Resources, Archives56- **[Daily Notes Workflow](docs/daily-notes.md)** — Daily/weekly/periodic reviews57- **[MOCs Guide](docs/mocs-guide.md)** — Maps of Content patterns5859### AI Integration60- **[MCP Servers](docs/mcp-servers.md)** — Set up Obsidian MCP for Claude/agents61- **[Local REST API](docs/local-rest-api.md)** — Programmatic vault access6263### Sync & Publishing64- **[Sync & Backup](docs/sync-backup.md)** — Obsidian Sync, git, backups65- **[Publishing](docs/publishing.md)** — Obsidian Publish, digital gardens6667## Common Workflows6869### Query all tasks due this week70```dataview71TASK FROM ""72WHERE !completed AND due >= date(today) AND due <= date(today) + dur(7d)73SORT due ASC74```7576### Create a MOC from existing notes77```markdown78# [[Topic]] MOC79- [[Note 1]] — brief description80- [[Note 2]] — brief description81Related: [[Other MOC]]82```8384### Set up MCP for Claude Code85```json86// .claude/settings.json87{ "mcpServers": { "obsidian": { "command": "mcp-obsidian", "args": ["--vault", "/path/to/vault"] } } }88```8990## Upstream Sources9192- **Obsidian Help**: https://help.obsidian.md93- **Dataview**: https://blacksmithgu.github.io/obsidian-dataview/94- **Templater**: https://silentvoid13.github.io/Templater/95- **Official Skills**: https://github.com/kepano/obsidian-skills9697## Sync & Update9899When user runs `sync`: fetch latest from upstream, update docs/.100When user runs `diff`: compare current vs upstream, report changes.