Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
Refactor: _retry.py (exponential backoff), jwt_utils.py (shared JWT), GhostAPIError class, JSON output for delete commands
What This Skill Does
Ghost CMS content management via Admin API v5.x. Creates, edits, publishes, and schedules posts and pages, manages tags, uploads images, and reads member and newsletter data. Uses zero external Python dependencies, relying on stdlib for all HTTP and JWT operations.
Zero external dependencies mean it runs on any Python 3.9 environment without pip installs, and permission flags like allow_publish and readonly_mode let you restrict it to suggest-only or read-only modes without code changes.
When to use it
- Draft a blog post from research notes
- Publish or unpublish a post by title or slug
- Upload a feature image and attach it to a draft
- List all draft posts filtered by tag
- Create a batch of tags for content organization
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Write a draft post about Rust trends and send me a preview link
- 1Generates structured HTML content for the post
- 2Creates a draft post via Ghost Admin API with title, tags, and SEO metadata fields
- 3Retrieves the post ID from the API response
- 4Returns the Ghost editor URL for the draft
Draft created: https://your-ghost.example.com/ghost/#/editor/post/{id}
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.