upgrade-plugin

upgrade-plugin is a skill for Claude Code, Codex from eveld/claude. It costs 19 tokens per session (511 once invoked), scanned A, original, MIT.

A migration coordinator that upgrades a project between versions by reading its CHANGELOG.md, the file that records changes and upgrade instructions. It tracks the current version in a file and follows the required file moves, updates, and user decisions.

In plain words
What is it for?
Use it for project upgrades that require detecting the current version, applying documented migrations, updating cross-references, asking about edge cases, and recording the new version.
Why use it?
It gives upgrades a single source of truth and preserves original files until cleanup is confirmed. This helps avoid missing version-specific steps or leaving references pointing to old locations.

Skill for Claude CodeCodex

Part of the workflows plugin — 29 skills, 5 commands, 17 agents shipped together

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.

agentmods
npx agentmods add skills/eveld/claude/upgrade-plugin
Any agent
npx skills add eveld/claude --skill upgrade-plugin
Clone the repo
git clone --depth 1 https://github.com/eveld/claude

Made for: Claude Code, Codex.

Or install workflows, the plugin that ships this one along with the rest of its 29 skills, 5 commands, 17 agents.

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 upgrade-plugin

README.md
[![agentmods](https://agentmods.dev/badge/skills/eveld/claude/upgrade-plugin.svg)](https://agentmods.dev/skills/eveld/claude/upgrade-plugin)
Your own site
<a href="https://agentmods.dev/skills/eveld/claude/upgrade-plugin"><img src="https://agentmods.dev/badge/skills/eveld/claude/upgrade-plugin.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 511 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00019 $0.00511
Opus 5 $0.00010 $0.00255
Sonnet 5 $0.00004 $0.00102
Haiku 4.5 $0.00002 $0.00051

Measured 3d ago against content hash 504de4372f83, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

upgrade-plugin 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/upgrade-plugin/SKILL.md · 76 lines

What it actually says

Upgrade Plugin

Orchestrate project-level migrations by reading CHANGELOG.md as the single source of truth for migration steps.

When to Use

Called by /workflows:upgrade command to handle the upgrade process.

How It Works

1. Detect Current Version

Read thoughts/.version in the project directory:

current: v1.2.2
migrated_from: v1.2.1
migration_date: 2026-02-03

If file doesn't exist, detect from directory structure and create it.

2. Read CHANGELOG

Read CHANGELOG.md from the plugin directory to understand:

  • What changed in the target version
  • Migration steps required
  • Version detection patterns
  • What to ask the user

The CHANGELOG contains all version-specific migration logic.

3. Execute Migration

Follow the migration steps described in CHANGELOG:

  • Ask user questions using AskUserQuestion (for groupings, edge cases, cleanup)
  • Copy/move files as described
  • Update cross-references
  • Preserve originals until user confirms cleanup

4. Update Version File

After successful migration, update thoughts/.version:

current: v1.3.0
migrated_from: v1.2.2
migration_date: 2026-02-04

Key Principles

  • CHANGELOG is source of truth - All version-specific logic lives there
  • Project-level tracking - Each project has its own thoughts/.version
  • Ask, don't assume - Use AskUserQuestion for all decisions
  • Preserve data - Never delete without user confirmation
  • Generate reports - Show what was done after migration

Example Workflow

1. User runs /workflows:upgrade
2. Skill reads thoughts/.version → "v1.2.2"
3. Skill reads CHANGELOG.md → finds v1.3.0 migration section
4. Skill follows migration steps from CHANGELOG
5. Skill asks user questions via AskUserQuestion
6. Skill executes migration
7. Skill updates thoughts/.version → "v1.3.0"
8. Skill generates report

This design means the skill never needs updating - only CHANGELOG changes per version.

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 · 76 lines · 19 tokens per session scan A 504de4372f83

Subscribe to this mod's changes

upgrade-plugin is a skill published in the GitHub repository eveld/claude (10 stars, last pushed 7mo ago), licensed MIT. It adds 19 tokens to every session and 511 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

code-indexing-pipeline

How Infigraph turns source into a graph — adding a language (tree-sitter vs ANTLR grammar-plugin), cross-file call resolution, SCIP compiler-grade enrichment, and file-watch/reindex triage. Use when adding language support, debugging unresolved calls or SCIP import, or triaging stale index/watcher issues.

intuit/infigraph · 70 tokens

analysis-subsystems

How Infigraph's multi-repo/group mode and taint analysis work internally — HTTP contract extraction heuristics, cross-service edge linking, combined-graph merge, remote mode, plus taint's line-based tracking and sanitizer heuristic. Use when working on crates/infigraph-core/src/multi/ or src/taint/, or investigating…

intuit/infigraph · 80 tokens

review-pr-against-issue

Review one or more PRs against the GitHub issue(s) they claim to fix, including fetching PR branches directly when gh can't reach github.com (e.g. gh is authenticated to an enterprise host instead). Use whenever asked "does this PR fix issue.

intuit/infigraph · 61 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

golden-rss

Use when testing the rss golden build.

yusufkaraaslan/Skill_Seekers · 12 tokens

overleaf-sync

Two-way sync between a local paper directory and an Overleaf project, so ARIS audit/edit workflows stay on the local copy while collaborators edit in the Overleaf web UI. Use when user says "同步 overleaf", "overleaf sync", "推送到 overleaf", "connect overleaf", "Overleaf 桥接", "pull overleaf", "push overleaf", or wants to…

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens