Autowiki index
Use when updating the knowledge base index and log after ingestion. Trigger: 'rebuild index', 'update wiki index', 'regenerate index', 'update log'.From its SKILL.md
npx -y skills add knefenk/autowiki --skill autowiki-indexAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.0 KB, 452 tokens by cl100k_base, as published. Nobody here has run it
AutoWiki Index
Rebuild index.md and update log.md after ingestion or changes.
Rebuild index.md
-
Scan each section directory for
.mdfiles:search_files "*.md" target=files path=$WIKI/entities search_files "*.md" target=files path=$WIKI/concepts search_files "*.md" target=files path=$WIKI/claims search_files "*.md" target=files path=$WIKI/comparisons search_files "*.md" target=files path=$WIKI/queries -
For each file, extract title and summary:
- Read the file
- Title: from frontmatter
title:field or first#heading - Summary: first non-empty line after title (max 120 chars)
-
Write
$WIKI/index.md:# Wiki Index > Last updated: YYYY-MM-DD | Total pages: N ## Entities - [[slug]] — summary ## Concepts - [[slug]] — summary ## Claims - [[slug]] — summary (confidence: high|medium|low) ## Comparisons - [[slug]] — summary ## Queries - [[slug]] — summaryAlphabetical within each section. Update total page count.
Update log.md
Append entry to $WIKI/log.md:
## [YYYY-MM-DD] <action> | <subject>
- Created: <list of new files>
- Updated: <list of modified files>
- Flags: <contradictions, low confidence, drift>
If log.md exceeds 500 entries, rotate: rename to log-YYYY.md, start fresh.
Verification
- Every page in filesystem appears in
index.md - No
index.mdentries point to deleted files - Total count matches filesystem
- Log entry appended
Never
- Delete index entries — mark as
[MISSING]instead - Skip log entries — the log is the audit trail
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.