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 Merge

Wiki Merge

Category wikis ยท Version 5.5

Analyze and clean up a superseded federated-wiki domain โ€” categorize its pages (boilerplate / duplicate / minimal / unique), move unique content to the successor, trash the rest to a recycler, reindex, and delete the old domain. Activates when consolidating or retiring a wiki site. Kept by the Librarian ๐Ÿ—ƒ๏ธ in the Tower's Wikis.

The fedwiki-merge skill analyses and cleans up a federated wiki that has been superseded by a newer domain. When a site is replaced (e.g. david.ide.earth โ†’ david.vision.ide.earth), the old site is a mix of pages already copied to the new site, standard boilerplate, and unique content worth keeping. The skill separates these and handles each appropriately, ending with a full delete of the old domain.

Step 1 โ€” Analyse

Dry run โ€” prints a categorised report, no files touched:

fedwiki-merge-analyse david.ide.earth david.vision.ide.earth

Pages are placed into categories:

Category Meaning Action
BOILERPLATE Standard tool pages (changes-to-this-site, welcome-visitors, toolsโ€ฆ) โ€” checked first, regardless of date Trash
DUPLICATE_OLDER Same slug in new site; old version is older Trash
MINIMAL โ‰ค 1 item AND < 100 chars Trash
DUPLICATE_NEWER Same slug in new site; old version is newer Review
UNIQUE_CONTENT Only in old site, has real content Move

Step 2 โ€” Move Unique Pages

Moves all UNIQUE_CONTENT pages from the old site into the new site's pages/ folder, pushes each to Nextcloud, and deletes each from the old site's remote. Pages already present in the new site are never overwritten.

fedwiki-merge-move david.ide.earth david.vision.ide.earth
# or a specific page:
fedwiki-merge-move david.ide.earth david.vision.ide.earth my-page

Step 3 โ€” Trash Safe Pages

Moves BOILERPLATE, DUPLICATE_OLDER, and MINIMAL pages to {old-domain}/recycler/ and deletes them from the remote. The recycler is a local safety net โ€” pages can be manually recovered from there.

fedwiki-merge-trash david.ide.earth david.vision.ide.earth

Step 4 โ€” Reindex

Rebuilds the sitemap and search index on both sites after the moves and deletions:

nextcloud-reindex david.vision.ide.earth
nextcloud-reindex david.ide.earth

Step 5 โ€” Delete the Old Site

Once the old site's pages/ folder is empty, delete the whole domain:

fedwiki-delete-site david.ide.earth
# force even if pages remain:
fedwiki-delete-site david.ide.earth --force

Scripts

  • ~/bin/fedwiki-merge-analyse โ€” categorised report, dry run
  • ~/bin/fedwiki-merge-move โ€” move unique content to new site
  • ~/bin/fedwiki-merge-trash โ€” move safe pages to recycler
  • ~/bin/fedwiki-delete-site โ€” delete entire domain locally and remotely

All scripts read credentials from NC_USER and NC_PASSWORD in the environment.

Related Skills

  • agentprivacy-wiki-delete-site โ€” the final delete step
  • agentprivacy-wiki-reindex โ€” reindexing after bulk page changes
  • agentprivacy-wiki-nextcloud-push โ€” the WebDAV push used by merge-move
  • agentprivacy-wiki-journal โ€” strip accumulated journal history before merging

Verify: agentprivacy.ai ยท kept by the Librarian ๐Ÿ—ƒ๏ธ in the Tower's Wikis (the git-less onboarding layer)
Upstream: skill.fedwiki.club/fedwiki-merge-skill โ€” vendored + re-framed; not original agentprivacy authorship

Provenance

Forkable skill page migrated from the agentprivacy skills repo (persona/agentprivacy-wiki-merge, 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-mergeSKILL.md

Navigation

โ† Welcome Visitors ยท The Wikis