Ghost CMS Admin API Management for Openclaw

A comprehensive integration for programmatically managing Ghost CMS blog posts and media via the Admin API.

alphafactor
v1.0.5
Mar 10, 2026
3
2.5k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install ghost

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install ghost using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Ghost CMS Admin API Management?

This skill enables developers to interact with the Ghost CMS Admin API to automate content workflows efficiently. It supports full CRUD operations for blog posts, allowing users to create, update, delete, and list content directly through Openclaw Skills. Beyond text management, it includes robust support for image uploads and feature image assignment, ensuring a rich media experience for every post.

Designed with project isolation in mind, the skill utilizes a secure JSON configuration system to manage API credentials across different environments. Whether you are migrating content, building an automated publishing pipeline, or managing multiple sites, this tool simplifies the complexity of the Ghost ecosystem by providing both a command-line interface and a Python API for deep integration.

Ghost CMS Admin API Management Use Cases

  • Automating the publication of scheduled blog posts from local Markdown or HTML files.
  • Performing batch updates to tags or status across multiple posts for site-wide SEO audits.
  • Programmatically uploading and setting feature images for high-volume content sites.
  • Integrating blog management into CI/CD pipelines or custom developer workflows within Openclaw Skills.
  • Listing and auditing recent blog activity to track publishing status and post IDs.

How Ghost CMS Admin API Management Works

  1. The skill authenticates with the Ghost Admin API using a JWT generated from the provided Admin API Key.
  2. Users provide a JSON configuration file path containing the API URL and credentials to ensure secure, isolated access for specific projects.
  3. Commands are issued via the CLI or Python API to trigger specific Ghost endpoints, such as creating posts or listing resources.
  4. For image uploads, the skill handles multi-part form data and returns a public URL for use in post metadata.
  5. The API processes the request and returns a JSON response confirming the action, which the skill then parses for the user or agent.

Ghost CMS Admin API Management Setup

First, install the necessary Python dependencies using pip:

pip3 install requests pyjwt --user

Next, generate your Admin API Key in the Ghost Admin panel under Settings -> Integrations -> Add custom integration. Create a configuration file at a known path (e.g., ghost-admin.config.json):

{
  "api_url": "https://your-blog.com/ghost/api/admin",
  "admin_api_key": "your-id:your-secret"
}

You can then verify the setup by listing your recent posts using the Openclaw Skills CLI:

python3 scripts/ghost.py list --config "/path/to/your/ghost-admin.config.json"

Ghost CMS Admin API Management Data Schema & Taxonomy

The skill relies on a specific JSON configuration schema for authentication and interacts with Ghost post objects as defined below:

Field Type Description
api_url String The base URL for the Ghost Admin API (must end in /ghost/api/admin).
admin_api_key String The unique ID and Secret pair (id:secret) for API access.
feature_image String A URL string pointing to an uploaded image resource used as a cover.
status String The publication state, typically draft or published.
tags Array A list of strings representing post categories or taxonomy.

Ghost CMS Admin API Management Advanced Features

  • Project isolation via custom configuration file paths, preventing credential leaks between different Openclaw Skills environments.
  • Automated JWT (JSON Web Token) generation and handling for seamless session management with the Ghost backend.
  • Support for HTML content injection, allowing for complex formatting and rich text structures during creation.
  • Batch operation support through CLI piping, enabling users to filter and update multiple posts at once.
  • Integrated media handling for setting cover images during the post creation lifecycle.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*