finishing-branch

finishing-branch is a skill for Claude Code from srstomp/pokayokay. It costs 44 tokens per session (371 once invoked), scanned A, original, MIT.

A checklist for closing a completed Git development branch, the separate line of work where changes are made. It requires fresh checks and a clear choice to merge, open a pull request, keep, or discard the work.

In plain words
What is it for?
Use it after implementation to inspect changes, run relevant checks, confirm acceptance criteria, record the decision, and clean up the branch when appropriate.
Why use it?
It prevents unfinished or unverified code from being merged, deleted, or marked complete by mistake.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pokayokay plugin — 24 skills, 23 commands, 14 agents, 4 hooks, 1 MCP server shipped together

Good fit Use it after implementation to inspect changes, run relevant checks, confirm acceptance criteria, record the decision, and clean up the branch when appropriate.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/srstomp/pokayokay/finishing-branch
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 srstomp/pokayokay --skill finishing-branch
Clone the repo
git clone --depth 1 https://github.com/srstomp/pokayokay

Made for: Claude Code.

Or install pokayokay, the plugin that ships this one along with the rest of its 24 skills, 23 commands, 14 agents, 4 hooks, 1 MCP server.

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 finishing-branch

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/srstomp/pokayokay/finishing-branch"><img src="https://agentmods.dev/badge/skills/srstomp/pokayokay/finishing-branch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 371 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.00044 $0.00371
Opus 5 $0.00022 $0.00186
Sonnet 5 $0.00009 $0.00074
Haiku 4.5 $0.00004 $0.00037

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

Security

Grade A, and why

finishing-branch 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 10d 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.

plugins/pokayokay/skills/finishing-branch/SKILL.md · 46 lines

What it actually says

Finishing Branch

Close a development branch deliberately. Do not merge, delete, or mark work complete until the branch has fresh verification evidence and a clear user or workflow decision.

Checklist

  1. Inspect status: git status --short --branch.
  2. Review the diff: git diff --stat and targeted file diffs.
  3. Run the verification commands relevant to changed code.
  4. Confirm task/story/epic acceptance criteria are accounted for.
  5. Present the completion choice.
  6. Record the decision in ohno handoff or task notes.
  7. Clean up only after the selected path succeeds.

Completion Choices

Choice When to use Action
Merge Local integration is desired now Merge into the base branch after verification
Pull request Human review or CI is needed Push branch and open a PR with verification notes
Keep More work remains or user wants a checkpoint Leave branch/worktree intact and record next steps
Discard Work is abandoned or superseded Confirm explicitly, then remove branch/worktree

Required Report

## Branch Finish

**Branch**: [name]
**Base**: [branch]
**Verification**: `command` -> PASS/FAIL
**Changed Files**: [summary]
**Recommended Path**: PR / merge / keep / discard
**Reason**: [short rationale]

Destructive cleanup, branch deletion, and discarding changes require explicit human confirmation unless the user already requested that exact action.

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. 10d ago First seen · 46 lines · 44 tokens per session scan A 2e1e42329533

Subscribe to this mod's changes

finishing-branch is a skill published in the GitHub repository srstomp/pokayokay (9 stars, last pushed 2mo ago), licensed MIT. It adds 44 tokens to every session and 371 once invoked, about $0.0002 per session on Opus 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.