# Refresh Wiki Index

Rebuilds the wiki index from the page tree and logs the counts.

- Repository: https://github.com/paperclipai/paperclip (109885 stars)
- Category: Documents
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add paperclipai/paperclip --skill index-refresh -g -a claude-code -y`
Codex: `npx skills add paperclipai/paperclip --skill index-refresh -g -a codex -y`
Cursor: `npx skills add paperclipai/paperclip --skill index-refresh -g -a cursor -y`
Gemini CLI: `npx skills add paperclipai/paperclip --skill index-refresh -g -a gemini-cli -y`

## Description

Use when an LLM Wiki operation issue requests an index refresh. Rebuild `wiki/index.md` from the actual wiki tree, reconcile missing/deleted entries, and log counts without editing page bodies.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Index Refresh

Keep `wiki/index.md` accurate and scannable. The index is the maintainer's first stop for navigation, its quality determines how cheap every subsequent operation becomes.

## Inputs

- An operation issue with `operationType: "index"` (or the `index-refresh` routine title).
- The operation issue's target `wikiId`, `spaceSlug`, and space root. Refresh only that space unless the issue explicitly says this is a multi-space sweep.

## Workflow

The rest: https://github.com/paperclipai/paperclip/blob/HEAD/packages/plugins/plugin-llm-wiki/skills/index-refresh/SKILL.md
