using-ghost-admin-api
Comprehensive draft and post access, creating, editing and analysis. When Claude needs to work with the Ghost Admin API to access content published on alt-counsel.com as Houfu's partner.
When & Why to Use This Skill
This Claude skill provides a comprehensive interface for interacting with the Ghost Admin API, enabling automated content creation, editing, and analysis. It streamlines the blogging workflow by allowing Claude to manage drafts, sync published posts with local repositories, and handle complex Lexical formatting for professional web publishing on platforms like alt-counsel.com.
Use Cases
- Automated Drafting: Seamlessly create and upload new blog drafts to the Ghost platform directly from Claude's workspace.
- Content Synchronization: Automatically fetch published posts from the Ghost API and sync them with local markdown repositories to ensure version control and consistency.
- Editorial Analysis and Updates: Analyze existing blog content for quality or SEO improvements and apply edits directly to the live site via API commands.
- Lexical Format Management: Construct and manage complex post structures using Ghost's specific Lexical format, ensuring high-quality visual presentation of web content.
| name | Using Ghost Admin API |
|---|---|
| description | Comprehensive draft and post access, creating, editing and analysis. When Claude needs to work with the Ghost Admin API to access content published on alt-counsel.com as Houfu's partner. |
Using Ghost Admin API
Overview
The user may ask you to create, edit or analyses posts on Houfu's alt-counsel.com blog using Ghost Admin API. You have different tools and workflows available for different tasks.
Workflow decision tree
- If there is already a separate SKILL that is used to perform the workflow, STOP and use that skill instead.
- Example, searching_the_blog or backlink_curating
- For posting a draft on Ghost platform, use creating_a_draft.md
- For checking published posts and syncing to repo (CHECK phase), fetch the post from Ghost API and update the local markdown file with any edits made in Ghost's editor
For all other workflows, read the Ghost Admin API writeup to create an appropriate curl command to perform the task.
Reference Documentation
- ghost-lexical-complete-guide.md - Comprehensive guide to Ghost's lexical format with real-world examples from actual blog posts. Use this when you need to understand or construct complex lexical structures.
Reminders
- Always announce that you are using this skill.
- You need authentication to access Ghost Admin API. It can be found in the environment values or in a .env file.
- Documentation is sparse from Ghost. Always report problems so that we can figure out together how to fix them and improve our instructions.