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.
npx skills add apache/magpie --skill keys-syncgit 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/keys-sync)<a href="https://agentmods.dev/skills/apache/magpie/keys-sync"><img src="https://agentmods.dev/badge/skills/apache/magpie/keys-sync/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/apache/magpie/keys-sync"><img src="https://agentmods.dev/badge/skills/apache/magpie/keys-sync.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.00063 | $0.05613 |
| Opus 5.5 | $0.00025 | $0.02245 |
| Sonnet 5.5 | $0.00013 | $0.01123 |
| Haiku 4.5 | $0.00006 | $0.00561 |
Grade A, and why
keys-sync 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 today.
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 — 397 lines — stays where its author put it; the contents beside it link to each section on GitHub.
release-keys-sync
Pre-flight — is this project set up?
Do this first, before anything else in this skill, and do it silently. One command answers it and carries its own rules.
Run the checker with this skill's own frontmatter name: and
surface_hash:, one --requires for each requires_config: entry, and the
directory this skill was loaded from in MAGPIE_SKILL_DIR (the harness names
it, e.g. Claude Code's "Base directory for this skill"; leave the variable
out when you do not know it):
PYTHONPATH="$(magpie-python -I -c 'import hashlib,os,sys;h,d,m,i=sys.argv[1:];r=os.path.realpath(os.curdir);s=os.stat(r);p=os.path.join(h,d,hashlib.sha256(r.encode()).hexdigest()[:16]);f=os.path.join(p,i);print(p if os.path.isdir(os.path.join(p,m)) and os.path.isfile(f) and open(f).read().split()==[str(s.st_dev),str(s.st_ino)] else h)' "$HOME/.cache/apache-magpie/preflight" projects setup_preflight root-id)" \
MAGPIE_SKILL_DIR="<this skill's directory>" \
magpie-python -P -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- today Changed · -1 lines d673bb30a272
- 6d ago Changed · +3 lines 6bb0420bd679
- 10d ago Changed · +1 lines 6cafe986b689
- 11d ago Changed · +9 lines 84787052e84c
- 12d ago Changed · +4 lines d5952e54bff3
- 16d ago Changed · +22 lines abae51cab242
- 19d ago Changed b9630b173f1d
- 25d ago Changed 1cd41ac6952c
- 1mo ago Changed · +4 lines d916f0e4ad9c
- 1mo ago First seen · 355 lines · 63 tokens per session scan A fb28e8d073d8
keys-sync is a skill published in the GitHub repository apache/magpie (164 stars, last pushed today), licensed Apache-2.0. It adds 63 tokens to every session and 5,613 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-09-14.
keys-sync compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| keys-syncapache/magpie | Skill | 164 | today | Apache-2.0 | A | 63 | Claude Code |
| aip-trackerapache/airflow | Skill | 48k | today | Apache-2.0 | A | 41 | Claude Code, Codex |
| performing-vulnerability-scanning-with-nessusxalgorix/xalgorix | Skill | 1.6k | yesterday | Apache-2.0 | B | 89 | Claude Code, Codex |
| cyberowlaikarimhabush/cyberowl | Skill | 264 | today | MIT | A | 155 | Claude Code, Codex |
| vulnerability-dbAppThreat/vulnerability-db | Skill | 158 | 11d ago | MIT | A | 0 | Claude Code, Codex |
| grype-syft-sbom-scannerseaworld008/Commonly-used-high-value-skills | Skill | 75 | 5d ago | MIT | A | 42 | Claude Code, Codex |
| bob-updatevmihalis/hacker-bob | Skill | 102 | 28d ago | Apache-2.0 | A | 19 | Claude Code, Codex |