# Agentprivacy Wiki New Domain

> Create a new federated-wiki domain — either a local/private wiki (served on localhost) or a public Nextcloud-synced wiki. Activates when standing up a new wiki site/domain. Merges the new-wiki-skill variant. Kept by the Librarian 🗃️ in the Tower's Wikis.

- Skill: `mitchuski/agentprivacy-wiki-new-domain` (Agent Skill)
- Install (CLI): `npx skillmds@latest add mitchuski/agentprivacy-wiki-new-domain`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mitchuski/agentprivacy-wiki-new-domain/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: Apache-2.0
- Author: mitchuski (https://skillmd.com/u/mitchuski)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/mitchuski/agentprivacy-wiki-new-domain

---


# Fedwiki New Wiki Skill

> **Note:** the upstream page `fedwiki-new-wiki-skill` (and its earlier variant `new-wiki-skill`) was unreachable (HTTP 404) when this skill was materialized on 2026-06-21. This body is reconstructed from the sitemap synopsis and the cross-references in sibling skills (reindex, welcome, nextcloud-push). Refresh it with `agentprivacy-wiki-to-skill` once the upstream page resolves.

The `fedwiki-new-wiki` skill creates a new federated wiki **domain** — a fresh site with its own `pages/` and `status/` folders. A domain is either *local/private* (served on localhost, never synced off-machine) or *public* (synced to a remote server via Nextcloud).

## Two Kinds of Wiki

**Local / private** — lives under:
```
~/Music/Guides/Private/{domain}/
```
Served by the local wiki farm on port 3000. Never leaves the machine. Use for drafts, private notes, and skill development.

**Public** — lives under:
```
~/Nextcloud/fedwiki/{domain}/
```
Synced to the remote Nextcloud/wiki server, so the site is reachable on the public web. Use for anything meant to be browsed or federated.

## What "Creating a Domain" Means

A wiki domain is a directory with this minimal shape:

```
{domain}/
  pages/          # one JSON file per page (no extension)
  status/         # server-maintained sitemap.json + site-index.json (built on demand)
```

To create a new domain:

1. **Choose the kind** (private vs public) — this picks the parent folder above.
2. **Choose the domain name** — the site's host-style identifier (e.g. `skill.fedwiki.club`, `mynotes.localhost`).
3. **Create the folder** with an empty `pages/` directory.
4. **Add a landing page** — use `agentprivacy-wiki-welcome` to write the `welcome-visitors` page (the site has no landing page until you do).
5. **Reindex (private)** — run `agentprivacy-wiki-reindex` so the local server builds the sitemap/search index. (Public wikis index on the remote after sync.)
6. **Push (public, if sync stalls)** — if the Nextcloud desktop client doesn't upload the new folder, use `agentprivacy-wiki-nextcloud-push` to WebDAV-`PUT` the pages and `MKCOL` the new directories.

## Checklist

- [ ] Picked private (`~/Music/Guides/Private/`) vs public (`~/Nextcloud/fedwiki/`)
- [ ] Created `{domain}/pages/`
- [ ] Wrote a `welcome-visitors` landing page
- [ ] Reindexed (private) or confirmed remote sync (public)
- [ ] First page resolves in the browser

## Related Skills

- `agentprivacy-wiki-welcome` — create the landing page for the new domain
- `agentprivacy-wiki-reindex` — build the local index after creating pages
- `agentprivacy-wiki-page` — the page JSON format
- `agentprivacy-wiki-nextcloud-push` — force-upload a public wiki when sync stalls

---
**Verify:** [agentprivacy.ai](https://agentprivacy.ai) · kept by the Librarian 🗃️ in the Tower's Wikis (the git-less onboarding layer) · **reconstructed body — refresh from upstream when reachable**
**Upstream:** [skill.fedwiki.club/fedwiki-new-wiki-skill](https://skill.fedwiki.club/fedwiki-new-wiki-skill) (+ new-wiki-skill, merged) — vendored + re-framed; not original agentprivacy authorship

