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 agentmods add skills/apache/magpie/pr-stale-sweepnpx skills add apache/magpie --skill pr-stale-sweepgit clone --depth 1 https://github.com/apache/magpieWrote 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/apache/magpie/pr-stale-sweep)<a href="https://agentmods.dev/skills/apache/magpie/pr-stale-sweep"><img src="https://agentmods.dev/badge/skills/apache/magpie/pr-stale-sweep.svg" alt="Measured on agentmods" 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 | $0.00083 | $0.06166 |
| Opus 5 | $0.00042 | $0.03083 |
| Sonnet 5 | $0.00017 | $0.01233 |
| Haiku 4.5 | $0.00008 | $0.00617 |
Grade A, and why
magpie-pr-stale-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 4d 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 — 573 lines — stays where its author put it; the contents beside it link to each section on GitHub.
pr-stale-sweep
This skill is the stale-PR sweep for the project's pull request
queue. It identifies open PRs that have had no new commit, comment, or
update activity past a configurable inactivity threshold, classifies
each as either REQUEST-UPDATE (nudge the author to confirm they still
intend to land this) or CLOSE-STALE (propose closure for abandoned
PRs), and — on the user's explicit confirmation — posts one lightweight
comment per PR and optionally converts to draft or closes.
The skill never converts, labels, closes, or edits any PR field without confirmation. The decision belongs to the maintainer; this skill surfaces the candidates and pre-drafts the comments so the maintainer can review in bulk and confirm or skip individually.
It composes with:
pr-management-triage— the full first-pass triage skill; the stale-sweep targets the dormant-PR subset only, while triage covers all action-needed PRs.pr-management-stats— for queue-level health reporting before and after a stale sweep.
Disposition vocabulary
The skill uses exactly two disposition classes:
| Class | When to propose | Follow-up action |
|---|---|---|
REQUEST-UPDATE |
PR is dormant past the warn threshold but not yet past the close threshold; author has not recently responded | Post a nudge comment asking the author to confirm the PR is still in progress and they intend to address any feedback; no state change yet |
CLOSE-STALE |
PR is dormant past the close threshold and has already received a REQUEST-UPDATE nudge with no response, or is dormant past a hard-close threshold with no nudge needed |
Post a pre-close notice and, on a second explicit confirmation, close the PR |
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.
- 4d ago First seen · 573 lines · 83 tokens per session scan A 36a5031909ad
magpie-pr-stale-sweep is a skill published in the GitHub repository apache/magpie (87 stars, last pushed 2d ago), licensed Apache-2.0. It adds 83 tokens to every session and 6,166 once invoked, about $0.0004 per session on Opus 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.
Other skills, from other repositories
magpie-setup
Adopt and maintain the apache-magpie framework in a project repo via the snapshot-based adoption mechanism. The only framework skill committed in an adopter's repo; every other skill is a symlink the adopt sub-action wires up. Sub-actions: /magpie-setup - first-time adoption (default; main-checkout only) /magpie-setup…
upgrade-fab-provider
Upgrade the pinned Flask-AppBuilder (FAB) dependency in the Apache Airflow FAB provider (providers/fab/). Bumps the exact flask-appbuilder== pin and its mirror constant, regenerates uv.lock, drives the testfabalignment.py drift tripwire, reviews the vendored security-manager override.py against the new upstream FAB…
aip-user-stories
Generate verified recipe playbooks from AIPs with PR implementations (post mode), or speculative user stories from AIPs without implementations (pre mode). Use when the user provides an AIP URL or AIP content, optionally with PR URLs and file paths.
airflow-new-sdk
Guide for implementing a brand-new language SDK for Airflow (AIP-108). Use this skill when a contributor wants to add support for a new programming language — designing the Python coordinator, implementing the wire protocol in the target language, writing the bundle format, and structuring the PR. Trigger on phrases…
airflow-java-sdk
Guide for contributing to the Airflow Java SDK (AIP-108). Use this skill whenever a contributor is working in the java-sdk/ directory or on the Java coordinator in task-sdk/src/airflow/sdk/coordinators/java/ — whether they want to add a feature, write tests, fix a bug, understand the architecture, or prepare a PR.…
aip-tracker
Track Airflow Improvement Proposal (AIP) implementation progress by comparing Confluence specs against codebase evidence. Use when asked to assess, report on, or compare AIP status.