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 IgorGanapolsky/ThumbGate --skill pr-sweepergit clone --depth 1 https://github.com/IgorGanapolsky/ThumbGateWrote 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/igorganapolsky/thumbgate/pr-sweeper)<a href="https://agentmods.dev/skills/igorganapolsky/thumbgate/pr-sweeper"><img src="https://agentmods.dev/badge/skills/igorganapolsky/thumbgate/pr-sweeper/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/igorganapolsky/thumbgate/pr-sweeper"><img src="https://agentmods.dev/badge/skills/igorganapolsky/thumbgate/pr-sweeper.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.00093 | $0.01209 |
| Opus 5.5 | $0.00037 | $0.00484 |
| Sonnet 5.5 | $0.00019 | $0.00242 |
| Haiku 4.5 | $0.00009 | $0.00121 |
Grade A, and why
pr-sweeper 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 19d 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 — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PR Sweeper — Drive Every Open PR To A Terminal State
CLAUDE.md "PR and CI Protocol" and "Session Hygiene Protocol" are the contract; this skill is the runbook. Read them first if not already loaded.
1. Inventory
gh pr list --repo IgorGanapolsky/ThumbGate --state open --limit 100 \
--json number,title,headRefName,isDraft,author,mergeStateStatus,reviewDecision,updatedAt
Classify each PR into exactly one bucket:
| Bucket | Test | Action |
|---|---|---|
| GREEN | all required checks SUCCESS, 0 unresolved threads, not draft | step 4 |
| GREEN-DRAFT | as above but draft, and it's an agent PR | step 3 then 4 |
| RED | any required check FAILURE | step 2 |
| THREADS | unresolved review threads | fix, push, re-check (.claude/rules/pr-thread-policy.md) |
| BEHIND / DIRTY | base moved / conflicts | BEHIND + green → step 4 (Trunk rebases); DIRTY on a live agent PR → rebase once; stale ≥5 days → close + delete branch per CLAUDE.md |
| NOT MINE | human-authored or another live agent owns it | report only, never push to it (fleet-coordination) |
| HELD (safety gate) | removes, disables or loosens a hook, gate, protection or permission check (e.g. #4850) | don't undraft, arm auto-merge or queue it without the operator's own message naming the PR (safety-boundaries) |
Required checks (verify, they change): gh api repos/IgorGanapolsky/ThumbGate/branches/main/protection/required_status_checks -q '.contexts[]'.
2. Fix RED
Follow ci-failure-triage: read the failure body before forming a hypothesis,
reproduce locally, push ONE fix with a test. Never skip, disable or quarantine
a test. If Verify changeset fails, add a .changeset/*.md entry
("thumbgate": patch + ≥20-char summary) only when release-relevant files
changed.
3. Undraft
Only after npm test (or the scoped suites for the files changed) passes
locally. If gh pr ready fails on GraphQL, use REST:
gh api -X POST repos/IgorGanapolsky/ThumbGate/pulls/<N>/ready_for_review —
see blocked-action-fallback.
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.
- 19d ago Changed · +3 lines 8676a77316ab
- 20d ago First seen · 92 lines · 93 tokens per session scan A 60b14e54eb9f
pr-sweeper is a skill published in the GitHub repository IgorGanapolsky/ThumbGate (34 stars, last pushed today), licensed MIT. It adds 93 tokens to every session and 1,209 once invoked, about $0.0004 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-sweeper compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pr-sweeperIgorGanapolsky/ThumbGate | Skill | 34 | today | MIT | A | 93 | Claude Code |
| githubotto-haus/otto | Skill | 7 | 2mo ago | MIT | A | 21 | Claude Code, Codex |
| prYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 47 | Claude Code |
| engram-branch-prGentleman-Programming/engram | Skill | 8.4k | 7d ago | MIT | A | 37 | Claude Code, Codex |
| revdiffumputun/revdiff | Skill | 974 | 2d ago | MIT | A | 254 | Claude Code |
| re0-mergeLilMGenius/paperthin | Skill | 1.5k | today | MIT | A | 51 | Claude Code, Codex |
| write-prtldraw/tldraw | Skill | 52k | today | none | A | 53 | Claude Code, Codex |