index-refresh

Rebuilds wiki index files by reconciling on-disk pages with existing index entries.

Updated Jun 16, 2026
One-click install
npx skills add https://github.com/adamtpang/summon.company --skill index-refresh-adamtpang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: index-refresh
Source: https://github.com/adamtpang/summon.company/tree/main/packages/plugins/plugin-llm-wiki/skills/index-refresh
Command: npx skills add https://github.com/adamtpang/summon.company --skill index-refresh-adamtpang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Wiki index files drift out of sync with the actual page tree as pages are added, moved, or deleted, making navigation unreliable and forcing maintainers to manually audit every entry. ## Core Features & Use Cases - Index Reconciliation: Walks the wiki directory tree, adds entries for pages missing from the index, and removes entries whose pages no longer exist. - Structured Entry Formatting: Produces one-line summaries per page in a consistent - [[path]] — summary format, grouped by category while preserving custom sections. - Audit Logging: Appends a dated log entry to wiki/log.md with added/removed counts so every refresh run is traceable, even when nothing changed. - Use Case: An LLM Wiki operation issue of type index arrives for a space; the skill reads the current index, walks wiki/sources/, wiki/projects/, wiki/entities/, and other categories, then rewrites wiki/index.md to match reality without touching any page bodies. ## Quick Start Run an index refresh for the wiki space referenced in this operation issue and rebuild wiki/index.md from the actual page tree.

Frequently Asked Questions about index-refresh

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I refresh a wiki index that is out of sync with its pages?

Trigger an index-refresh operation for the target wiki space. The skill walks the wiki directory tree, compares it against wiki/index.md, adds missing pages, removes deleted ones, and logs the added and removed counts.

How are wiki index entries formatted during a refresh?

Each entry is a single line in the form `- [[path]] — summary`, where the summary is one factual sentence taken from the page's first paragraph or title. Entries contain no statuses, dates, or emojis.

Does index refresh modify wiki page content?

No. The skill only writes to wiki/index.md and wiki/log.md. Page bodies and files under raw/ are never modified; content problems like broken links or contradictions are deferred to a wiki-lint run.

What happens to custom wiki categories during index refresh?

Custom categories such as wiki/papers/ or wiki/runbooks/ are preserved as their own index sections. The refresh does not collapse them into the default five categories like sources, projects, or entities.

Why does the wiki log show an index-refresh entry with zero counts?

A log entry with added=0 removed=0 means the index was already accurate when the refresh ran. The entry is still written so future audits can confirm the run happened.