/content-index — Rebuild Content Index
Scan ~/content/ and rebuild ~/content/index.md as a browsable index.
Process
Scan captures in
~/content/captures/(skipdone/subdirectory)Scan drafts in
~/content/drafts/Read frontmatter from each file for tags, project, type, status, date
Write
~/content/index.mdorganized as:# Content Index *Auto-generated by /content-index — do not edit manually* *Last updated: YYYY-MM-DD* ## Active Captures (N) ### By Project - **project-name** (N captures) - [title](path) — type, tags — date ### By Topic - **architecture** (N captures) - [title](path) — project — date ## Drafts (N) - [title](path) — status, tags — date ## Done (N captures → blogs) - [title](path) — drafted into [blog](draft-path) — dateReport — show counts: N active captures, N drafts, N done.
Rules
- Overwrite the existing index completely — it's auto-generated.
- Use relative paths so the index works if the content dir moves.
- Sort by date descending within each group.