magpie-setup-override-upstream

magpie-setup-override-upstream is a skill for Claude Code from apache/magpie. It costs 72 tokens per session (4,014 once invoked), scanned A, original, Apache-2.0.

A workflow for turning a project-specific Magpie override into a pull request for the Apache Magpie project. An override is a local change that changes how a shared skill behaves.

In plain words
What is it for?
Use it to assess an override, design the general change, implement it upstream, and open a pull request.
Why use it?
It helps replace repeated local workarounds with a shared framework feature that other projects can receive through an upgrade.

Skill for Claude Code ✓ vendor

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions AGENTS.md; mentions OpenCode.

Part of the magpie plugin — 72 skills shipped together

Good fit Use it to assess an override, design the general change, implement it upstream, and open a pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/apache/magpie/setup-override-upstream
About the project

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.

apache/magpie · 87 stars · on GitHub · magpie.apache.org

Install

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.

Any agent
npx skills add apache/magpie --skill setup-override-upstream
Clone the repo
git clone --depth 1 https://github.com/apache/magpie

Made for: Claude Code.

Or install magpie, the plugin that ships this one along with the rest of its 72 skills.

Wrote 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.

agentmods badge for magpie-setup-override-upstream

README.md
[![agentmods](https://agentmods.dev/badge/skills/apache/magpie/setup-override-upstream.svg)](https://agentmods.dev/skills/apache/magpie/setup-override-upstream)
Your own site
<a href="https://agentmods.dev/skills/apache/magpie/setup-override-upstream"><img src="https://agentmods.dev/badge/skills/apache/magpie/setup-override-upstream.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,014 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.04014
Opus 5 $0.00036 $0.02007
Sonnet 5 $0.00014 $0.00803
Haiku 4.5 $0.00007 $0.00401

Measured 3d ago against content hash 00349065cc46, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

magpie-setup-override-upstream 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 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.

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.

skills/setup-override-upstream/SKILL.md · 383 lines

How it starts

The opening of the file, as written. The whole thing — 383 lines — stays where its author put it; the contents beside it link to each section on GitHub.

setup-override-upstream

This skill is the path from local override to framework feature. It takes a single .apache-magpie-overrides/<skill>.md file in an adopter repo, walks the user through deciding whether the change is worth upstreaming, designs the framework-level abstraction, implements it in apache/magpie, and opens a PR.

The override mechanism (per docs/setup/agentic-overrides.md) is deliberately agentic and adopter-local: there's no schema, no anchors, no patch tool. That makes overrides quick to write but hard to share — every adopter who wants the same behaviour writes their own. Upstreaming is the escape hatch: when an override stops being project-specific and starts looking like a missing feature, the right move is a PR that bakes the change into the framework's default, making every adopter benefit on their next /magpie-setup upgrade.

Adopter overrides

Before running the default behaviour documented below, this skill consults .apache-magpie-local/setup-override-upstream.md (personal, gitignored) and .apache-magpie-overrides/setup-override-upstream.md (committed, project-wide) in the adopter repo if it exists, and applies any agent-readable overrides it finds. See docs/setup/agentic-overrides.md for the contract — what overrides may contain, hard rules, the reconciliation flow on framework upgrade, upstreaming guidance.

Read the full file on GitHub · 383 lines

Changes

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.

  1. 3d ago First seen · 383 lines · 72 tokens per session scan A 00349065cc46

Subscribe to this mod's changes

magpie-setup-override-upstream is a skill published in the GitHub repository apache/magpie (87 stars, last pushed 5d ago), licensed Apache-2.0. It adds 72 tokens to every session and 4,014 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-09-03.

Related

Other skills, from other repositories

issues-workflow

Plan and track work using a GitHub Issues-first workflow with sub-issue hierarchies, issue-branch-PR lifecycle, and auto-close on merge.

terrylica/cc-skills · 36 tokens

parallel-orchestrator

Manage parallel Claude Code workstreams using git worktrees. Use when: splitting large tasks across multiple workers, coordinating parallel development, monitoring worker progress, integrating completed work, analyzing work item documents (code reviews, issue lists). Triggers: parallel, orchestrator, worktrees…

jimmc414/claude-code-plugin-marketplace · 78 tokens

git-ship

An automated Git release workflow that takes code changes through a branch, commit, pull request, review checks, squash merge, and return to the main branch. A pull request is a request to review and merge changes into a shared branch.

oil-oil/git-ship · 273 tokens

mk:ship

Ship workflow with explicit scopes: prepare stages and commits locally; release pushes and creates a PR; publish manages issues and versioning. Use when asked to "ship", "deploy", "push to main", "create a PR", or "merge and push". Proactively suggest when the user says code is ready or asks about deploying. Supports…

ngocsangyem/MeowKit · 92 tokens

workspace-standards

Use when setting up or managing multi-repo workspaces.

dryvist/claude-code-plugins · 16 tokens

mk:jira-dev

Generate developer artifacts from Jira tickets via the jira-as wrapper: branch names, PR descriptions, parsed commits, commit/PR-to-issue links. Triggers: 'branch name for KEY', 'PR description for KEY', 'parse commits for issue keys', 'link PR to KEY'. NOT for executing git/gh commands directly (mk:ship); NOT for…

ngocsangyem/MeowKit · 86 tokens