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.
npx skills add jerseycheese/agent-skills --skill post-mergegit clone --depth 1 https://github.com/jerseycheese/agent-skillsWrote 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.
[](https://agentmods.dev/skills/jerseycheese/agent-skills/post-merge)<a href="https://agentmods.dev/skills/jerseycheese/agent-skills/post-merge"><img src="https://agentmods.dev/badge/skills/jerseycheese/agent-skills/post-merge/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.
<a href="https://agentmods.dev/skills/jerseycheese/agent-skills/post-merge"><img src="https://agentmods.dev/badge/skills/jerseycheese/agent-skills/post-merge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.01970 |
| Opus 5.5 | $0.00028 | $0.00788 |
| Sonnet 5.5 | $0.00014 | $0.00394 |
| Haiku 4.5 | $0.00007 | $0.00197 |
Grade A, and why
post-merge 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 18d 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.
How it starts
The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Post-Merge Workflow
Three phases: sync and clean the working tree, tidy up the issues the PR addressed, then recommend what to do next.
Phase 0: Sync and Clean the Working Tree
Do this first. Most post-merge rework comes from the next task starting against a stale base branch or a leftover feature branch/worktree — clean it up now while you have the context.
1. Find the base and head branches
Don't assume main. Read what the PR actually merged into:
gh pr view [NUMBER] --json number,title,baseRefName,headRefName,mergedAt
baseRefName is the branch to sync (often develop or main); headRefName is the merged feature branch to delete.
2. Sync the base branch
git fetch --prune
git checkout [BASE_BRANCH]
git pull --ff-only
If your current checkout is a worktree pinned to the merged feature branch, you can't switch it to the base — leave it and handle the worktree in step 3.
3. Delete the merged branch and its worktree
git worktree list # find any worktree holding the feature branch
git worktree remove [WORKTREE_PATH] # only if it lives in a worktree
git branch -d [HEAD_BRANCH] # safe delete — refuses if not actually merged
Use lowercase git branch -d; it only deletes branches that are fully merged. Don't reach for -D unless you've confirmed the work really landed. git worktree remove refuses to drop a worktree with uncommitted changes — don't --force past that without checking what's there first. If the project has a prune-merged-branches helper, use it (dry-run, then apply); those scripts typically skip develop/main/release/* and worktree-held branches.
4. Confirm clean state
git status
git branch --show-current
You want to be on the synced base branch, working tree clean, with the feature branch gone. Now move to Phase 1.
Phase 1: Issue Cleanup
Updating and closing the linked issues is the default, automatic outcome of this phase — do it without pausing to ask permission. The only judgment call is whether an issue is fully addressed (check its boxes and close it) or only partially (check boxes, comment, leave open). When the user says "the PRs are merged" with no numbers, first confirm which ones actually merged — a "they're all in" claim is often only partly true — and act only on the ones that did.
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.
- 18d ago Changed · +13 lines b943ac036b47
- 1mo ago Changed · -3 lines b53625a7018c
- 1mo ago Changed · +3 lines · -70 tokens per session 95d902173d63
- 3mo ago First seen · 169 lines · 140 tokens per session scan A 55722aa2ff41
post-merge is a skill published in the GitHub repository jerseycheese/agent-skills (4 stars, last pushed 5d ago), licensed MIT. It adds 70 tokens to every session and 1,970 once invoked, about $0.0003 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.
post-merge compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| post-mergejerseycheese/agent-skills | Skill | 4 | 5d ago | MIT | A | 70 | Claude Code |
| githubAceDataCloud/Skills | Skill | 17 | today | none | A | 62 | Claude Code |
| gitlabAceDataCloud/Skills | Skill | 17 | today | none | A | 54 | Claude Code |
| githubgeezerrrr/motive | Skill | 120 | 1mo ago | MIT | A | 44 | Claude Code, Codex |
| spec-kitty-git-workflowPriivacy-ai/spec-kitty | Skill | 1.7k | 8d ago | MIT | A | 125 | Claude Code, Codex |
| version-control-strategyOwl-Listener/designer-skills | Skill | 3.5k | 11d ago | MIT | A | 50 | Claude Code, Codex |
| spk-admin-git-workflowPriivacy-ai/spec-kitty | Skill | 1.7k | 8d ago | MIT | A | 32 | Claude Code, Codex |