Wiki Reindex
Category wikis ยท Version 5.5
Rebuild the sitemap and search index for a local federated-wiki domain after writing page JSON to disk directly (the server caches status/ indexes and won't notice file writes). Activates after creating/editing/bulk-importing pages, or when the page list or search looks stale. Merges the reindex-fedwiki-skill variant. Kept by the Librarian ๐๏ธ.
The fedwiki-reindex skill rebuilds the sitemap and search index for a local federated wiki domain. It is needed because the wiki server caches these indexes in each domain's status/ folder and does not detect when Claude Code writes page JSON files directly to disk.
Why It's Needed
When a page is created or edited through the wiki browser UI, the server updates its index automatically. When Claude writes a page file directly to ~/Music/Guides/Private/{domain}/pages/, the server doesn't know โ two cached files in the status/ folder go stale:
sitemap.jsonโ the page list used for navigation and federation neighbourhoodsite-index.jsonโ the full-text search index
How It Works
Delete the stale index files from status/, then curl the sitemap endpoint to trigger the server to rebuild them immediately.
FARM="$HOME/Music/Guides/Private"
DOMAIN="localhost"
rm -f "$FARM/$DOMAIN/status/sitemap.json"
rm -f "$FARM/$DOMAIN/status/site-index.json"
curl -s "http://$DOMAIN/system/sitemap.json" > /dev/null
echo "Reindexed $DOMAIN"
When to Use
- After Claude creates or edits page JSON files directly on disk
- After bulk import of pages
- When the wiki's page list or search results appear incomplete or stale
Public Wikis โ nextcloud-reindex
For public wikis in ~/Nextcloud/fedwiki/, the remote server needs its index rebuilt separately using nextcloud-reindex. This deletes the index files via WebDAV and triggers a rebuild on the remote server:
nextcloud-reindex skill.fedwiki.club
This is needed after bulk page changes โ e.g. after running the merge skill's move/trash steps.
Related Skills
agentprivacy-wiki-pageโ always reindex after writing pages to a private wikiagentprivacy-wiki-new-domainโ create a new wiki domainagentprivacy-wiki-nextcloud-pushโ push public wiki pages when sync is stuckagentprivacy-wiki-mergeโ uses nextcloud-reindex after bulk page moves
Verify: agentprivacy.ai ยท kept by the Librarian ๐๏ธ in the Tower's Wikis (the git-less onboarding layer)
Upstream: skill.fedwiki.club/fedwiki-reindex-skill (+ reindex-fedwiki-skill, merged) โ vendored + re-framed; not original agentprivacy authorship
Provenance
Forkable skill page migrated from the agentprivacy skills repo (persona/agentprivacy-wiki-reindex, v5.5).
Source of truth: agentprivacy-skills-v5. Fork this page to materialize a local SKILL.md via fedwiki-to-skill.
origin: 0xagentprivacy ยท author: Mitchell Travers
Assets
Navigation
โ Welcome Visitors ยท The Wikis