daily-runlisted
Install: claude install-skill XuHo-IT/Content-Agent-Kit
# Daily run
1. **Open `PLAYBOOK.md`** in the project (the source of truth). Re-read it fully — do not
rely on memory.
2. **Determine today's phase** = (day-of-year mod N) per §1, and do exactly that phase.
3. **(If crawling)** pull fresh ideas first: `node scripts/queue-client.mjs pull` → work
from `queue_raw.json`.
4. **Fan out** one subagent per item (§2). **Each writer MUST read `WRITING_CRAFT.md` first**
(§1 universal principles + its register §2/§3 + the banned-cliché list §4) and self-check
against §6 before submitting. Each produces content + images + metadata per the §4 schema.
Check `history.json` — skip duplicates.
4b. **Video items (if the PLAYBOOK calls for any)** — invoke `create-video` (writer reads
`VIDEO_CRAFT.md` + `video-templates/CATALOG.md`, writes `script.json`, validates with
`--strict`, renders). **Render now, not at the posting slot**: a render takes 3–5 minutes,
so doing it here keeps the scheduled post instant. Keep the resulting `videoPath`.
5. **Review gate (mandatory, §2b)** — invoke the `review-gate` skill / an independent
review subagent on every item. Pass → continue. Fail → fix (2–3 rounds) → drop + log.
Reject any forbidden output on sight.
6. **Publish**: content → `node scripts/publish.mjs <file>.json`; chapters →
`node scripts/append.mjs <file>.json`. Treat `409` as already-done. Record ids in
`ledger.json` / titles in `history.json`.
7. **Schedule social** (if any): `node scripts/scheduler/build-queue.