cortex-wiki-authorlisted
Install: claude install-skill cdeust/Cortex
# Wiki Author — Long-form Documentation Layer
## Keywords
adr, spec, decision, design doc, rfc, file doc, notes, wiki, documentation, link pages, bidirectional link, supersedes, implements, depends on
## Overview
Cortex's wiki is a Markdown authoring surface for the long-form artifacts that don't fit the thermodynamic memory model: architecture decision records, specs, per-file documentation, and free-form notes. Pages live under `~/.claude/methodology/wiki/` and are **never pruned** — they are first-class authored content, not derived views. Every write also registers a protected pointer memory in PostgreSQL so `recall` surfaces wiki pages alongside regular memories.
**Use this skill when:** the user is making a decision that should persist, finalizing a spec, documenting a file's purpose, or asking for two wiki pages to be linked.
**Do NOT use for:** ephemeral facts (use `remember`), domain profiles (use `query_methodology`), or regenerating documentation from memory (the wiki is authored, not projected).
## Workflow
### Record an architecture decision
```
cortex:wiki_adr({
"title": "Use pgvector for retrieval",
"context": "We need a searchable memory store with hybrid ranking.",
"decision": "Adopt PostgreSQL + pgvector + pg_trgm as the single backend.",
"consequences": "No SQLite fallback. Operator must provision Postgres 15+.",
"status": "accepted",
"tags": ["storage", "retrieval"]
})
```
Returns `{ path, number, title, status, ... }`. ADR numbers aut