reindex
Skill1 starsChanged 2 months agoMITView on GitHub
Rebuild the vault's navigator graph, nominate topics for a Map of Content, and fix dead links. Triggers — "reindex", "rebuild the graph", "what needs a MOC", "tidy the vault".
3 other projects use a version of this.
Adopted by
Most recently taken up by
- johnfkoo951/cmds-llm-wikitheir own version, first seen Aug 26, 2026
- ory/lumentheir own version, first seen Aug 11, 2026
- jamie8johnson/cqstheir own version, first seen Jul 5, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- ory/lumen★ 303same name
- johnfkoo951/cmds-llm-wiki★ 90same name
- jamie8johnson/cqs★ 16same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository50 other files it gives its agents.
- AGENTS.mdAGENTS.md
- core/AGENTS.mdAGENTS.md
- index/AGENTS.mdAGENTS.md
- mcp/AGENTS.mdAGENTS.md
- tools/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- analyze-specSkill
- auditSkill
- captureSkill
- catch-me-upSkill
- connect-brainSkill
- cortex-auditSkill
- cortex-briefSkill
- cortex-enrichSkill
- cortex-impactSkill
- cortex-installSkill
- cortex-nextSkill
- cortex-profileSkill
- cortex-reviewSkill
- cortex-scaffoldSkill
- cortexSkill
- cortex-skillsSkill
- cortex-viewSkill
- dailySkill
- diagnosing-bugsSkill
- domain-modelingSkill
- dreamSkill
- grillingSkill
- handoffSkill
- improve-codebase-architectureSkill
- install-projectSkill
- level-upSkill
- migrate-engineSkill
- onboardSkill
- optimize-contextSkill
- optimize-promptSkill
- plugin-syncSkill
- resolving-merge-conflictsSkill
- resumeSkill
- scan-projectsSkill
- setup-pluginsSkill
- shipSkill
- site-syncSkill
- skill-auditSkill
- skill-creatorSkill
- team-addSkill
- team-initSkill
- weekly-reviewSkill
- wizardSkill
- writing-for-agentsSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Run the generators so the visual map reflects reality:
- Very specific: line 39
Make sure new MOCs are linked from home.md so nothing is stranded.
- Very specific: line 47
Never bulk-move notes/. Time-foldering daily/ is the only physical restructure offered.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/reindex — keep navigation healthy as the brain grows
Plain files scale only if navigation keeps up. This ritual refreshes the views, surfaces where the vault is outgrowing its structure, and fixes broken links. No engine — bash + judgement.
Step 1 — Regenerate the views
Run the generators so the visual map reflects reality:
bash tools/cortex.sh→cortex.html(force graph, type-to-find search, repos + vault dashboard). Report the counts (notes, links, dead, orphans).
Step 2 — Nominate Maps of Content (the "levels" that scale)
Cortex navigates by MOCs, not deep folders (folders fight [[wikilinks]]). Scan for clusters:
- Group
notes/by sharedtags:and by what links to what. Any topic with ~7+ related notes that has notype: mocnote is a MOC candidate. - For each candidate, offer to create one from
templates/moc.md, fill it with the cluster's notes, and link it fromhome.mdunder "Maps of Content". This is how the vault grows in navigable levels.
Step 3 — Resolve dead links (genuine ones only)
The generator already ignores placeholders (examples, templates, archives, commented/code links).
For each remaining dead [[target]], pick with the user:
- Create — it should exist → make the note from a template (promote the link to a real note).
- Fix — it's a typo/rename → correct the link to the right note.
- Remove — it was never meant to be a link → unlink it, or wrap example syntax in backticks
(
`[[like-this]]`) so it's never counted again.
Step 4 — Structure health (light-touch)
daily/getting big? Suggest foldering by year (daily/2026/) — the one place chronological volume needs levels. Offer to move past years; never restructurenotes/into deep folders.- Orphans (notes with no links): list them; a note with no links is a dead end — suggest linking each into a MOC or the relevant note.
- Make sure new MOCs are linked from
home.mdso nothing is stranded.
Step 5 — Close
Summarise: views regenerated, MOCs created/suggested, dead links resolved, orphans flagged. Suggest
re-running /reindex on a cadence (e.g. with /weekly-review).
Rules
- Navigate by MOCs + links, not folder depth. One filename idioms; keep it boring.
- Never bulk-move
notes/. Time-folderingdaily/is the only physical restructure offered. - The AI is the semantic layer: well-tagged, MOC-linked notes let any agent retrieve the right context cheaply. Structure feeds retrieval — that's the "semantic index", no embeddings needed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

