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 PostHog/posthog-foss --skill merging-prsgit clone --depth 1 https://github.com/PostHog/posthog-fossWrote 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/posthog/posthog-foss/merging-prs)<a href="https://agentmods.dev/skills/posthog/posthog-foss/merging-prs"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/merging-prs/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/posthog/posthog-foss/merging-prs"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/merging-prs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00186 | $0.04617 |
| Opus 5.5 | $0.00074 | $0.01847 |
| Sonnet 5.5 | $0.00037 | $0.00923 |
| Haiku 4.5 | $0.00019 | $0.00462 |
Grade A, and why
merging-prs 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 yesterday.
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 — 216 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Merge a PR through the Trunk merge queue
Merges into master go exclusively through the Trunk merge queue.
gh pr merge and the GitHub merge button are blocked by branch ruleset.
To merge, you enqueue the PR with the trunk CLI, then watch it until Trunk lands it.
Use the trunk CLI for queue actions (enqueue, status, cancel). Post a /trunk ... comment on the PR only when the CLI is not available, or for an option the CLI does not have (see step 2).
The CLI talks to Trunk over an authenticated session and reports the result at once. A comment adds noise to the PR thread, and you only learn whether Trunk took it from the bot's reply.
Required user approval
Before posting /trunk merge, invoking trunk merge, or re-enqueueing, obtain explicit user approval in the current conversation for the identified PR or stack. These actions can cause a PR to land. Never infer approval from a request to prepare a PR, move it toward merge, make it ready, resolve blockers, monitor it, or babysit it. You may inspect status, address reviews and CI, request a stamphog review when approval is missing, and report that the PR is ready; then wait for a direct instruction to merge or enqueue it.
<n> below is the PR number.
Resolve the repo slug once if you need it: REPO=$(gh repo view --json nameWithOwner -q .nameWithOwner).
1. Preflight
gh pr view <n> --json state,isDraft,mergeable,reviewDecision,statusCheckRollup,baseRefName,isCrossRepository
- Not open (already merged/closed) → report and stop.
- Draft → it can't be merged. Ask the developer to confirm, then
gh pr ready <n>before continuing. Don't un-draft silently. - Cancelled runs on the head → check for these before the failing-checks stop below, because a cancelled run also turns
statusCheckRolluptoFAILURE. A push can start two runs of a workflow for one head, and the concurrency group cancels one. GitHub keeps both runs' checks, and a newer green check with the same name does not clear them. A cancelled run that carries a required check (a workflow's... Tests Passgate, or the org-levelsemgrepworkflow) keeps the merge box blocked and Trunk at "Not ready". Rerun every cancelled run rather than working out which ones carry one. Reruns need the developer's permission.
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.
- yesterday Changed fa7132b808e9
- 2d ago Changed · +2 tokens per session 005e763e8813
- 6d ago Changed · +2 lines 5a65379e22f4
- 16d ago Changed 5cc28df15e80
- 1mo ago Changed 6b2849cb4dfe
- 1mo ago Changed · +8 lines b822d4c62c05
- 1mo ago Changed · +12 lines · +10 tokens per session ee7eece1e51c
- 2mo ago Changed · +16 lines 2d531877ed44
- 2mo ago Changed · +5 lines · +12 tokens per session f94d0e5ba37e
- 2mo ago First seen · 173 lines · 162 tokens per session scan A 0ba639d79dc8
merging-prs is a skill published in the GitHub repository PostHog/posthog-foss (736 stars, last pushed today), licensed MIT. It adds 186 tokens to every session and 4,617 once invoked, about $0.0007 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.
merging-prs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| merging-prsPostHog/posthog-foss | Skill | 736 | today | MIT | A | 186 | Claude Code, Codex |
| merge-batchdiegosouzapw/OmniRoute | Skill | 91k | 4d ago | MIT | A | 46 | Claude Code |
| prowler-commitprowler-cloud/prowler | Skill | 15k | today | Apache-2.0 | A | 44 | Claude Code, Codex |
| gh-auth-isolationgithub/gh-aw | Skill | 5.8k | today | MIT | A | 20 | Claude Code, Codex |
| github-skillzeenie-ai/OpenCompany | Skill | 1.1k | 2d ago | MIT | A | 51 | Claude Code |
| comet-githubrpamis/comet | Skill | 3.3k | today | MIT | A | 72 | Claude Code, Codex |
| re0-mergeLilMGenius/paperthin | Skill | 1.5k | today | MIT | A | 51 | Claude Code, Codex |