relink

SkillDocs & knowledge

Scan notes and suggest missing backlinks between related topics

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the relink skill

What this skill tells your AI

The instructions your AI receives, as published by railly/agent-brain in .agents/skills/relink/SKILL.md and read by ahel’s review.

Find connections between notes in 03_Garden/.

Flow

  1. Scan all notes List all files in 03_Garden/concepts/, 03_Garden/tools/, 03_Garden/people/

  2. Build knowledge graph

    • Extract: title, key ideas, existing backlinks, tags
    • Map what links to what
  3. Find missing connections

    • Semantic similarity between notes
    • Shared concepts not yet linked
    • Orphan notes (no incoming/outgoing links)
  4. Suggest links For each suggestion:

    [[rust-ownership]] ↔ [[react-hooks]]
    Reason: Both discuss memory/reference management patterns
    
    [[clerk-auth]] → [[saas-patterns]]
    Reason: SaaS patterns note references auth, could link back
    
  5. Apply links (with confirmation)

    • Add [[suggested-note]] to Connections section
    • Update both notes (bidirectional)
  6. Report

    Scanned: 12 notes
    Found: 5 missing connections
    Applied: 3 (2 skipped)
    Orphans: [[old-note]] (consider archiving)
    

Options

  • /relink - Full scan, suggest all
  • /relink rust - Focus on notes mentioning "rust"
  • /relink --apply - Auto-apply without confirmation
  • /relink --orphans - Only show disconnected notes

Signals

GitHub stars
22
Forks
3
Last commit
Jul 2026
Advanced
Catalog kind
skill
Gateway key
relink
Source
github.com/railly/agent-brain