Claude
Skills
Sign in
โ† Back

vault-tags

Included with Lifetime
$97 forever

Emoji-prefixed tag taxonomy for Obsidian vaults. Use when consolidating drifted tags, collapsing bare emoji placeholders, or reducing over-tagging.

General

What this skill does


# Vault Tag Taxonomy

## When to Use This Skill

| Use this skill when... | Use the alternative instead when... |
|---|---|
| Consolidating drifted/duplicate tags (`๐Ÿ”’/security` vs `๐Ÿ”/security`) across many notes | Setting one property on one live note via the running CLI โ€” use `properties` |
| Collapsing bare emoji placeholder tags like `๐Ÿ“` or `๐ŸŒฑ` | Cleaning the surrounding YAML structure (null entries, missing blocks) โ€” use `vault-frontmatter` |
| Reducing over-tagged notes to 2-3 canonical tags | Grouping tag-aligned notes into a hub MOC โ€” use `vault-mocs` |

A two-level tag scheme built around emoji-prefixed categories. Consistent tagging enables reliable search (`tag:#๐Ÿ› ๏ธ/neovim`), Dataview queries, and MOC coverage analysis.

## Canonical Categories

| Emoji | Category | Examples |
|-------|----------|----------|
| `๐Ÿ› ๏ธ` | Development tools | `๐Ÿ› ๏ธ/neovim`, `๐Ÿ› ๏ธ/git`, `๐Ÿ› ๏ธ/terminal` |
| `๐Ÿ’ป` | Programming languages | `๐Ÿ’ป/python`, `๐Ÿ’ป/rust`, `๐Ÿ’ป/typescript` |
| `โ˜๏ธ` | Systems & infrastructure | `โ˜๏ธ/kubernetes`, `โ˜๏ธ/docker`, `โ˜๏ธ/linux` |
| `๐Ÿ”Œ` | Hardware & IoT | `๐Ÿ”Œ/esp32`, `๐Ÿ”Œ/arduino`, `๐Ÿ”Œ/electronics` |
| `๐Ÿ ` | Home automation | `๐Ÿ /home-assistant`, `๐Ÿ /esphome` |
| `๐ŸŽฎ` | Entertainment | `๐ŸŽฎ/games`, `๐ŸŽฎ/tabletop` |
| `๐Ÿค–` | AI & ML | `๐Ÿค–/comfyui`, `๐Ÿค–/llm`, `๐Ÿค–/ai-tools` |

### Note-Type Tags

| Tag | Meaning |
|-----|---------|
| `๐Ÿ“/moc` | Map of Content |
| `๐Ÿ“/notes` | General note |
| `๐Ÿ“/collection` | Resource collection |
| `๐Ÿ“/guide` | How-to guide |
| `๐Ÿ“‹/reference` | Quick reference material |
| `๐Ÿ“‹/commands` | Command-line reference |
| `๐Ÿ“…/daily` | Daily note |

## Consolidation Table

When auditing reveals duplicate or drifted tags, apply these rewrites:

| Drift / Legacy | Canonical | Reason |
|----------------|-----------|--------|
| `๐Ÿ—บ๏ธ` | `๐Ÿ“/moc` | Old MOC marker |
| `๐Ÿ”’/security` | `๐Ÿ”/security` | Standardize on search emoji |
| `๐ŸŽจ/comfyui` | `๐Ÿค–/comfyui` | ComfyUI lives under AI |
| `gaming` | `๐ŸŽฎ/games` | Flat โ†’ emoji-prefixed |
| `neovim` (flat) | `๐Ÿ› ๏ธ/neovim` | Flat โ†’ emoji-prefixed |
| `softwaredevelopment` | `๐Ÿ’ป/development` | Concatenated โ†’ slash |
| `project` / `projects` | `๐Ÿ’ก/project` | Pick one plural form |
| `Hardware` (title-cased) | `๐Ÿ”Œ/hardware` | Lowercase, emoji-prefixed |

## Bare Placeholder Tags

The tags `๐Ÿ“`, `๐ŸŒฑ`, `๐Ÿ“/๐ŸŒฑ` are no-ops left over from unfinished template rendering. Treatment:

- If the note has **other useful tags**, remove the placeholder.
- If the note has **only** a placeholder, leave it flagged for manual review โ€” removing would leave the note untagged, which is a different (but real) problem.

## Over-Tagging

More than 5 tags suggests the note mixes topics and should be split, or that tags are being used as keywords. Bring it down to 2โ€“3 by asking "what single category is this note about?" โ€” the rest go in the body as text.

## Detection

```bash
# Notes with a bare ๐Ÿ“ or ๐ŸŒฑ tag on its own line
rg -l '^\s*-\s+(๐Ÿ“|๐ŸŒฑ|๐Ÿ“/๐ŸŒฑ)\s*$' --glob '*.md'

# Notes with competing security prefixes
rg -l '๐Ÿ”’/security' --glob '*.md'
rg -l '๐Ÿ”/security' --glob '*.md'

# Flat (non-emoji-prefix) tags
rg '^\s*-\s+[a-z][a-z0-9_-]+\s*$' --glob '*.md'
```

## Edit Pattern

For each note, use `Edit` with a small `old_string` / `new_string` that touches only the affected tag lines. Preserve indentation and the rest of the frontmatter block exactly.

When renaming a tag across the whole vault, batch into one commit titled `fix(tags): consolidate ๐Ÿ”’/security โ†’ ๐Ÿ”/security (N notes)`.

## Anti-Patterns

- Do **not** invent new categories. Use the table above; propose additions via a conventional commit if truly needed.
- Do **not** use spaces inside tag values (`AI tools` โ†’ `๐Ÿค–/ai-tools`).
- Do **not** use multiple emoji in one tag (`๐Ÿ› ๏ธ๐Ÿ”Œ/esp32` โ€” pick one).
- Do **not** add tags purely for search โ€” search works on content and filenames already.

## Related Skills

- **vault-frontmatter** โ€” general YAML repair patterns
- **vault-mocs** โ€” how tag categories relate to MOCs
- **search-discovery** โ€” runtime tag queries via Obsidian CLI

Related in General