local-wikilisted
Install: claude install-skill rcdelfin/agentkit
# Local Wiki
Ingest source content into the project's **governed local wiki** — the append-only
raw corpus + rebuild-only topic pages that capture knowledge before it scrolls
away in ClickUp/chat. This skill locates the wiki **dynamically** and defers to
its own governance for the exact structure; it does not hardcode one layout.
## Locate the wiki (dynamic — prefer `docs/wiki/`)
A wiki is "governed" if it has an `AGENTS.md` (or `CLAUDE.md`) defining its
layout. Search in this order, use the first match, **prefer `docs/wiki/`**:
```bash
for d in docs/wiki wiki docs/kb docs/knowledge docs/notes; do
if [ -f "$d/AGENTS.md" ] || [ -f "$d/CLAUDE.md" ]; then echo "WIKI=$d"; break; fi
done
```
- **Found** → set `WIKI=<dir>`, read **`<WIKI>/AGENTS.md`** and obey it (DOX: nearest AGENTS.md wins).
- **Ambiguous** (several candidates, none `docs/wiki/`) → list them and ask the user.
- **None found** → ask the user where the wiki lives, or whether to bootstrap a minimal `docs/wiki/`. Do **not** silently invent a structure.
## Obey the wiki's own governance
The wiki's `AGENTS.md` is the source of truth for: the raw-corpus layout, page
format, what's append-only vs rebuild-only, whether the tree is git-ignored, and
URL-sourcing rules. **Read it before writing.** Never hand-edit rebuild-only
pages; never delete from the append-only raw corpus.
## Ingestion pattern (adapt to the wiki's actual structure)
1. **Fetch the source** via the right skill — `clickup` for a ClickUp card