indexlisted
Install: claude install-skill mikeprasad/aria-knowledge
# /index — Knowledge Index Builder
Scan all promoted knowledge files, normalize tags, detect issues, and regenerate `{knowledge_folder}/index.md`.
## Runtime Gate (per ADR-094)
**Before Step 0:** Check that `Bash` is available. If `Bash` is NOT available (e.g., Cowork), surface:
> ⚠️ **Runtime mismatch — you invoked aria-knowledge's `/index` from a non-Code runtime.**
>
> This variant supports `projects_enabled` / `projects_shared_knowledge` config keys not present in Cowork's `aria-config.md`. For the Cowork-native variant (simpler index, no shared-knowledge tier), use `/aria-cowork:index`.
>
> Proceed with the aria-knowledge variant anyway? (`y` / `n`)
Wait for `y` / `yes`. **Gate applies even in `auto`** (ADR-094 §Part 3). If `Bash` is available, proceed to Step 0.
## Step 0: Resolve Config
Read `~/.claude/aria-knowledge.local.md` and extract:
- `knowledge_folder` — base path for all operations
- `freeform_promotion_threshold` — minimum file count before suggesting promotion (default: 3)
- `staleness_threshold_months` — months before a file is flagged stale (default: 6)
- `projects_enabled` — default `false`; controls whether project tier is scanned and indexed
- `projects_list` — default empty; comma-separated `tag:path` pairs; only relevant if `projects_enabled: true`
- `projects_promotion_threshold` — default `2`; minimum projects sharing a similar pattern to surface as a cross-project promotion candidate
- `projects_shared_knowledge` — default empty; comma-separ