Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ghost-publishing-pro

БесплатноБез исполняемых скриптовНе проверен

Headless Ghost publishing. Write, audit, and automate your entire Ghost operation from your AI workflow — 18 workflows covering article publishing, newsletter…

highnoonofficeот highnoonoffice2 184 установки в других каталогах

Об этом скилле

Ghost Publishing Pro

Execution Gates

<skill_gates version="1.0" mode="mandatory_pre_execution" evaluation="sequential" on_violation="stop_and_report">

  <gate id="credentials_check" priority="1" severity="hard" scope="session_start">
    <condition>About to make any Ghost API call</condition>
    <question>Have I confirmed ~/.openclaw/credentials/ghost-admin.json exists and contains both `url` and `key` fields?</question>
    <pass_action>Proceed.</pass_action>
    <fail_action>Stop. Read the credentials file first. If missing, run Credentials Setup. Do not attempt any API call without confirmed credentials.</fail_action>
  </gate>

  <gate id="fetch_before_put" priority="2" severity="hard" scope="pre_update">
    <condition>About to PUT (update) any post</condition>
    <question>Have I fetched the current post this session and captured its `updated_at` value?</question>
    <pass_action>Proceed with PUT including `updated_at`.</pass_action>
    <fail_action>Stop. Fetch the post first. A PUT without `updated_at` returns 409. No exceptions.</fail_action>
  </gate>

  <gate id="publish_email_atomic" priority="3" severity="hard" scope="pre_publish">
    <condition>About to publish a post that should go to subscribers</condition>
    <question>Does the publishing call carry `?newsletter={slug}&amp;email_segment={segment}` as URL query parameters, and has the user approved this send?</question>
    <pass_action>Proceed.</pass_action>
    <fail_action>Stop. Put `newsletter` and `email_segment` on the query string of the call that sets `"status": "published"` (query params are the documented and production-verified route). Email fires only on the draft → published transition. If the post is already published and has never been emailed, use Workflow 18 (send newsletter for an already-published post). Never send without explicit approval. A send is irreversible and reaches every member in the segment.</fail_action>
  </gate>

  <gate id="youtube_native_embed" priority="3" severity="hard" scope="pre_publish">
    <condition>Post contains a YouTube (or any video) embed</condition>
    <question>Is the video a native Lexical `embed` card, not a raw iframe inside an HTML card?</question>
    <pass_action>Proceed.</pass_action>
    <fail_action>Stop. Email clients strip iframes but keep their wrapper, leaving a blank 16:9 gap and NO link to the video (production failure 2026-10-13, repeated 2026-10-15). Replace with a Lexical embed node: {"type":"embed","version":1,"url":"https://www.youtube.com/watch?v={VIDEO_ID}","embedType":"video","html":<YouTube oEmbed html>,"metadata":<oEmbed JSON>,"caption":""}. Get html/metadata from https://www.youtube.com/oembed?url=...&amp;format=json. Ghost renders it responsive on web and as a linked thumbnail with play button in email. Never use the padding-top wrapper.</fail_action>
  </gate>

  <gate id="bulk_write_approval" priority="4" severity="hard" scope="pre_bulk">
    <condition>About to run any bulk operation (batch update, batch tag, batch excerpt, migration import)</condition>
    <question>Has the user explicitly approved this bulk operation — scope, post count, and what will change?</question>
    <pass_action>Proceed.</pass_action>
    <fail_action>Stop. State the scope (how many posts, what changes), and wait for explicit approval. Bulk writes are irreversible without manual rollback.</fail_action>
  </gate>

  <gate id="settings_wall" priority="5" severity="soft" scope="pre_settings">
    <condition>About to write to Ghost site settings, code injection, redirects, or staff</condition>
    <question>Does the task require owner-level access that integration tokens cannot provide?</question>
    <pass_action>Stop. This operation is a Ghost platform limitation — outside the scope of this skill. Flag it to the user: this endpoint returns 403 for integration tokens by design and cannot be automated via the Admin API.</pass_action>
    <fail_action>Do not attempt. Do not suggest browser fallback. State the platform limitation clearly and stop.</fail_action>
  </gate>

  <gate id="image_upload_method" priority="6" severity="soft" scope="pre_image">
    <condition>About to upload an image to Ghost via the /images/upload/ endpoint</condition>
    <question>Am I using Python requests with multipart/form-data for this specific upload call?</question>
    <pass_action>Proceed. All other API calls (posts, tags, analytics) use curl or Node.js as normal.</pass_action>
    <fail_action>Switch to Python requests for the image upload only. curl multipart fails silently on macOS zsh for this endpoint. Browser fetch is blocked by CORS. Everything else in this skill uses curl or Node.js — this exception applies to image upload only.</fail_action>
  </gate>

</skill_gates>

Before You Install

This skill has three hard requirements:

  • Node.js installed locally (node --version to verify)
  • curl installed (curl --version to verify — standard on macOS/Linux)
Полный SKILL.md на ClawHub

Установить ghost-publishing-pro в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл ghost-publishing-pro?

Headless Ghost publishing. Write, audit, and automate your entire Ghost operation from your AI workflow — 18 workflows covering article publishing, newsletter sends (including already-published posts), batch imports, site health audits, email performance, bulk excerpt push, and GSC indexing repair. Admin API only. No browser, no dashboard, no context switching.

Как установить скилл ghost-publishing-pro?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ghost-publishing-pro запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ghost-publishing-pro с