← 返回
未分类 Key 中文

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...
{"answer":"通过 REST API 管理 Ghost CMS 内容。创建发布文章,管理标签,获取站点分析。支持内容 API(公开数据)和 A..."}
kryzl19 kryzl19 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 358
下载
💾 0
安装
1
版本
#blog#cms#ghost#latest#publishing

概述

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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 08:25 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

knowledge-management

Content Summarizer

kryzl19
获取任意URL并生成结构化内容摘要,采用提取式摘要技术,包含AI增强提示和结构化输出模板,提取清洁内容。
★ 1 📥 1,753
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,403 📥 323,809
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,485 📥 546,623