← 返回 Skills 市场
140
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (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:jsonortable(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/jsonheader for all API calls - All scripts output JSON by default; use
--format tablefor human-readable output where supported
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ghost-cms-agent - 安装完成后,直接呼叫该 Skill 的名称或使用
/ghost-cms-agent触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 140 次。
如何安装 Ghost CMS Agent?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ghost-cms-agent」即可一键安装,无需额外配置。
Ghost CMS Agent 是免费的吗?
是的,Ghost CMS Agent 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Ghost CMS Agent 支持哪些平台?
Ghost CMS Agent 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Ghost CMS Agent?
由 KRYZL19(@kryzl19)开发并维护,当前版本 v1.0.0。
推荐 Skills