agentleFS
yogsoth-aiyogsoth-ai/knowledge-structuring/skills/alias-resolution/SKILL.md

alias-resolution

Skill2 starsChanged 6 months agoApache-2.0View on GitHub

SOP for detecting and resolving concept aliases — merge duplicate pages, redirect edges.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Search vault for the concept name and common synonyms

    line 18
  2. Distinctive:

    If multiple pages cover the same concept: choose canonical name

    line 19
  3. Very specific:

    Inline wikilinks: After edge redirection, ensure the canonical page body contains [[dir/slug]] for all targets (dir/slug = target path …

    line 22
  4. Distinctive:

    Before merging, verify the pages truly refer to the same concept (not related but distinct concepts).

    line 29

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
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[] }

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.