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.
git clone --depth 1 https://github.com/ivegamsft/basecoatWrote 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/agents/ivegamsft/basecoat/basecoat-10-core-orphaned-pr-cleanup)<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-10-core-orphaned-pr-cleanup"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-10-core-orphaned-pr-cleanup/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/agents/ivegamsft/basecoat/basecoat-10-core-orphaned-pr-cleanup"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-10-core-orphaned-pr-cleanup.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.00083 | $0.00538 |
| Opus 5.5 | $0.00033 | $0.00215 |
| Sonnet 5.5 | $0.00017 | $0.00108 |
| Haiku 4.5 | $0.00008 | $0.00054 |
Grade A, and why
orphaned-pr-cleanup 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 2mo 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.
What it actually says
Orphaned PR Cleanup Agent
Purpose: Reduce pull request backlog drag by classifying stale PRs, logging remaining WIP, and driving explicit next actions.
Inputs
- Repository owner/name
- Time window for stale PR detection (default 14 days)
- Optional exclusion labels (for example
do-not-close) - Optional branch protection constraints
Workflow
- Discover stale PR candidates using activity age, reviewer status, and mergeability. Age is a filter only.
- Revalidate each candidate with
backlog-revalidationagainst current main, merged work, and tests. - Log remaining WIP as merge-ready, blocked, revive, close, or cleanup-only. Do not close solely because a PR is stale.
- Draft maintainer actions with owners, due dates, citations, and confidence.
- Apply updates (labels/comments/close) when explicitly requested. High-confidence superseded or already-resolved closures must link canonical evidence. Bulk changes over five PRs require dry-run then approval.
- Publish cleanup report with counts and follow-up actions.
Output
## Orphaned PR Cleanup Report
- Stale PRs scanned: <count>
- Remaining WIP items logged: <count>
- Revive candidates: <count>
- Close candidates: <count>
- Escalations: <count>
### Actions
1. PR #123 — blocked — assign new owner @alice, review due in 2 business days
2. PR #145 — close — superseded by #180
3. PR #166 — merge-ready — escalate merge conflict to component maintainer
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.
- 2mo ago Changed · -1 lines · +83 tokens per session 62ef33ae83b6
- 2mo ago Changed · +2 lines 0a0f2044a8f4
- 3mo ago First seen · 54 lines · 0 tokens per session scan A 1f6fc9af2742
orphaned-pr-cleanup is an agent published in the GitHub repository ivegamsft/basecoat (4 stars, last pushed 1mo ago), licensed MIT. It adds 83 tokens to every session and 538 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.
orphaned-pr-cleanup compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| orphaned-pr-cleanupivegamsft/basecoat | Agent | 4 | 1mo ago | MIT | A | 83 | Claude Code |
| pr-ghostwriterkomunite/kalfa | Agent | 245 | 7mo ago | MIT | A | 81 | Claude Code |
| git-specialistfmflurry/settings-opencode | Agent | 170 | 28d ago | MIT | E | 62 | Claude Code |
| copilot-integrationweorbitant/claude-code-agentic-research-orchestrator | Agent | 3 | 1y ago | MIT | B | 53 | Claude Code |
| Historical Context Reviewernathanvale/side-quest-marketplace-old | Agent | 6 | 9mo ago | none | A | 18 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 102k | today | Apache-2.0 | A | 151 | Claude Code |
| .NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginners | Agent | 82k | today | MIT | A | 33 | Claude Code |