setup-indexeslisted
Install: claude install-skill erclx/toolkit
# Indexes install
Adds the index.md system to a project that does not have it. Operates in the active Claude session: Claude reads files, drafts frontmatter, confirms with the user, and writes. The CLI handles validation and regeneration only.
Read `docs/indexes.md` from the toolkit if context on the system is needed before scanning.
## Scope
- Bootstrap un-indexed folders only. Skip folders that already contain an `index.md`.
- All-or-nothing per chosen folder. Every `*.md` sibling in a chosen folder gets `title` and `description` injected, or none does. Partial migration creates folders that hard-error on regen.
## Scan
Walk the project root for folders containing three or more sibling `*.md` files. Prune `.git`, `node_modules`, `.claude`, `snippets`, anything matched by `.gitignore`, and any folder that already contains an `index.md`.
Skip `snippets/` even when it lives at a non-root path. Snippets are invoked by reference (`@snippet-name`) rather than browsed, so they need neither `index.md` nor per-file frontmatter. Adding them creates noise that targets keep reporting.
For each candidate, capture:
- Folder path relative to project root
- Sibling count
- Existing frontmatter coverage (how many siblings already carry `title` and `description`)
## Present candidates
Output one line per candidate:
```plaintext
- docs/ (8 files, 0/8 with frontmatter)
- guides/ (5 files, 2/5 with frontmatter)
- references/ (3 files, 0/3 with frontmatter)
```
Ask t