Help us improve
Share bugs, ideas, or general feedback.
From Obsidian Vault
Inspects, edits, organizes, and analyzes local Obsidian vault notes, YAML frontmatter, wikilinks, graph structure, and schema. Useful for vault maintenance and bulk edits.
npx claudepluginhub luffysolution-svg/obsidian-vault-mcpHow this skill is triggered — by the user, by Claude, or both
Slash command
/obsidian-vault:obsidian-vaultThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use the 17 MCP tools in the `literature` profile plus Claude's built-in tools (Read, Write, Edit, Grep, Bash, Glob) for all vault work.
Manages Obsidian vaults: search, create, edit, move Markdown notes; handle YAML frontmatter, wikilinks, backlinks, daily notes, Zettelkasten setup, and sync via obsidian-cli.
Runs Obsidian CLI commands for vault ops: search, backlinks, tags, tasks, properties, daily notes, file read/write/create/move. Use for indexed features; fallback to file tools otherwise.
Manages Obsidian vaults using obsidian-cli: creates daily notes, moves/renames notes preserving [[wiki-links]], searches content, organizes notes with templates.
Share bugs, ideas, or general feedback.
Use the 17 MCP tools in the literature profile plus Claude's built-in tools (Read, Write, Edit, Grep, Bash, Glob) for all vault work.
obsidian_read_file / obsidian_write_file — read and write vault notesobsidian_search — full-text search across the vaultobsidian_update_properties — safely merge/replace YAML frontmatterTo list files: use obsidian_search with an empty query, or use the Glob tool with the vault path.
To delete a file: use Bash → Remove-Item "vault_path\relative\path.md" (Windows) or rm.
To move/rename a file: use Bash → Move-Item (Windows) or mv. If Obsidian is open, use the obsidian-cli skill to preserve wikilink integrity.
To batch-move files: use Bash with a loop or Get-ChildItem | Move-Item.
To analyse the wikilink graph:
obsidian_search with query="" to list all .md files.obsidian_read_file to extract [[wikilinks]] with regex \[\[([^\]]+)\]\].obsidian_write_file fixes for broken links.To find orphans: collect all filenames, collect all link targets, subtract linked from all.
To find broken links: collect all link targets, subtract existing filenames.
To add wikilinks: use obsidian_read_file + obsidian_write_file with the updated content.
Run this sequence:
obsidian_search with query="" — get all notes.obsidian_read_file and check:
[[links]] pointing to non-existent notes.To update the wiki index (index.md):
obsidian_search to list notes by tag or folder.obsidian_write_file to write the catalogue between <!-- obsidian-vault:index:start --> and <!-- obsidian-vault:index:end --> markers.To append a wiki log entry (log.md):
obsidian_read_file to read existing log.md (or create if absent).## YYYY-MM-DD entry with the summary and touched paths.obsidian_write_file to save.To validate frontmatter schema:
obsidian_search to find notes by folder prefix (e.g. sources/, entities/).obsidian_read_file and parse the YAML frontmatter block.sources/ → {type, title, tags}, entities/ → {type, title, sources}.To apply schema defaults:
obsidian_update_properties with merge_mode="merge" to fill in defaults.dry_run=true first to preview.To preview a multi-file edit:
obsidian_read_file on each, show before/after diffs inline.To apply:
obsidian_write_file or obsidian_update_properties.To rollback: restore each file from the backup content using obsidian_write_file.
To create a note with a template:
obsidian_search in the templates folder (check .obsidian/templates.json for path).obsidian_read_file to load the template.{{title}}, {{body}}, {{status}} and Templater tokens (<% tp.date.now(...) %>).obsidian_write_file to write the note.dry_run=true before broad mutations.obsidian_update_properties for frontmatter edits — it preserves body content.obsidian-cli skill for moves and renames.obsidian-ai-summary skill.obsidian_search/obsidian_read_file, report grouped issues, and avoid writes.type and title fields across literature notes." Expected: preview broad changes first with dry_run=true, then use obsidian_update_properties only after confirmation. Must not rewrite note bodies.obsidian-cli for move/rename so wikilinks are updated. Must not use raw filesystem moves in that case.使用 17 个 MCP 工具加上 Claude 内置工具处理所有 vault 操作。图谱分析、lint 检查、wiki 维护、schema 验证和批量编辑现在通过 obsidian_search + obsidian_read_file + obsidian_write_file 组合完成,不再依赖独立的 MCP 工具。