vault-moc
Vault MOC
Generate a categorized Map of Content that organizes vault project folders into thematic groups with wikilinks.
Workflow
-
Determine scope. Ask the user if they want:
- Full vault MOC — indexes all ~312 project folders by category
- Focused MOC — a specific theme (e.g., "all agent team projects", "browser automation", "skills and plugins")
-
Get the folder list:
obsidian foldersThis returns all folder paths. Filter to root-level folders only (no
/in path after vault root). -
For a focused MOC, also search for relevant folders:
obsidian search query="<theme keyword>" limit=30 -
Categorize folders by prefix and keyword patterns:
Category Pattern Agent Teams & Orchestration *agent_team*,*agent_swarm*,*parallel_agent*,*council*Skills & Prompts *skill*,*prompt*,cc_skills*,*slash*Browser Automation *browser*,*playwright*,*chrome*,*cdp*MCP Servers *mcp*,*tool_search*Loops & Scheduled Tasks *loop*,*scheduled*,*cron*Obsidian Integration *obsidian*Web Projects & Design *web*,*design*,*pencil*,*figma*Research & Autoresearch autoresearch_*Plugins & Extensions *plugin*,*extension*Other / Misc Everything else -
Sample descriptions for folders (read first 5 lines of README.md or gemini3_summary.txt):
- For full MOC: sample the top 2-3 folders per category to write category descriptions
- For focused MOC: read descriptions for all folders in scope
-
Compose the MOC note using the
Writetool:--- description: Map of Content — <scope> title: MOC — <Scope> date: YYYY-MM-DD source: vault-moc --- # MOC — <Scope> > Index of <n> project folders. Generated <date>. ## Stats - **Total folders:** <n> - **Categories:** <n> ## Category Name > Brief description of what's in this category. - [[folder_name/README|Display Name]] — one-line description - [[folder_name/gemini3_summary|Display Name]] — one-line description ... ## Another Category ... ## Uncategorized Folders that don't fit the above categories. - [[folder_name/README]] ... -
Write the file:
Write tool → <vault-root>/MOC — <Scope>.mdUse
MOC — Vault Index.mdfor a full vault MOC. -
Report the categories created, folder count, and file path.
Tips
- For the full vault MOC, don't try to read every folder's README — categorize by name pattern first, then sample a few per category for descriptions
- Use
[[folder/README|Friendly Name]]display text to make the MOC readable (strip underscores, title-case the display name) __IMPORTANTfolders deserve a dedicated ⭐ Highlights section at the top- A focused MOC (e.g., "Skills") is more immediately useful than a full vault index — suggest this for first use
More from az9713/claude-code-obsidian
vault-save
Capture insights, solutions, or learnings from the current Claude Code conversation into a formatted Obsidian note with wikilinks. Use when the user wants to save something discovered during a conversation — a technique, a solution, a workflow decision, or a key insight.
2defuddle
Extract clean markdown content from web pages using Defuddle CLI, removing clutter and navigation to save tokens. Use instead of WebFetch when the user provides a URL to read or analyze, for online documentation, articles, blog posts, or any standard web page.
1json-canvas
Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections. Use when working with .canvas files, creating visual canvases, mind maps, flowcharts, or when the user mentions Canvas files in Obsidian.
1vault-journal
Log a research entry to today's Obsidian daily note, automatically finding and wikilinking related vault projects. Use when the user wants to capture something they learned, worked on, or found interesting about Claude Code or AI tooling.
1obsidian-cli
Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more. Also supports plugin and theme development with commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM. Use when the user asks to interact with their Obsidian vault, manage notes, search vault content, perform vault operations from the command line, or develop and debug Obsidian plugins and themes.
1obsidian-bases
Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.
1