Walks every markdown file in the knowledge base, extracts metadata and content, and rebuilds the SQLite FTS5 search index. Run after major file changes (bulk edits, reorganizations, imports).
SkillScore100Maintained
Automatic
◆Knowledge Management pack
Last verified 8/27/2026
What it changes
Passed 22 of 22 test cases with the skill, and 6 of 22 without it.
Without skill27%
With skill100%
Checks it passed that the model alone missed
Recommends running /index --stats.
Identifies SQLite FTS5 as the index storage engine.
Includes the --full flag in the recommended command.
and 13 more in the full report
16 fixed6 passed either way0 still failing0 broke
Pass-rate lift
+73 pp
Tokens
-55%
Agent turns
0%
Response time
-63%
Model gemini-3.6-flashMeasured 8/27/2026v122 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 16 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 16
Prompt
We want to inspect index health metrics like entity count without modifying the existing index database. What Mix command should be run inside the engine directory?
What was checked, without and with the skill
Checked
Without skill
With skill
Recommends executing mix optimal.stats inside the engine directory.
Missed
Passed
case-05 · gemini-3.6-flash · 8/27/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md32 linessingle file
/index
Rebuild the full-text search index across all knowledge base files.
Usage
/index [--full] [--stats]
What It Does
Walks every markdown file in the knowledge base, extracts metadata and content, and rebuilds the SQLite FTS5 search index. Run after major file changes (bulk edits, reorganizations, imports).
Implementation
Runs: cd engine && mix optimal.index
Process:
Walk all numbered folders and rhythm/ directory.
Parse frontmatter and content from each .md file.
Extract entities, topics, and cross-references.
Rebuild FTS5 index in SQLite.
Report: files indexed, entities found, duration.
With --stats: cd engine && mix optimal.stats to show index statistics.
Examples
# Full reindex
/index
# Reindex and show statistics
/index --stats