Ghost: Skill for Claude Code

.agents/skills/admin7-feature-flags/SKILL.md

admin7-feature-flags is a skill for Claude Code, Codex from TryGhost/Ghost. It costs 26 tokens per session (149 once invoked), scanned A, original, MIT.

A coding guide for adding, using, reviewing, and removing Admin 7 milestone feature flags. A feature flag is a switch that lets code or settings turn a feature on or off.

In plain words
What is it for?
Use it when changing Admin 7 milestone flags, adding a Labs setting toggle, checking off/on behavior, or updating the canonical guide when the convention changes.
Why use it?
It keeps new flags consistent with the project's existing Labs conventions and testing approach. This reduces the risk of using a flag at the wrong boundary or leaving outdated flag code behind.

Skill for Claude CodeCodex

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

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/admin7-feature-flags/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 admin7-feature-flags

README.md
[![agentmods](https://agentmods.dev/badge/skills/tryghost/ghost/admin7-feature-flags/github.svg)](https://agentmods.dev/skills/tryghost/ghost/admin7-feature-flags)
Your own site
<a href="https://agentmods.dev/skills/tryghost/ghost/admin7-feature-flags"><img src="https://agentmods.dev/badge/skills/tryghost/ghost/admin7-feature-flags/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 admin7-feature-flags

Your own site · 80×15
<a href="https://agentmods.dev/skills/tryghost/ghost/admin7-feature-flags"><img src="https://agentmods.dev/badge/skills/tryghost/ghost/admin7-feature-flags.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 149 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.00026 $0.00149
Opus 5.5 $0.00010 $0.00060
Sonnet 5.5 $0.00005 $0.00030
Haiku 4.5 $0.00003 $0.00015

Measured 1mo ago against content hash 2c5acd30551b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

admin7-feature-flags 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 1mo 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/admin7-feature-flags/SKILL.md · 14 lines

What it actually says

Admin 7 milestone flags

  1. Read the canonical Admin 7 milestone convention. Follow its existing-hook and shared-provider pattern for the affected boundary.
  2. For a new Labs key, use Add private feature flag for registration and the settings toggle.
  3. Follow the guide's focused testing and removal guidance. Report which off/on boundaries were checked, and update the canonical guide if the convention changes.
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. 1mo ago First seen · 14 lines · 26 tokens per session scan A 2c5acd30551b

Subscribe to this mod's changes

admin7-feature-flags is a skill published in the GitHub repository TryGhost/Ghost (55,632 stars, last pushed today), licensed MIT. It adds 26 tokens to every session and 149 once invoked, about $0.0001 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-09-17.

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

cms-fields-writer

Generates the complete set of metadata fields — tags, categories, keywords, slug, and summary — needed to publish a piece of content in a content management system, ready to copy and paste into each field.

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

author-bio-writer

Writes a concise, publication-ready author bio in the appropriate register and length for the target outlet — from a one-line byline tag to a full contributor page paragraph.

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

manuscript-formatter

Reformats a manuscript, article, or long-form text to match a specific publication's structural and style requirements — adjusting headings, paragraph spacing, citation format, pull-quote placement, and front matter without altering the content itself.

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

platform-distribution-advisor

Recommends the best platforms for distributing a finished piece of content, with a ranked list and a brief rationale for each recommendation based on the content type, format, length, and intended audience.

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