pr-merge-commit

pr-merge-commit is a skill for Claude Code, Codex from tony/skills. It costs 29 tokens per session (1,493 once invoked), scanned A, original, MIT.

A guide for writing the user-facing message of a Git merge commit, which combines changes from one branch into another.

In plain words
What is it for?
It is for inspecting the current branch and its changes, then producing a concise product-level summary for the merge commit.
Why use it?
It helps the merge history describe what actually reached the main branch without claiming that unreleased fixes were shipped.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit It is for inspecting the current branch and its changes, then producing a concise product-level summary for the merge commit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tony/skills/pr-merge-commit
View source ↗ tony/skills
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tony/skills --skill pr-merge-commit
Clone the repo
git clone --depth 1 https://github.com/tony/skills

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 pr-merge-commit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tony/skills/pr-merge-commit"><img src="https://agentmods.dev/badge/skills/tony/skills/pr-merge-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,493 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.00029 $0.01493
Opus 5.5 $0.00012 $0.00597
Sonnet 5.5 $0.00006 $0.00299
Haiku 4.5 $0.00003 $0.00149

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

Security

Grade A, and why

pr-merge-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/pr-merge-commit/SKILL.md · 143 lines

How it starts

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

Generate Merge Commit Message

Draft a merge commit message for the current branch. It is the user-facing, product-level summary that becomes the commit on the main branch, whether the merge is a merge commit or a squash. Write it per references/prose-rules.md.

User hint: $ARGUMENTS

Procedure

1. Gather context

Follow references/branch-context.md to find the base and gather the branch's change.

2. Analyze changes

  • Review the full diff and all commits, not only the latest.
  • Classify the change: feature, fix, refactor, version bump, CI, docs, breaking change, runtime version drop.
  • Note any PR number visible in the branch name or the user's hint.
  • Describe the net shipped result: collapse fixups, reverts-then-re-adds, and WIP states. Leave out rename history, ### Fixes for behavior that never shipped, and "no longer X" framing unless a user of the latest published release experienced the old name, behavior, or bug.

3. Read project conventions

Read AGENTS.md and CLAUDE.md for merge commit conventions. When the project uses a scope format such as scope(type[detail]), match it in the title.

4. Draft the message

Title line
  • Under 70 characters, counting the (#N) suffix.
  • Ends with (#N) when the PR number is known (a number in the hint, the branch name, or the branch's PR). The suffix belongs to the merge commit title only; commits on the branch never carry #N. When the number is unknown, leave the suffix off and tell the user to append it.
  • Describes the impact, what changed for the user, not the implementation.
Body, proportional to the change
  • Small change (1-3 file fix, simple bump): title only.
  • Medium change (feature, targeted refactor, fix with a root cause): an opening paragraph of 2-4 sentences on what changed and why, then plain bullets for specific changes.
  • Large change (multi-module feature, major refactor, migration): a structured body from the patterns below.

Bullets add detail the opening paragraph lacks; never restate it.

Read the full file on GitHub · 143 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · -36 lines · +13 tokens per session 09fc6efdf176
  2. 3mo ago First seen · 179 lines · 16 tokens per session scan A aa67fd3d5153

Subscribe to this mod's changes

pr-merge-commit is a skill published in the GitHub repository tony/skills (0 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 1,493 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-08-31.

Related

pr-merge-commit compared with skills from other repositories

pr-merge-commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-merge-committony/skillsSkill0todayMITA29Claude Code, Codex
create-prprisma/ormSkill48ktodayApache-2.0A47Claude Code, Codex
git-commitThinkInAIXYZ/deepchatSkill6.4kyesterdayApache-2.0A15Claude Code, Codex
engineer-bot-opsmakecindy/cindySkill11ktodayApache-2.0A57Claude Code, Codex
mcore-split-prNVIDIA/skillsSkill4.2k2d agoApache-2.0A25Claude Code
contributingHugoRCD/evlogSkill2.0kyesterdayMITA68Claude Code, Codex
git-commit-writermergisi/awesome-openclaw-agentsSkill4.1k26d agoMITA53Claude Code, Codex