set up aliases
8
总安装量
0
周安装量
#35608
全站排名
安装命令
npx skills add https://github.com/zarvent/obsidian-skills --skill set up aliases
Skill 文档
Set Up Aliases Skill
This skill enables agents to add meaningful aliases to Obsidian notes, improving note discoverability and enabling natural linking across languages and abbreviations.
Overview
Aliases are alternative names for a note stored in the YAML frontmatter. When an alias is defined, Obsidian treats it as an equivalent way to reference that note via wikilinks or search.
Why aliases matter:
- Cross-language support â Link to notes using translations
- Abbreviation linking â Use acronyms like
[[CoT]]instead of[[chain of thought]] - Natural language â Allow different phrasings to resolve to the same note
- Search discovery â Find notes using alternative terminology
Alias Guidelines
When to Add Aliases
| Scenario | Example |
|---|---|
| Acronym/abbreviation exists | chain of thought â CoT |
| Translation needed | machine learning â aprendizaje automático |
| Common alternative names | artificial intelligence â AI |
| Disambiguation variants | white-box (ai).md â IA de caja blanca |
Alias Quality Criteria
| Criterion | Good Practice | Avoid |
|---|---|---|
| Relevance | Only add aliases that users would actually search for | Generic or tangentially related terms |
| Accuracy | Aliases must be true synonyms or translations | Loosely related concepts |
| Minimal set | 1-3 well-chosen aliases | Dozens of marginal variants |
| Language consistency | Match user’s primary and secondary languages | Random languages |
Alias Types
- Acronyms â Standard abbreviations recognized in the field
- Translations â Full translations to user’s secondary language (Spanish)
- Alternative names â Recognized synonyms in the same language
Frontmatter Format
---
aliases:
- first alias
- second alias
---
Rules:
- Use lowercase unless the alias is a proper noun or acronym
- No quotes needed unless the alias contains special characters
- Acronyms use standard capitalization (e.g.,
CoT,CLI,MCP)
Examples
Example 1: Technical Concept with Acronym
Note: chain of thought.md
---
aliases:
- cadena de pensamiento
- CoT
---
Reasoning:
CoTâ Standard acronym in AI/ML literaturecadena de pensamientoâ Spanish translation for cross-language linking
Example 2: Interface Concept
Note: command line interface.md
---
aliases:
- interfaz de lÃnea de comandos
- CLI
---
Reasoning:
CLIâ Universal abbreviationinterfaz de lÃnea de comandosâ Spanish translation
Example 3: Named Cycle/Framework
Note: thought-action-observation cycle.md
---
aliases:
- TAO
- ciclo pensamiento-acción-observación
---
Reasoning:
TAOâ Acronym derived from initialsciclo pensamiento-acción-observaciónâ Direct Spanish translation preserving hyphens
Example 4: Disambiguated Concept
Note: white-box (ai).md
---
aliases:
- IA de caja blanca
---
Reasoning:
- Only translation provided since “white-box” has no common acronym in AI context
- The
(ai)disambiguator is context, not part of the alias
Example 5: Protocol/Standard
Note: model context protocol.md
---
aliases:
- MCP
- Protocolo de Contexto para Modelos
---
Reasoning:
MCPâ Standard acronym- Spanish translation uses proper capitalization for protocol names
Validation Checklist
Before finalizing aliases:
- Relevance â Each alias is a true synonym, acronym, or translation
- No duplicates â Alias doesn’t match the filename exactly
- Correct format â YAML list syntax with proper indentation
- Acronym accuracy â Acronyms are recognized in the field, not invented
- Translation quality â Translations are accurate, not machine-literal
- Minimal set â No more than 3-4 aliases unless strongly justified