ghost

Publish and sync Markdown content to Ghost CMS via the Admin API.

Updated Jul 29, 2025
One-click install
npx skills add https://github.com/xavierfuentes/xavierfuentes.com --skill ghost-xavierfuentes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ghost
Source: https://github.com/xavierfuentes/xavierfuentes.com/tree/main/.claude/skills/ghost
Command: npx skills add https://github.com/xavierfuentes/xavierfuentes.com --skill ghost-xavierfuentes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams publish and maintain content in Ghost CMS from a canonical repository, reducing drift between draft Markdown and live web content.

Core Features & Use Cases

  • Publish to Ghost: Sync content from local markdown files to Ghost via Admin API.
  • Frontmatter Validation: Validate required fields before publishing to ensure consistency.
  • Sync Workflow: Maintain a clear repo↔Ghost synchronization strategy, including drafts, posts, and pages.

Quick Start

Use the ghost skill to publish your first draft by running the publish workflow against content/drafts/ and verify in Ghost.

Frequently Asked Questions about ghost

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync markdown files to Ghost CMS from a repository?

You can sync markdown to Ghost by running the publish workflow against your content directory. The skill validates frontmatter fields like title and slug, then syncs drafts and posts via the Ghost Admin API.

What frontmatter fields are required to publish markdown to Ghost?

Publishing markdown to Ghost requires frontmatter fields including title, slug, status, and visibility. The skill enforces these fields during validation to ensure content consistency before pushing to the Ghost Admin API.

Do I need Ghost Admin API credentials to sync content from a markdown repository?

Yes, syncing content from a markdown repository requires the GHOST_URL and GHOST_ADMIN_API_KEY environment variables. These credentials authenticate the connection to your Ghost CMS instance for publishing drafts, posts, and pages.

Can I manage Ghost drafts and pages using markdown files instead of the editor?

Yes, you can manage Ghost drafts and pages from markdown files by using the sync workflow. The skill enables a clear repo-to-Ghost synchronization strategy, allowing you to maintain drafts, posts, and pages from a canonical repository.

What is the best way to prevent content drift between markdown files and live Ghost posts?

The best way to prevent content drift is to use a canonical repository as your source of truth and sync it to Ghost. This skill reduces drift by validating frontmatter and pushing updates through the Ghost Admin API.