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 Chemaclass/agnostic-ai --skill pr-sweepgit clone --depth 1 https://github.com/Chemaclass/agnostic-aiWrote 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/chemaclass/agnostic-ai/pr-sweep)<a href="https://agentmods.dev/skills/chemaclass/agnostic-ai/pr-sweep"><img src="https://agentmods.dev/badge/skills/chemaclass/agnostic-ai/pr-sweep/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/chemaclass/agnostic-ai/pr-sweep"><img src="https://agentmods.dev/badge/skills/chemaclass/agnostic-ai/pr-sweep.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.00018 | $0.01220 |
| Opus 5.5 | $0.00007 | $0.00488 |
| Sonnet 5.5 | $0.00004 | $0.00244 |
| Haiku 4.5 | $0.00002 | $0.00122 |
Grade A, and why
pr-sweep 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 27d 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 — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PR sweep
Review and finish the requested PRs, or all eligible open PRs when none are specified. A user request to sweep or merge authorizes merging within that scope. With --no-merge, apply fixes and stop at reviewable green PRs. For a review-only request, report findings without changing or merging the branch unless the user also asked for fixes.
List and isolate
Confirm the repository and current user. List open PRs with number, title, author, draft state, head branch and SHA, and base branch. Paginate until complete. For a sweep, skip drafts and PRs by other authors and report them. An explicitly requested review of one of those PRs may proceed; do not mark a contributor draft ready or merge it.
Fetch the base and PR heads. Stop if local main has unpublished commits. Preserve a dirty starting checkout and perform each PR's work in a dedicated worktree. Record its absolute path and branch; reuse an existing task worktree only after checking its head and local changes. Do not discard unpublished work or force a branch held by another worktree. Stop the affected PR if its task worktree is unsafe and continue independent PRs. Run Git commands in the task worktree; a tool wrapper problem does not justify switching the starting checkout.
Review
Read the PR description, comments, review threads, and whole diff against its declared base. Run two independent passes on the current PR diff:
- Use the available
code-reviewerrole for Go changes, or a reviewer against project rules for other changes. Respect the role's configured model; concrete model choices belong in agent metadata. - Use the available adversarial review role or command to challenge the design, assumptions, and real usage failures.
If either role is unavailable, use an available reviewer with the corresponding brief. If delegation is unavailable, perform two separate passes with those briefs. Read both results before editing. For an authorized fix, repeat the adversarial pass on changed code until remaining findings are resolved or explicitly rejected with evidence. Reuse a pass only when its reviewed inputs are unchanged. If a pass cannot settle a finding without a new design decision or unavailable evidence, report the blocker.
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.
- 27d ago Changed · -29 tokens per session fa4472cbd07b
- 1mo ago Changed 32c515a64000
- 1mo ago Changed · -26 lines 08c9d0bb2b30
- 1mo ago Changed f2631be65508
- 1mo ago Changed 7f5f7c22b8c1
- 2mo ago Changed · +7 lines · +24 tokens per session 996b3d3db3ef
- 2mo ago Changed · -3 lines 57222c6a65df
- 2mo ago First seen · 76 lines · 23 tokens per session scan A fe649e092bfd
pr-sweep is a skill published in the GitHub repository Chemaclass/agnostic-ai (31 stars, last pushed today), licensed MIT. It adds 18 tokens to every session and 1,220 once invoked, about $0.0001 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-09-24.
pr-sweep compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pr-sweepChemaclass/agnostic-ai | Skill | 31 | today | MIT | A | 18 | Claude Code |
| eg-precommit-reviewvshvedov/elephant-goldfish | Skill | 104 | 25d ago | MIT | A | 24 | Codex |
| hk-pr-reviewdeepklarity/harness-kit | Skill | 108 | 20d ago | MIT | A | 94 | Claude Code |
| github-pr-workflowpaperclipai/paperclip | Skill | 118k | yesterday | MIT | A | 39 | Claude Code, Codex |
| agent-swarm-prruvnet/ruflo | Skill | 83k | today | MIT | A | 18 | Claude Code |
| agent-pr-managerruvnet/ruflo | Skill | 83k | today | MIT | A | 16 | Claude Code |
| github-automationruvnet/ruflo | Skill | 83k | today | MIT | A | 61 | Claude Code |