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
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/apache/magpienpx agentmods add skills/apache/magpie/write-skillWrote 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/write-skill)<a href="https://agentmods.dev/skills/apache/magpie/write-skill"><img src="https://agentmods.dev/badge/skills/apache/magpie/write-skill.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.1 | $0.00095 | $0.04944 |
| Opus 5 | $0.00048 | $0.02472 |
| Sonnet 5 | $0.00019 | $0.00989 |
| Haiku 4.5 | $0.00010 | $0.00494 |
Grade A, and why
magpie-write-skill scanned grade A with 1 finding 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 3d 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.
Reads agent configuration directorieslowAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
[framework `.claude/settings.json`](../../.claude/settings.json) Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 426 lines — stays where its author put it; the contents beside it link to each section on GitHub.
write-skill
This skill walks the user through authoring a new skill for the Apache Magpie framework, or refactoring an existing one to pick up the framework's current conventions.
Provenance
This skill is adapted from the skill-creator skill in the
JuliusBrussee/awesome-claude-skills
repository, distributed under the Apache License 2.0. The
upstream commit at the time of adoption is
5380239.
The framework's adaptations of the upstream content are
substantial. They are summarised in the bullets below, in
roughly the order they appear in this file. None of them are
breaking-versus-upstream — anyone familiar with skill-creator
will recognise the workflow shape:
- Renamed from
skill-creatortowrite-skillto match the framework's verb-prefixed naming convention. The trigger vocabulary in thewhen_to_usefield includes both forms. - Frontmatter shape updated to the framework's schema:
license: Apache-2.0(not free-form licence text),when_to_use(the framework's convention) alongsidedescription, SPDX comment + placeholder-convention comment after the frontmatter. - Step 3 (initialisation) uses the adapted
scripts/init_skill.pythat scaffolds the framework's expected structure (Adopter-overrides preamble, Snapshot-drift preamble, placeholder convention, SPDX header). - Step 5 (packaging) is dropped entirely — the framework
distributes skills via the snapshot model documented in
docs/setup/install-recipes.md, not as zip artefacts. The upstream'spackage_skill.pyis not included; validation is performed by the existingtools/skill-and-tool-validator, which is the framework's superset of the upstream'squick_validate.py. - New Step 5 (security checklist) added — a hard
walk-through of the prompt-injection-defence patterns that
every framework skill ingesting external content must adopt.
Sourced from the 2026-05 audit recorded at
the gist.
See the sibling
security-checklist.mdfor the full pattern catalogue. This is the load-bearing adaptation: it ensures any new skill written through this flow inherits the lessons rather than rediscovering them in a future audit.
What ships with it
2 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.
- 3d ago First seen · 426 lines · 95 tokens per session scan A 26b6cf579f7b
magpie-write-skill is a skill published in the GitHub repository apache/magpie (87 stars, last pushed 5d ago), licensed Apache-2.0. It adds 95 tokens to every session and 4,944 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
dast-nuclei
Fast, template-based vulnerability scanning using ProjectDiscovery's Nuclei with extensive community templates covering CVEs, OWASP Top 10, misconfigurations, and security issues across web applications, APIs, and infrastructure. Use when: (1) Performing rapid vulnerability scanning with automated CVE detection, (2)…
recipe-create-meet-space
Create a Google Meet meeting space and share the join link.
atmos-config
Atmos root configuration: atmos.yaml discovery, precedence, deep merging, basepath, imports, minimal bootstrap, and routing to narrower Atmos skills.
detecting-privilege-escalation-in-kubernetes-pods
Detect and prevent privilege escalation in Kubernetes pods by monitoring security contexts, capabilities, and syscall patterns with Falco and OPA policies.
taiyi-ui-design
A design-planning guide for describing how an application's user interface should look and behave. It produces a UI-DESIGN.md document covering layouts, components, interactions, accessibility, and error states.
CSOC Operations & Playbook Automation
SOC alert triage, incident playbook automation, escalation workflows, shift reporting, and SOC KPI tracking.