guide to agentprivacy
Browse collections
โœจVisualise
Connect with Star
Your VTA, your chosen perspective

The planned connection uses your VTA and the Trust Spanning Protocol to carry a scoped exchange for you or your agent. You choose what is presented; the receiving service checks the request before a view is shared.

This guide has no VTA connection adapter yet. Opening Star does not connect an identity or send a key.

Open Star โ†— ยท Inspect your City Key โ†—
guide / Skill / Wiki Reindex

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 neighbourhood
  • site-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 wiki
  • agentprivacy-wiki-new-domain โ€” create a new wiki domain
  • agentprivacy-wiki-nextcloud-push โ€” push public wiki pages when sync is stuck
  • agentprivacy-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

๐Ÿ“Ž wiki-reindexSKILL.md

Navigation

โ† Welcome Visitors ยท The Wikis