Ghost: Skill for Claude Code

.agents/skills/migrate-service/SKILL.md

migrate-service is a skill for Claude Code, Codex from TryGhost/Ghost. It costs 56 tokens per session (2,022 once invoked), scanned A, original, MIT.

A step-by-step guide for moving one existing Ghost Core service to a startup-owned setup pattern. It covers the service's dependencies, callers, inventory entry, tests, and enforcement checks.

In plain words
What is it for?
Use it to prepare or carry out a single-service migration, including auditing its consumers, updating wiring, checking prerequisites, and making one focused commit.
Why use it?
It keeps a service migration small and behavior-preserving instead of mixing lifecycle redesign with the move. It also helps establish test coverage and verify that required changes are actually merged.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is TryGhost/Ghost's own configuration. It tells Claude Code and Codex how to work on Ghost itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Ghost configures →

About the project

Ghost is a publishing platform for creating websites, blogs, memberships, subscriptions, and newsletters. Publishers and developers can use it through managed hosting or run it themselves, while contributors work on its monorepo, themes, and API.

TryGhost/Ghost · 55,632 stars · on GitHub · ghost.org

Reuse

Borrowing it

Nothing to install: this file belongs to TryGhost/Ghost. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/TryGhost/Ghost/main/.agents/skills/migrate-service/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/TryGhost/Ghost

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migrate-service

README.md
[![agentmods](https://agentmods.dev/badge/skills/tryghost/ghost/migrate-service/github.svg)](https://agentmods.dev/skills/tryghost/ghost/migrate-service)
Your own site
<a href="https://agentmods.dev/skills/tryghost/ghost/migrate-service"><img src="https://agentmods.dev/badge/skills/tryghost/ghost/migrate-service/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for migrate-service

Your own site · 80×15
<a href="https://agentmods.dev/skills/tryghost/ghost/migrate-service"><img src="https://agentmods.dev/badge/skills/tryghost/ghost/migrate-service.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,022 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.02022
Opus 5.5 $0.00022 $0.00809
Sonnet 5.5 $0.00011 $0.00404
Haiku 4.5 $0.00006 $0.00202

Measured 4d ago against content hash b8af0b73eb70, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

migrate-service scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/migrate-service/SKILL.md · 170 lines

How it starts

The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Migrate one service

Prepare a small, behavior-preserving migration of one existing service. This is an execution workflow, not the final service-authoring guide or permission to redesign a service's lifecycle. Read current repository guidance rather than copying an earlier migration blindly.

1. Establish the starting point

  • Read the root and nearest AGENTS.md, the services guide, kernel contract, testing guide and contribution workflow.
  • Inspect status, existing branches/worktrees and related PRs. Preserve unrelated work. Fetch origin and start from current origin/main; refresh dependencies with pnpm bootstrap in a fresh checkout or after dependency changes.
  • Read this service's entry in ghost/core/server/services/service-inventory.yaml and any existing migration plan. If a plan-registry skill is available, use it to find/update that plan; do not create a competing plan in the repository.
  • Verify prerequisites are merged. An open tests or enforcement PR is not main. Preparation can proceed against a proposed policy, but record its exact head and repeat validation against the policy that actually merges.

2. Audit the whole service and its callers

Use rg across production and tests. Include deep imports, nested helpers, separate actions, job handlers, CLI use and CommonJS consumers. Also inspect shared boot harnesses and tests that construct routers or renderers indirectly; a search for the service name alone misses those fixtures. Record:

  • Existing runtime/type exports and the intended instance and extras surfaces.
  • Who constructs each instance and whether consumers capture it during import.
  • Dependencies acquired at import, boot, request, dispatch and job execution.
  • Configuration captured once versus read again for each operation.
  • Shared identity, caches, pending/rejected promises and invalidation semantics.
  • Resource ownership, partial-startup cleanup, normal shutdown and failure policy.

Read the full file on GitHub · 170 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed · +19 lines b8af0b73eb70
  2. 7d ago Changed · +12 lines b820f5d4c6b9
  3. 14d ago First seen · 139 lines · 56 tokens per session scan A 5607d75207ec

Subscribe to this mod's changes

migrate-service is a skill published in the GitHub repository TryGhost/Ghost (55,632 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 2,022 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-16.

Related

Other skills, from other repositories

cms-metadata-tagger

Takes a finished piece of content and produces a complete, archive-ready metadata record — including descriptive tags, subject classifications, rights notes, and an archival summary — for entry into a content management or digital archive system.

ur-grue/autopunk-media-skills · 49 tokens

cms-metadata-writer

Writes structured metadata fields — title tag, meta description, tags, category, slug, and Open Graph text — for a CMS entry, optimized for search discoverability and social sharing.

ur-grue/autopunk-media-skills · 42 tokens

reviewing-blogs

Reviews and critiques blog posts in src/content/blog/posts/ against Appwrite's established standards for voice, tone, structure, SEO, formatting, and accuracy. Use when the user asks to review, audit, critique, or improve an existing blog post.

appwrite/appwrite · 55 tokens

payload

Use when working with Payload projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.

payloadcms/payload · 43 tokens

creating-plugins

Create EmDash CMS plugins with sandboxed hooks, routes, storage, content and media APIs, MCP tools, and declarative admin UI, or native React and Astro extensions. Use when scaffolding or implementing an EmDash plugin.

emdash-cms/emdash · 50 tokens

ax-go-flow

Use when writing Go code with github.com/ax-llm/ax/packages/go for flows, nodes, program graphs, nested programs, dynamic options, caching, and optimizer components.

ax-llm/ax · 43 tokens