complete-upgrade

complete-upgrade is a skill for Claude Code from apache/magpie. It costs 62 tokens per session (6,308 once invoked), scanned B, original, Apache-2.0.

A guided process for finishing an installed Magpie upgrade across a machine and project after the new version is already installed.

In plain words
What is it for?
Use it to inspect upgrade-related changes, apply approved items, verify them again, and print commands for upgrades outside its reach.
Why use it?
It gathers upgrade checks into one approved plan, re-checks the results, and clearly separates actions that must be run manually.

Skill for Claude Code ✓ vendor

Written for Claude Code: when-to-use in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

Part of the magpie-setup plugin — 12 skills shipped together

Good fit Use it to inspect upgrade-related changes, apply approved items, verify them again, and print commands for upgrades outside its reach.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/apache/magpie/complete-upgrade
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 · 128 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 complete-upgrade
Clone the repo
git clone --depth 1 https://github.com/apache/magpie

Made for: Claude Code.

Or install magpie-setup, the plugin that ships this one along with the rest of its 12 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 complete-upgrade

README.md
[![agentmods](https://agentmods.dev/badge/skills/apache/magpie/complete-upgrade/github.svg)](https://agentmods.dev/skills/apache/magpie/complete-upgrade)
Your own site
<a href="https://agentmods.dev/skills/apache/magpie/complete-upgrade"><img src="https://agentmods.dev/badge/skills/apache/magpie/complete-upgrade/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.

agentmods 80×15 button for complete-upgrade

Your own site · 80×15
<a href="https://agentmods.dev/skills/apache/magpie/complete-upgrade"><img src="https://agentmods.dev/badge/skills/apache/magpie/complete-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,308 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00062 $0.06308
Opus 5.5 $0.00025 $0.02523
Sonnet 5.5 $0.00012 $0.01262
Haiku 4.5 $0.00006 $0.00631

Measured today against content hash 294eb64bb778, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

complete-upgrade scanned grade B 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 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Put a `[bypass]` *Check* item in the plan that reads `~/.claude/settings.json` and `~/.claude/settings.local.json` for `sandbox.enabled`, with the harness's own file-read tool (not Bash) or with the system `/usr/bin/jq`
plugins/magpie-setup/skills/complete-upgrade/SKILL.md · 276 lines

How it starts

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

setup-complete-upgrade

A new Magpie version arrives from outside any skill: a marketplace auto-update, /plugin update, a framework git pull, or setup upgrade on a pinned snapshot. This skill brings the machine and the current project in line with it in one run. It gathers what five existing skills check, shows one short plan, applies the approved items, re-checks, and ends with the exact commands for the rest.

It starts after the new version is installed. It never updates plugins or the marketplace, never git pulls the framework, never bumps a snapshot, and never upgrades claude-code. A pinned snapshot whose .apache-magpie.local.lock lags the committed .apache-magpie.lock is the one upgrade-shaped finding: it goes under Run these yourself as setup upgrade, never under Fix, and this run goes no further on it.

Invocation: /magpie-setup:complete-upgrade (marketplace), /magpie-setup-complete-upgrade (snapshot or self-adoption).

Adopter overrides

Before running its default behaviour, this skill consults setup-complete-upgrade.md in the personal layer (.apache-magpie-local/ when the project adopted Magpie, falling back to the main checkout's in a linked worktree, or <git-common-dir>/apache-magpie/ when Magpie is only installed; applied first, wins on conflict) and .apache-magpie-overrides/setup-complete-upgrade.md (committed, project-wide) in the adopter repo, if present, and applies any agent-readable overrides it finds. See docs/setup/agentic-overrides.md for the contract.

Read the full file on GitHub · 276 lines

Files

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.

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. today Changed 294eb64bb778
  2. yesterday First seen · 276 lines · 62 tokens per session scan B 927508647843

Subscribe to this mod's changes

complete-upgrade is a skill published in the GitHub repository apache/magpie (128 stars, last pushed yesterday), licensed Apache-2.0. It adds 62 tokens to every session and 6,308 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.