What it does
moc-agent is a specialist for Obsidian Map of Content (MOC) notes. It creates new MOCs for folders that have outgrown a navigation hub, updates existing MOCs, and audits the wider MOC navigation network. For orphaned image assets, it groups files by type and creates gallery notes that make them visible through the MOC network, without moving the files.
It suits vaults where many notes have been added without a top-level MOC to tie them together, where screenshots or diagrams sit unlinked in an attachments folder, or where MOCs are stale after a large import. In the import case, it compares each MOC with the current file tree, adds missing note links, removes dead links, and flags topic areas that need a new MOC.
The agent finds coverage gaps with Glob and Grep and creates MOCs in the expected format. It can link a new MOC into the vault's master index. The source describes no external scripts, and running it requires only the vault itself.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- AI Templates (aitmpl) first seen 13 Nov 2026 · last seen 18 Nov 2026 · its page on the source · figures reported by the source: aitmpl downloads 700
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: <example> Context: A developer has added dozens of new notes across several topic folders but no MOC exists to tie them together. user: "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?" assistant: "I'll use the moc-agent to scan the vault for directories missing MOCs, generate a properly formatted AI Development MOC, and link
As shown on www.aitmpl.com when we last read it