Armory
Source
Browse
Sub-Agents

moc-agent

Obsidian Map of Content specialist. Use PROACTIVELY when a vault needs new MOCs created, existing MOCs updated, orphaned assets organized, or the overall MOC navigation network audited. Specifically:\n\n<example>\nContext: A developer has added dozens of new notes across several topic folders but no MOC exists to tie them together.\nuser: \"I have a bunch of new AI notes scattered around the vault but there's no top-level MOC for them. Can you sort this out?\"\nassistant: \"I'll use the moc-agent to scan the vault for directories missing MOCs, generate a properly formatted AI Development MOC, and link it into the master index.\"\n<commentary>\nUse moc-agent whenever a directory has grown beyond a handful of notes without a navigation hub. The agent discovers coverage gaps with Glob/Grep and creates spec-compliant MOCs without requiring any external scripts.\n</commentary>\n</example>\n\n<example>\nContext: A knowledge base has accumulated hundreds of unlinked images that are invisible to navigation.\nuser: \"My vault has tons of PNG screenshots and diagrams that aren't linked anywhere. They're just sitting in an attachments folder.\"\nassistant: \"I'll use the moc-agent to identify every orphaned image asset, categorize them by type, and create gallery notes that surface them through the MOC network.\"\n<commentary>\nInvoke moc-agent for orphaned asset triage — it applies a structured gallery-note pattern that reintegrates visual assets into the vault's navigation without moving files.\n</commentary>\n</example>\n\n<example>\nContext: After a large import, MOCs are stale and no longer reflect the current note set.\nuser: \"I just imported 200 notes from Notion. My existing MOCs are out of date and missing most of the new content.\"\nassistant: \"I'll use the moc-agent to diff each existing MOC against the current file tree, add missing note links, prune dead links, and flag any topic areas that need a brand-new MOC.\"\n<commentary>\nUse moc-agent for post-import reconciliation. It audits existing MOCs against live vault content and repairs coverage gaps systematically.\n</commentary>\n</example>

Score
Unranked
Evidence
No signals yet
Last commit
Not known
Listed

Install

armory install moc-agent --cli claude

writes the file to.claude/agents/moc-agent.mdListed as compatible

Configuration
# fetches the source and writes it to:
.claude/agents/moc-agent.md

Needs the armory CLI · not on npm yet, build it from cli/ in the repository

What it is

Obsidian Map of Content specialist. Use PROACTIVELY when a vault needs new MOCs created, existing MOCs updated, orphaned assets organized, or the overall MOC navigation network audited. Specifically:\n\n\nContext: A developer has added dozens of new notes across several topic folders but no MOC exists to tie them together.\nuser: "I have a bunch of new AI notes scattered around the vault but there's no top-level MOC for them. Can you sort this out?"\nassistant: "I'll use the moc-agent to scan the vault for directories missing MOCs, generate a properly formatted AI Development MOC, and link it into the master index."\n\nUse moc-agent whenever a directory has grown beyond a handful of notes without a navigation hub. The agent discovers coverage gaps with Glob/Grep and creates spec-compliant MOCs without requiring any external scripts.\n\n\n\n\nContext: A knowledge base has accumulated hundreds of unlinked images that are invisible to navigation.\nuser: "My vault has tons of PNG screenshots and diagrams that aren't linked anywhere. They're just sitting in an attachments folder."\nassistant: "I'll use the moc-agent to identify every orphaned image asset, categorize them by type, and create gallery notes that surface them through the MOC network."\n\nInvoke moc-agent for orphaned asset triage — it applies a structured gallery-note pattern that reintegrates visual assets into the vault's navigation without moving files.\n\n\n\n\nContext: After a large import, MOCs are stale and no longer reflect the current note set.\nuser: "I just imported 200 notes from Notion. My existing MOCs are out of date and missing most of the new content."\nassistant: "I'll use the moc-agent to diff each existing MOC against the current file tree, add missing note links, prune dead links, and flag any topic areas that need a brand-new MOC."\n\nUse moc-agent for post-import reconciliation. It audits existing MOCs against live vault content and repairs coverage gaps systematically.\n\n

When to use it

Obsidian Map of Content specialist. Use PROACTIVELY when a vault needs new MOCs created, existing MOCs updated, orphaned assets organized, or the overall MOC navigation network audited. Specifically:\n\n\nContext: A developer has added dozens of new notes across several topic folders but no MOC exists to tie them together.\nuser: "I have a bunch of new AI notes scattered around the vault but there's no top-level MOC for them. Can you sort this out?"\nassistant: "I'll use the moc-agent to scan the vault for directories missing MOCs, generate a properly formatted AI Development MOC, and link it into the master index."\n\nUse moc-agent whenever a directory has grown beyond a handful of notes without a navigation hub. The agent discovers coverage gaps with Glob/Grep and creates spec-compliant MOCs without requiring any external scripts.\n\n\n\n\nContext: A knowledge base has accumulated hundreds of unlinked images that are invisible to navigation.\nuser: "My vault has tons of PNG screenshots and diagrams that aren't linked anywhere. They're just sitting in an attachments folder."\nassistant: "I'll use the moc-agent to identify every orphaned image asset, categorize them by type, and create gallery notes that surface them through the MOC network."\n\nInvoke moc-agent for orphaned asset triage — it applies a structured gallery-note pattern that reintegrates visual assets into the vault's navigation without moving files.\n\n\n\n\nContext: After a large import, MOCs are stale and no longer reflect the current note set.\nuser: "I just imported 200 notes from Notion. My existing MOCs are out of date and missing most of the new content."\nassistant: "I'll use the moc-agent to diff each existing MOC against the current file tree, add missing note links, prune dead links, and flag any topic areas that need a brand-new MOC."\n\nUse moc-agent for post-import reconciliation. It audits existing MOCs against live vault content and repairs coverage gaps systematically.\n\n

How to install / invoke

# Copy the agent definition into your project's .claude/agents/
curl -sL https://raw.githubusercontent.com/davila7/claude-code-templates/main/cli-tool/components/agents/obsidian-ops-team/moc-agent.md -o .claude/agents/moc-agent.md

Notes

Extracted from davila7/claude-code-templates, obsidian-ops-team category.