build-moc
Build a Map of Content (MOC) for a topic — gather candidate notes, cluster them, write the MOC with static wikilinks.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Build a Map of Content (MOC) for a topic — gather candidate notes, cluster them, write the MOC with static wikilinks.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Find two notes in the vault that should be linked but aren't, and explain the rationale.
Read the last N days of daily notes, surface the dominant themes, and draft a synthesis note linking back to the originals.
Surface orphan notes near a topic and help the user integrate them into the existing link graph.
Given a writing topic, gather the relevant notes from the vault and assemble a writing scratchpad with quotes and citations.
Analyze the tag tree, surface case chaos and stragglers, and consolidate via supervised renames.
Walk recent notes one at a time; for each, propose 1–2 wikilinks based on the vault's existing graph. Automates the user's review ritual.
| name | build-MOC |
| description | Build a Map of Content (MOC) for a topic — gather candidate notes, cluster them, write the MOC with static wikilinks. |
| triggers | ["/build-MOC","/build-moc","build a MOC for","create a map of content"] |
The user wants a navigation hub for a topic. MOCs are the LYT central primitive; they replace folders for many vaults. Default output is static wikilinks (round-trip safe under git); the user can opt into Dataview style.
find_related(seed=topic_phrase, top_k=30). These are the candidate notes.find_orphans(near_topic=topic_phrase) and merge results — orphans near the topic almost always belong in the MOC.read_notes_batch(paths=[top 10 candidates]) to get headings and lead paragraphs for clustering.build_moc(title=topic_phrase, notes=approved_paths, structure="grouped", style="wikilinks", confirm=true). Default out path is MOCs/<title>.md; user may override.Home.md or top-level index (one suggestion, not a demand).# {Topic}
> MOC for: {topic phrase}
> Generated: {YYYY-MM-DD}
## {Sub-theme 1}
- [[Note A]]
- [[Note B]]
## {Sub-theme 2}
- [[Note C]]
- [[Note D]]
## Related MOCs
- [[Related MOC]]
## Open questions
-
style="dataview" only when the user asks.find_orphans returned them. Orphan triage is the user's call.overwrite=True from the user.