vault-mocs
БесплатноБез исполняемых скриптовНе проверенMap-of-Content (MOC) curation for Obsidian vaults. Use when creating a MOC for a tag, extending with orphans, fixing legacy MOC tags, or analyzing coverage.
от laurigates★ 61 звезда на GitHubОб этом скилле
MOC Curation
When to Use This Skill
| Use this skill when... | Use the alternative instead when... |
|---|---|
| Creating or extending a Map of Content hub for a tag category | Reconnecting individual orphaned notes without building a hub — use vault-orphans |
Migrating legacy 🗺️ MOC tags to canonical 📝/moc |
Renaming or consolidating non-MOC tags across the vault — use vault-tags |
| Auditing MOC coverage and linking orphans into existing hubs | Repairing broken ... references inside an existing MOC — use vault-wikilinks |
A Map of Content (MOC) is a structured hub note that organizes related content via wikilinks. It's the primary navigation surface of a mature Obsidian vault — more useful than tags, more discoverable than search.
Canonical MOC Shape
---
tags: [📝/moc]
---
# Neovim MOC
Central hub for Neovim configuration, plugins, and workflows.
## Core
- Neovim — base configuration
- Lazy.nvim — plugin management
## Plugins
- nvim-treesitter
- Mason LSP
## Keybindings and Workflow
- Neovim Keybindings
- Neovim Session Management
Rules:
- Tag is exactly
📝/moc— not🗺️(legacy), notMOC(flat), not📝/MOC(wrong case). - File lives in
Zettelkasten/(personal) orwork/MOC/(work). - Filename is
{Subject} MOC.md— suffix, not prefix. - Body has a one-paragraph description, then
##section headings, then bullet-list wikilinks. - Never has
id:or other legacy frontmatter.
Legacy MOC Fixups
| Issue | Fix |
|---|---|
tags: 🗺️ |
Rewrite to tags: [📝/moc] |
tags: [🗺, 📝/moc] |
Deduplicate to tags: [📝/moc] |
MOC in work/z/ instead of work/MOC/ |
Move file |
Uses Kanban/Foo path-qualified links |
Rewrite to Foo when basename unique |
Coverage Analysis
For each tag category (🛠️/, 🔌/, 💻/, etc.), the vault-agent mocs.analyze_mocs analyzer reports how many tagged notes are NOT linked from any MOC. High uncovered counts indicate:
- Missing MOC — the category has 10+ notes but no MOC exists.
- Stale MOC — the MOC exists but hasn't been updated with recent additions.
- Tag mismatch — notes are tagged but don't belong in the relevant MOC.
Offline Fallback (App Closed)
The detection methodology above is unchanged — only the data source changes when Obsidian (and its obsidian CLI / live link index) is closed. The obsidian CLI and vault-agent analyzers are the live-index path; parsing the .md corpus directly with Glob/Grep is the deterministic headless default, and for batch/scheduled audits it is often the better choice (reproducible, free of app/index state). vault-frontmatter already operates this way.
Parse the corpus directly:
- Frontmatter — read each note's YAML block between the leading
---fences; extracttags,aliases,context. Seevault-frontmatterfor YAML-block mechanics. - Wikilinks — match
Target,Target|Alias,Target#Heading,folder/Target, and!embed. Resolve each target to a note by basename, then relative path, then alias (from frontmatter), all case-insensitive. Resolve!embedagainst attachments as well as notes — the attachment folder is per-vault configurable, so read it from.obsidian/app.json(attachmentFolderPath) and fall back to the vault root /Files/only when that key is unset.
Coverage analysis offline: for each tag category, count notes whose parsed frontmatter tags place them in the category but which no 📝/moc-tagged note links to (via the resolution cascade). That is the same uncovered count mocs.analyze_mocs produces from the live index.
Creating a New MOC
Thresholds (heuristic):
- ≥ 10 tagged notes in the category AND
- No existing MOC covers them AND
- Notes share enough subject to belong in one hub
If all three hold, create Zettelkasten/{Category} MOC.md:
---
tags: [📝/moc]
---
# {Category} MOC
{One-paragraph framing of the category.}
## {Section}
- Note1
- Note2
Pick 2–4 ## sections that reflect natural groupings within the notes — don't force a deep hierarchy.
Extending an Existing MOC
When the analyzer reports orphaned notes that belong in an existing MOC:
- Read the MOC and find the most appropriate
##section (or create a new one if 3+ notes fit a new grouping). - Add wikilinks one per bullet, alphabetical within the section.
- Keep descriptions brief — one short phrase per link at most.
Don't add a "See also" or "Random" section as a dumping ground. If a note doesn't fit any section, reconsider whether it belongs in this MOC at all.
Never Do
- Don't create nested MOCs (MOC of MOCs) unless the vault has 20+ MOCs that justify a top-level index.
- Don't dataview-generate MOC content in place of hand-curated links. Dataview is fine for supplementary sections ("Recent notes in this category"), but the primary content should be ha
Установить vault-mocs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadEditWriteGrepGlobFAQ
Что делает скилл vault-mocs?
Map-of-Content (MOC) curation for Obsidian vaults. Use when creating a MOC for a tag, extending with orphans, fixing legacy MOC tags, or analyzing coverage.
Как установить скилл vault-mocs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vault-mocs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic