moc-update
Installation
SKILL.md
MOC Update After New Note
Find the Maps of Content (MOCs) that should link to a newly created note and suggest the additions.
Workflow
-
Identify the new note — Path follows the skill invocation. If not provided, ask.
-
Semantic MOC search — Call
obsidian_rag_querywith the note title as query,limit: 10. Flag results that are MOC-style notes (path contains "MOC", filename ends in "-MOC", ortype: mocfrontmatter). -
Keyword fallback — Call
obsidian_search_noteswith key terms from the note title to catch MOCs that aren't yet indexed. -
Present suggestions — For each candidate MOC, show:
- The MOC path
- Which heading the link should go under (if readable)
- A proposed link line:
- [[NoteName]] — one-line description