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 Weaverse/.agents --skill pr-merge-gatesgit clone --depth 1 https://github.com/Weaverse/.agentsWrote 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/weaverse/.agents/pr-merge-gates)<a href="https://agentmods.dev/skills/weaverse/.agents/pr-merge-gates"><img src="https://agentmods.dev/badge/skills/weaverse/.agents/pr-merge-gates/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/weaverse/.agents/pr-merge-gates"><img src="https://agentmods.dev/badge/skills/weaverse/.agents/pr-merge-gates.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.00052 | $0.01053 |
| Opus 5.5 | $0.00021 | $0.00421 |
| Sonnet 5.5 | $0.00010 | $0.00211 |
| Haiku 4.5 | $0.00005 | $0.00105 |
Grade A, and why
pr-merge-gates 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 13d 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 — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PR merge gates
Apparent green versus executed checks
gh pr checkscan exit 0 when material jobs were skipped. Require completed/success results for each material job on the current head, and explain any intentionally absent job. "No checks reported" is absence, not green.- Marking a draft ready runs CI only if the workflow subscribes to
ready_for_reviewor another matching event. Readon, branch/path filters and job conditions. Do not wait for a run that the workflow cannot create. gh pr checks --requiredcan report no required checks when branch protection enforces none. Read all checks and the actual protection/ruleset separately; policy may require more than GitHub enforces.- Re-runs and matrices can share names. Bind conclusions to the head, workflow/run ID, attempt and material job, not the first matching name or an old green row. Auto-merge waits only for enforced checks.
- A setup/download failure did not run tests. Report it as unexecuted, then rerun the same failed run only within authority. A test count in the PR body needs execution evidence behind it.
- For exported API changes, run any checked-in API/declaration report gate before review. A typecheck alone may
trust an ambient
declare modulethat only the production bundler will disprove.
Review identity
- Read inline threads, formal review bodies and PR discussion. An empty body or
COMMENTEDstate is not a pass. Thefix-prhelper filters GraphQL threads byisResolved=falseandisOutdated=false; flat comments cannot. - Wait for the repository's automated-review completion signal on this exact trigger and head. Multiple findings can arrive minutes apart. A reaction is sufficient only where the repository explicitly uses it as a verdict; require the configured reviewer's identity and creation after the latest trigger. Quiet time is not completion.
- Match the configured reviewer's account on each API surface; app and bot identities can differ. Do not hardcode a person's handle or accept any user's reaction as the automated verdict.
- Bind a remapped finding to
original_commit_idand creation time, not onlycommit_id. Classify it against current source before rewriting a working fix. Severity labels inform, but do not replace, impact assessment. - A clean automated review does not waive required human approval or
reviewDecision: REVIEW_REQUIRED. - If a finding disproves the PR description, correct the claim as well as the code. A failed or partial review is not a review pass; findings from a previous SHA remain historical until rechecked.
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.
- 13d ago First seen · 68 lines · 52 tokens per session scan A 858619c48b4d
pr-merge-gates is a skill published in the GitHub repository Weaverse/.agents (0 stars, last pushed 13d ago), licensed MIT. It adds 52 tokens to every session and 1,053 once invoked, about $0.0002 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-11-11.
pr-merge-gates compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pr-merge-gatesWeaverse/.agents | Skill | 0 | 13d ago | MIT | A | 52 | Claude Code |
| review-prImran-ml/claude-skills | Skill | 4 | 8mo ago | none | A | 56 | Claude Code |
| audit-prgtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 71 | Claude Code |
| audit-vs-fix-disciplinestuartshields/claude-setup | Skill | 2 | 5mo ago | MIT | A | 79 | Claude Code, Codex |
| module-depth-reviewstuartshields/claude-setup | Skill | 2 | 5mo ago | MIT | A | 121 | Claude Code, Codex |
| swift-concurrency-reviewstuartshields/claude-setup | Skill | 2 | 5mo ago | MIT | A | 112 | Claude Code, Codex |
| clean-worktreesstuartshields/claude-setup | Skill | 2 | 5mo ago | MIT | B | 34 | Claude Code |