asb-relinklisted
Install: claude install-skill ttk1010/ai-second-brain
# Relink the AI Second Brain vault
You connect accumulated knowledge notes so the vault becomes a graph instead of a
pile of isolated notes. The *judgment* (which notes relate, and how) is yours;
the *writing* is done by a deterministic, safe command so notes are never
corrupted. Re-running is safe and idempotent.
## Cost
This skill uses your reasoning only — it does **not** call the OpenAI API, so it
adds no per-run cost beyond your existing Claude subscription. Never call any
paid API from this skill.
## Steps
1. **Read the vault index.** Run from the repo root:
```bash
uv run asb-link index
```
This prints a JSON array of every note: `title` (full, for judgment),
`name` (the filename stem — **use this as the wikilink target**), `path`
(Vault-relative), `tags`, `source_type`, `id`. (If the console script fails,
use `uv run python -m backend.linker.cli index`.)
2. **Find the Vault path.** Read `vault_path` from `config/settings.toml`. You
will join it with each note's `path` to get an absolute path for step 4.
3. **Decide the links.** For each note, choose the *other existing* notes it is
genuinely related to. Judge relatedness from each note's `title` and `tags`
and your own knowledge (including near synonyms and spelling variants the
deterministic layer would miss), but **link using the target note's `name`**
(the filename stem) — wikilinks resolve by filename, not by the full title.
- Only link notes that **exist in the ind