Ghost: Skill for Claude Code

.agents/skills/commit/SKILL.md

commit is a skill for Claude Code, Codex from TryGhost/Ghost. It costs 7 tokens per session (263 once invoked), scanned A, original, MIT.

Guidelines for writing Git commit messages and preparing commits in the Ghost repository. A commit is a saved, reviewable set of code changes.

In plain words
What is it for?
Use it before creating a commit to inspect repository changes, stage only relevant files, check whether a release note is required, and confirm the final Git status.
Why use it?
It reduces accidental inclusion of unrelated files and keeps commit messages consistent with the project’s contribution rules.

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/commit/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 commit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tryghost/ghost/commit"><img src="https://agentmods.dev/badge/skills/tryghost/ghost/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 263 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00007 $0.00263
Opus 5.5 $0.00003 $0.00105
Sonnet 5.5 $0.00001 $0.00053
Haiku 4.5 $0.00001 $0.00026

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

Security

Grade A, and why

commit 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/commit/SKILL.md · 31 lines

What it actually says

Commit

Use this skill whenever the user asks you to create a git commit for the current work.

Instructions

  1. Review the current git state before committing:
    • git status
    • git diff
    • git log -5 --oneline
  2. Only stage files relevant to the requested change. Do not include unrelated untracked files, generated files, or likely-local artifacts.
  3. Read and follow .github/CONTRIBUTING.md#commit-messages. It is the source of truth for Ghost's commit conventions.
  4. For publishable packages, check whether a release intent is required. A package README.md is published and requires a release; repository-only Markdown such as AGENTS.md, changelogs, and package-local docs/ does not.
  5. Run git status --short after committing and confirm the result.

Important

  • Do not push to remote unless the user explicitly asks
  • Keep commits focused and avoid bundling unrelated changes
  • If there are no relevant changes, do not create an empty commit
  • If hooks fail, fix the issue and create a new commit. Never bypass hooks.
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 Changed 53e8dc5cf68e
  2. 2mo ago First seen · 31 lines · 7 tokens per session scan A 045a8e2ea026

Subscribe to this mod's changes

commit is a skill published in the GitHub repository TryGhost/Ghost (55,632 stars, last pushed today), licensed MIT. It adds 7 tokens to every session and 263 once invoked, about $0.0000 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-08-30.