wiki-compile

Rebuild Wiki/index.md deterministically from concepts and sources.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/kaneyxx/paper-wiki --skill wiki-compile
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wiki-compile
Source: https://github.com/kaneyxx/paper-wiki/tree/main/skills/wiki-compile
Command: npx skills add https://github.com/kaneyxx/paper-wiki --skill wiki-compile

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Skill deterministically rebuilds the Wiki/index.md by aggregating all concepts and sources, ensuring the index stays in sync with the knowledge graph.

Core Features & Use Cases

  • Rebuilds Wiki/index.md deterministically from all concepts and sources.
  • Sorts entries to produce a stable, git-friendly index and updates the cross-reference table.
  • Optional: refreshes the prose summary at the top of the index.

Quick Start

Run the wiki-compile command to regenerate Wiki/index.md from the latest concepts and sources.

Frequently Asked Questions about wiki-compile

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

FAQPage Schema
How do I rebuild a wiki index deterministically from existing concepts and sources?

To rebuild a wiki index deterministically, run the wiki-compile command to aggregate all current concepts and sources, sorting entries and updating the cross-reference table in Wiki/index.md for a stable, git-friendly output.

When should I refresh my wiki index during a knowledge graph workflow?

You should refresh your wiki index whenever new concepts or sources are added, typically after running a wiki-ingest process or before sharing the wiki, ensuring the index stays fully in sync with the knowledge graph.

Why does my wiki index show inconsistent ordering in version control after adding new sources?

Inconsistent wiki index ordering occurs without deterministic sorting. Using a deterministic compile process sorts all entries stably, producing a git-friendly index.md file that prevents unnecessary merge conflicts.

Can I automatically update the cross-reference table when rebuilding a wiki index?

Yes, rebuilding the wiki index automatically updates the cross-reference table. The compile process aggregates all concepts and sources, refreshing the table in a fully auditable manner alongside the main index.

Does the wiki index rebuild process also refresh the summary section at the top?

Yes, the wiki index rebuild process can optionally refresh the prose summary at the top of the index, ensuring the introductory overview matches the latest aggregated concepts and sources.

What is the best way to maintain a git-friendly wiki index for a growing knowledge base?

The best way to maintain a git-friendly wiki index is to use deterministic writes that sort entries stably. This approach ensures the index.md file remains auditable and minimizes diff noise when concepts or sources change.