npx skills add ...
npx skills add ar9av/obsidian-wiki --skill tag-taxonomy
npx skills add ar9av/obsidian-wiki --skill tag-taxonomy
Enforce consistent tagging across the Obsidian wiki using a controlled vocabulary. Use this skill when the user says "fix my tags", "normalize tags", "clean up tags", "tag audit", "what tags should I use", "tag taxonomy", or whenever you're creating or updating wiki pages and need to choose the right tags. Also trigger when the user asks about tag conventions, wants to add a new tag to the taxonomy, or says "my tags are a mess". Always consult this skill's taxonomy file before assigning tags to any wiki page.
You are enforcing consistent tagging across the wiki by normalizing tags to a controlled vocabulary.
llm-wiki/SKILL.md (inline @name override → walk up CWD for .env → ~/.obsidian-wiki/config → prompt setup). This gives OBSIDIAN_VAULT_PATH$OBSIDIAN_VAULT_PATH/_meta/taxonomy.md — this is the canonical tag listindex.md to understand the wiki's scopeThe canonical tag vocabulary lives at $OBSIDIAN_VAULT_PATH/_meta/taxonomy.md. It defines:
Always read this file before tagging. It's the source of truth.
visibility/ is a reserved tag group with special rules. These tags are not domain or type tags and are managed separately from the taxonomy vocabulary:
| Tag | Purpose |
|---|---|
visibility/public | Explicitly public — shown in all modes (same as no tag) |
visibility/internal | Team-only — excluded in filtered query/export mode |
visibility/pii | Sensitive data — excluded in filtered query/export mode |
Rules for visibility/ tags:
visibility/ tag per pagevisibility/internal just because content is technical; use it only for genuinely team-restricted knowledgevisibility/ tag usage separately — do not flag them as unknown or non-canonicalWhen normalizing tags, leave visibility/ tags untouched — they are not subject to alias mapping.
When the user wants to see the current state of tags:
For each tag found, count how many pages use it. Flag:
nextjs instead of react)When the user wants to fix the tags:
For each page with non-canonical tags:
Example:
For tags that aren't in the taxonomy and aren't aliases:
If new canonical tags were agreed upon, append them to _meta/taxonomy.md in the correct section.
When you're creating a wiki page and need to choose tags:
_meta/taxonomy.mdWhen the user wants to add a tag to the vocabulary:
_meta/taxonomy.md with:
Append to log.md:
Or for normalization:
hot.md — Read $OBSIDIAN_VAULT_PATH/hot.md (create from the template in wiki-ingest if missing). Update Recent Activity with a one-line summary — e.g. "Tag audit: normalized 14 tags across 28 pages; 2 new canonical tags added." Keep the last 3 operations. Update updated timestamp.
QMD is a search index, not the source of truth. If $QMD_WIKI_COLLECTION is empty or unset, skip this step. Run it only after this skill has written or rewritten vault markdown. If QMD refresh fails, do not roll back the vault changes; report the QMD status separately.
Use $QMD_CLI if set; otherwise use qmd.
If the output says vectors are needed or embeddings may be stale, run:
Verify the collection with either:
or, when a specific page path is known:
Record one of:
QMD refreshed: update + embed + verifiedQMD refreshed: update only + verifiedQMD skipped: QMD_WIKI_COLLECTION unsetQMD skipped: qmd CLI unavailableQMD failed: <short error summary># Before
tags: [nextjs, ai, ml-engineer, windows98, creative-coding, game, 8-bit, portfolio]
# After
tags: [react, ai, ml, retro, generative-art]- [TIMESTAMP] TAG_AUDIT tags_normalized=N unknown_tags=M pages_modified=P- [TIMESTAMP] TAG_NORMALIZE tags_renamed=N pages_modified=M new_tags_added=P${QMD_CLI:-qmd} update${QMD_CLI:-qmd} embed${QMD_CLI:-qmd} ls "$QMD_WIKI_COLLECTION"${QMD_CLI:-qmd} get "qmd://$QMD_WIKI_COLLECTION/<page>.md" -l 5