Ghost
Skill by alphafactor
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alphafactor/ghostWhat This Skill Does
The Ghost skill allows users to programmatically manage their Ghost CMS blog content directly through the OpenClaw environment. By leveraging the Ghost Admin API, this tool enables full lifecycle management of blog posts, including creating, updating, listing, and deleting articles. It also provides advanced media handling capabilities, allowing users to upload images directly to their Ghost instance and set them as featured images for their posts. Whether you are a content creator looking to automate publishing workflows or a developer building content-driven AI agents, this skill abstracts the complexity of JWT authentication and API interaction, providing a clean Python interface and CLI wrapper for seamless integration.
Installation
To begin using this skill, you must first ensure you have the necessary environment variables configured. Create a credentials file at ~/.config/ghost/credentials containing your GHOST_API_URL and GHOST_ADMIN_API_KEY. You will need to obtain these from the 'Integrations' section of your Ghost Admin dashboard. After saving your credentials with restricted permissions (chmod 600), install the required dependencies: pip3 install requests pyjwt. Once the dependencies are ready, you can install the skill via the OpenClaw package manager using the command clawhub install openclaw/skills/skills/alphafactor/ghost. Ensure your environment is sourced correctly so the agent can access your API tokens during execution.
Use Cases
This skill is perfect for automating content pipelines. You can use it to sync documentation from a repository directly to a blog, create 'draft' posts from AI-generated research reports, or perform bulk updates on existing articles. It is particularly useful for setting up automated 'featured' images for batches of posts, saving significant time on manual CMS configuration. Bloggers can also use it to pull recent post analytics or statuses to maintain a content dashboard within their terminal.
Example Prompts
- "Ghost, please draft a new post titled 'AI Trends 2024' using the content in ./draft.html and set the status to draft."
- "List the 10 most recent posts from my blog and tell me which ones are currently published."
- "Upload the file ./header.png to my Ghost blog, then update the post with ID '65b2f' to use this image as its featured cover."
Tips & Limitations
Always remember that the content provided to the 'create_post' function must be valid HTML. If you are converting Markdown, use an intermediary library like 'markdown' in Python before sending the content to the Ghost API. Note that the Admin API keys are highly sensitive; do not share your credentials file and always ensure your server environment is secure. The skill is limited by the rate-limiting and permissions configured within your specific Ghost site integration. If you encounter authentication errors, verify that your API key is not expired and that your URL points correctly to the '/admin/' endpoint.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alphafactor-ghost": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, external-api
Related Skills
todo
**macOS Only** - Manage macOS Reminders app via AppleScript. Full-featured reminder management: add, list, complete, delete, search, create lists, and more. **Note: This skill is macOS-only**, requiring the native Reminders app. Use cases: - Create reminders with due dates and priorities - List reminders from specific lists or incomplete ones - Mark reminders as complete/uncomplete - Delete reminders - Search reminders by title or content - Create new reminder lists - View today's due reminders
Wechat Connect
Install OpenClaw's official WeChat plugin and complete account pairing via QR code scan. Triggers when the user says "install WeChat plugin", "connect WeChat", or "WeChat QR code". No command-line interaction required.
Crypto Market
Cryptocurrency market data and price alert monitoring tool based on CCXT. Supports multiple exchanges, real-time price tracking, and configurable price/volatility alerts. Use when the user needs to monitor crypto prices or set up trading alerts. Default exchange is Binance.
Tushare Pro
Fetch Chinese stock and futures market data via Tushare API. Supports stock quotes, futures data, company fundamentals, and macroeconomic indicators. Use when the user needs financial data from Chinese markets. Requires TUSHARE_TOKEN environment variable.
homekit
Control Apple HomeKit smart home devices. Supports listing, discovering, pairing devices, and controlling lights, switches, outlets, thermostats. Use when the user needs to manage HomeKit accessories programmatically. Requires homekit library and paired devices.