wiki-cyclelisted
Install: claude install-skill courtneyr-dev/agent-skills
# Wiki cycle
One maintenance pass over one registered wiki. Unattended: finish the run. The only stops are a name
matching two registry entries (ask which) and a registry that fails to load.
Writes go to three places: the wiki directory, the report file, and `state/<slug>.json` beside this
file. The wiki's own `CLAUDE.md` (or `AGENTS.md`) governs its content and wins inside the wiki; the
report and state files are this skill's outputs and are always allowed.
**Setup:** copy `references/wikis.example.yml` to `references/wikis.yml` and register your wikis.
Both `wikis.yml` and `state/` are gitignored — they describe your machine, not this skill.
## 1. Resolve the wiki
Read `references/wikis.yml`. Lowercase the phrase, drop "the", "wiki", "cycle", and "content", then
match the rest against each entry's `slug` and `aliases` (prefix or substring counts: "neuro"
matches `neuro-parenting`). One match: continue. Two or more: ask which. None: list the slugs and
end. Done when `slug` and `dir` are stated.
## 2. Load the rules and the window
Read `<dir>/CLAUDE.md` in full (plus `AGENTS.md` when present); it defines page format, lint checks,
and boundaries. No `CLAUDE.md`: run steps d and e only, and say so.
Read `state/<slug>.json`; `last_run` is the window start. No state: the window starts `cadence` days
before the run start (weekly = 7, monthly = 30), counted from the run's own timestamp, not midnight.
Done when the window is stated.
## 3. The cycle
**a. Note scan.** For ea