ghost
Installation
SKILL.md
ghost — Ghost CMS content from the terminal
Drive a Ghost CMS site's Admin API (v5/v6, Accept-Version: v6.0): list posts by status including drafts, create and publish pages and posts, manage tags, and check site info. Drafts, scheduled posts, and published content are all visible here because every call authenticates with a per-request Admin JWT built from your id:secret integration key.
Setup
export GHOST_URL="https://your-ghost-site.com"
export GHOST_ADMIN_KEY="<RECORD_KEY>" # id:secret from Ghost Admin → Integrations
- In Ghost Admin → Settings → Integrations, create (or open) a Custom Integration.
- Copy its Admin API Key — one string, two colon-separated hex halves (
id:secret). The separate Content API key from the same screen will NOT let you see drafts; see Known Gotchas. - At request time the CLI signs a short-lived JWT per call: HS256 signature keyed by the secret half after hex-decoding it to raw bytes,
kidheader carrying the id half, audience/admin/,expfive minutes afteriat, sent asAuthorization: Ghost <token>. You never handle the token yourself. --helpand--dry-runwork without credentials (lazy auth).