← Back to Skills Marketplace
kryzl19

Ghost CMS Agent

by KRYZL19 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
140
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ghost-cms-agent
Description
Manage Ghost CMS content via the REST API. Create and publish posts, manage tags, and fetch site analytics. Supports both the Content API (public data) and A...
README (SKILL.md)

Ghost CMS

Manage Ghost CMS content via its REST API. Works with self-hosted and Ghost Pro sites.

Configuration

# Your Ghost site URL
export GHOST_URL="https://example.com"

# Admin API key (from Ghost Admin > Settings > Integrations)
export GHOST_ADMIN_API_KEY="your-admin-api-key"

# Optional: Content API key (for public data)
export GHOST_CONTENT_API_KEY="your-content-api-key"

Get Posts

bash skills/ghost-cms/scripts/posts.sh [--limit 10] [--page 1] [--status published]

Options:

  • --limit — Number of posts to return (default: 10)
  • --page — Page number (default: 1)
  • --status — Filter by status: published, draft, scheduled, all (default: published)
  • --format — Output format: json or table (default: json)

Create a New Post

bash skills/ghost-cms/scripts/new-post.sh \
  --title "My New Post" \
  --content "## Hello World

This is the post content in Markdown." \
  --tags "news,updates" \
  --publish

Options:

  • --title — Post title (required)
  • --content — Post content in Markdown (required)
  • --excerpt — Short excerpt/summary (optional)
  • --tags — Comma-separated tag names (optional, auto-creates)
  • --publish — Publish immediately (omit to save as draft)
  • --featured — Mark as featured (optional)

Manage Tags

# List all tags
bash skills/ghost-cms/scripts/tags.sh --list

# Create a tag
bash skills/ghost-cms/scripts/tags.sh --create --name "Tutorials" --description "How-to guides" --slug "tutorials"

# Get a tag by slug
bash skills/ghost-cms/scripts/tags.sh --slug "tutorials"

Get Site Stats

bash skills/ghost-cms/scripts/stats.sh

Returns: total posts, total published posts, total draft posts, total members, total paid members, total pageviews (if stats addon is enabled)

Notes

  • Admin API key format: [id]:[apiKey] — split on the colon, use the second part as the bearer token
  • Tags are created automatically if they don't exist when creating posts
  • Ghost uses a Content-Type: application/json header for all API calls
  • All scripts output JSON by default; use --format table for human-readable output where supported
Usage Guidance
This skill's code is readable and does what it says: it calls your Ghost site using the provided GHOST_URL and GHOST_ADMIN_API_KEY. Before installing, consider: 1) The Admin API key grants full management rights—use a least-privilege key or a dedicated integration account if possible. 2) The manifest omits runtime CLI dependencies (jq, curl, column, xargs, sed, tr); ensure your environment provides these tools. 3) SKILL.md mentions an optional Content API key, but the scripts don't use it—if you only want read-only access, confirm the scripts won't use the Admin key in your workflow. 4) The skill owner is unknown; if you will run these scripts against a production site, review/verify the code or run in a safe test environment first.
Capability Analysis
Type: OpenClaw Skill Name: ghost-cms-agent Version: 1.0.0 The skill bundle provides a set of bash scripts to manage a Ghost CMS instance via its Admin API. The scripts (new-post.sh, posts.sh, stats.sh, tags.sh) use standard tools like curl and jq to interact with the user-provided GHOST_URL using the GHOST_ADMIN_API_KEY. There is no evidence of data exfiltration, malicious execution, or persistence mechanisms; the code logic is consistent with the stated purpose of CMS management.
Capability Assessment
Purpose & Capability
Name/description (manage Ghost posts, tags, and stats) matches the included scripts (new-post, posts, tags, stats). Required env vars GHOST_URL and GHOST_ADMIN_API_KEY are appropriate for the Admin API operations performed.
Instruction Scope
SKILL.md and scripts confine actions to the Ghost Admin API endpoints on the configured GHOST_URL and do not attempt to read unrelated files or contact other external hosts. Minor inconsistency: SKILL.md mentions an optional GHOST_CONTENT_API_KEY, but none of the included scripts actually use that variable.
Install Mechanism
No install spec (instruction-only) which is low-risk. However, the scripts have runtime dependencies not declared in the registry metadata: they invoke curl, jq, column, xargs, tr, sed and other standard shell utilities. The manifest lists no required binaries; the skill should declare these dependencies so users know what will be executed.
Credentials
Requesting GHOST_ADMIN_API_KEY is proportionate to creating/publishing posts and managing tags. Note: the Admin API key is powerful (can modify site content and members). If you only need read-only operations, prefer using a Content API key or a scoped credential instead.
Persistence & Privilege
The skill does not request persistent/always-on inclusion and does not modify other skills or system config. It runs ad-hoc scripts that call the Ghost API; no additional privileges are requested.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ghost-cms-agent
  3. After installation, invoke the skill by name or use /ghost-cms-agent
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release—manage Ghost CMS via command-line scripts with REST API integration. - Create, list, and publish posts (with tags and featured options) - Manage tags: list, create, fetch by slug - Fetch site analytics (post/member stats and pageviews) - Supports both Content and Admin API (requires environment variable setup) - Output formats: JSON (default) or table for supported commands
Metadata
Slug ghost-cms-agent
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Ghost CMS Agent?

Manage Ghost CMS content via the REST API. Create and publish posts, manage tags, and fetch site analytics. Supports both the Content API (public data) and A... It is an AI Agent Skill for Claude Code / OpenClaw, with 140 downloads so far.

How do I install Ghost CMS Agent?

Run "/install ghost-cms-agent" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Ghost CMS Agent free?

Yes, Ghost CMS Agent is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Ghost CMS Agent support?

Ghost CMS Agent is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Ghost CMS Agent?

It is built and maintained by KRYZL19 (@kryzl19); the current version is v1.0.0.

💬 Comments