/brain-rebuild
Destructive. Redesign the qmd schema from scratch.
Use only when the current collection/context structure no longer fits how you search — for example, when the wiki has grown into new domains that deserve their own collections.
What it does:
- Analyzes the current wiki.
- Proposes new collections and contexts.
- Waits for your approval before any destructive action.
- Patches
scripts/qmd/setup.ts, drops the old index, and rebuilds embeddings from scratch.
Scope: vault-local, installed at .claude/skills/brain-rebuild/SKILL.md and copied into each other selected agent's project skills dir (e.g. .agents/skills/brain-rebuild). Source: template/.claude/skills/brain-rebuild/SKILL.md.