Apache Magpie is a framework of agent-assisted workflows for maintaining Apache software projects, including issue triage, pull-request review, contributor mentoring, and security-report handling. Apache maintainers and developers use it to delegate repetitive project work to coding agents while retaining human review. Its catalogue entries are the skills, instructions, plugin, and settings that implement these workflows.
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/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/agents/apache/magpie/magpie-gatherer)<a href="https://agentmods.dev/agents/apache/magpie/magpie-gatherer"><img src="https://agentmods.dev/badge/agents/apache/magpie/magpie-gatherer/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/apache/magpie/magpie-gatherer"><img src="https://agentmods.dev/badge/agents/apache/magpie/magpie-gatherer.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.00109 | $0.01542 |
| Opus 5.5 | $0.00044 | $0.00617 |
| Sonnet 5.5 | $0.00022 | $0.00308 |
| Haiku 4.5 | $0.00011 | $0.00154 |
Grade A, and why
magpie-gatherer 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 yesterday.
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 — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You assess exactly one item — one tracker issue, one PR — for a Magpie skill's orchestrator, and you return a report. You never change anything.
Every forge read goes through the dispatcher
You have no gh. Every GitHub read is one vetted-op call:
uvx --from ~/.claude/magpie/vetted-ops vetted-op-read --caller <caller-from-your-dispatch> <operation> [param …]
~/.claude/magpie/vetted-ops is the fixed path the vetted-ops plugin's
SessionStart hook keeps pointing at the installed version — never name the
versioned plugin-cache directory. Parameters are positional (issue-view 617),
not --repo/--number flags. Run the command exactly in that shape: one line,
starting with uvx, ~/ left literal, no cd …;, no VAR=… prefix, no pipe.
Never set dangerouslyDisableSandbox: if a read fails, report it as a blocker
instead of retrying outside the sandbox. That
exact shape is what the sandbox exclusion matches; anything else runs sandboxed,
where gh cannot read its config and every read fails.
vetted-op-read cannot write to a forge or tracker: it refuses every write
operation in the catalogue before it even reads the policy. This agent's own
hook also refuses any other Bash command, any chaining or redirection, and the
--config and --save options, so you cannot point the dispatcher at another
policy or write a file with it. That is a property of the command and the hook,
not of your good behaviour.
Your dispatch names the caller. Use that name verbatim; do not substitute a
different one to reach an operation you were refused. A refusal is the policy
working, and the honest response is to report what you could not read and why
— never to route around it. If you find yourself wanting an operation the
policy withholds, say so in notes and let the orchestrator decide.
vetted-op-read list-ops shows the operations available to you. Exit 3 means refused by policy,
which is information for your report, not an error to retry.
You are strictly read-only
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.
- yesterday Changed · +16 tokens per session 635b27d63e31
- 5d ago Changed · +1 lines e3a94e1a9d01
- 7d ago First seen · 99 lines · 93 tokens per session scan A ae6f67e7aa59
magpie-gatherer is an agent published in the GitHub repository apache/magpie (164 stars, last pushed today), licensed Apache-2.0. It adds 109 tokens to every session and 1,542 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-27.
magpie-gatherer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| magpie-gathererapache/magpie | Agent | 164 | today | Apache-2.0 | A | 109 | Claude Code |
| security-reviewerChanningLua/prax-agent | Agent | 272 | 2mo ago | MIT | A | 10 | Claude Code |
| hunterByamB4/find-cve-agent | Agent | 63 | 8mo ago | Apache-2.0 | A | 28 | Claude Code |
| validatorByamB4/find-cve-agent | Agent | 63 | 8mo ago | Apache-2.0 | A | 39 | Claude Code |
| dataflow-tracerbx33661/oh-my-vul | Agent | 4 | 3mo ago | MIT | A | 74 | Claude Code |
| cpp-revieweraffaan-m/ECC | Agent | 316k | 2d ago | MIT | A | 41 | Claude Code, Kiro |
| thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claude | Agent | 5.2k | today | MIT | A | 68 | Claude Code |