---
name: yogsoth-ai-alias-resolution
description: "SOP for detecting and resolving concept aliases — merge duplicate pages, redirect edges."
license: "Apache-2.0"
metadata:
  decimalai-skill-id: "dddaae9b-b8c6-4097-8c05-8bf8d566172a"
  decimalai-version-id: "22975c74-6011-46b1-85bd-0e119b1403b9"
  decimalai-version: "1"
  decimalai-body-sha256: "287b8578ffa12e734529e2f3ac6a35689beb7834953d9ce7e2a5bad78e821f95"
  decimalai-name: "yogsoth-ai/alias-resolution"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "documentation"
  decimalai-source: "https://app.decimal.ai/s/yogsoth-ai-alias-resolution@1/SKILL.md"
---
# Alias Resolution

Detect when two concept pages refer to the same thing under different names. Merge into canonical page.

## Tool

`vault_search` + CC file operations + `vault_add_edge`

## Protocol

1. Search vault for the concept name and common synonyms
2. If multiple pages cover the same concept: choose canonical name
3. Merge content from duplicate into canonical page
4. Redirect all edges from duplicate to canonical
5. **Inline wikilinks:** After edge redirection, ensure the canonical page body contains `[[dir/slug]]` for all targets (dir/slug = target path minus `.md`). Place inline at semantically relevant locations. Skip if already present.
6. Delete duplicate page
7. Update index

## HARD-GATE

<HARD-GATE>
Before merging, verify the pages truly refer to the same concept (not related but distinct concepts).
</HARD-GATE>

## Yield

Returns: `{ merged: boolean, canonical: string, aliases_resolved: string[] }`
