upgrade

upgrade is a command for Claude Code from ihudak/ihudak-claude-plugins. It costs 41 tokens per session (10,114 once invoked), scanned A, original, MIT.

A workflow for upgrading libraries, frameworks, language runtimes, and build tools to selected or compatible versions. It plans complex upgrades, reviews the code, runs tests, and can commit each component separately.

In plain words
What is it for?
It helps upgrade dependencies, runtimes, build tools, or workflow files such as GitHub Actions, with exact, latest, minor, or LTS version choices.
Why use it?
It removes the need to coordinate version selection, review, testing, and handoff steps manually. It also provides an option to leave changes uncommitted.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions .claude-plugin; mentions CLAUDE.md; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dev-workflows plugin — 5 commands, 12 agents, 1 hook shipped together

Good fit It helps upgrade dependencies, runtimes, build tools, or workflow files such as GitHub Actions, with exact, latest, minor, or LTS version choices.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add ihudak/ihudak-claude-plugins
Claude Code
/plugin install dev-workflows

Made for: Claude Code.

Or install dev-workflows, the plugin that ships this one along with the rest of its 5 commands, 12 agents, 1 hook.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/ihudak/ihudak-claude-plugins/upgrade"><img src="https://agentmods.dev/badge/commands/ihudak/ihudak-claude-plugins/upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 10,114 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.00041 $0.10114
Opus 5.5 $0.00016 $0.04046
Sonnet 5.5 $0.00008 $0.02023
Haiku 4.5 $0.00004 $0.01011

Measured 23d ago against content hash 662c42c2f215, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

upgrade 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 23d 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.

plugins/dev-workflows/commands/upgrade.md · 305 lines

How it starts

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

Upgrade components: $ARGUMENTS

Core references. A citation of the form workflows-core:<name> names a shared reference in the workflows-core plugin. Load it with Skill(skill: "workflows-core:reference", args: "<name>") — never by path: ${CLAUDE_PLUGIN_ROOT} resolves to this plugin, which does not carry it.

Strip --no-commit first, before parsing any component token: an unstripped flag is read as a component name and the run fails resolving it. When present, steps 6.5 and 7.5 are both skipped and the changes are left in the working tree. It is the one opt-out from a commit that is otherwise prompt-free (${CLAUDE_PLUGIN_ROOT}/references/code-handoff.md §1 rule 5) — typed rather than clicked, which is the difference — and a run under it says once what it costs: the work is recoverable only on this machine.

Each token is one of: component:1.2.3 (exact), component:minor (latest patch on current minor), component:latest (latest stable), component:lts (latest LTS), or bare component (latest compatible with everything else).

component can be a library, framework, language runtime, build tool, or path like .github/workflows.

Each component is committed on its own as soon as its gates pass — see Phase 2's step 6.5 and step 7.5 (${CLAUDE_PLUGIN_ROOT}/references/code-handoff.md); the branch is pushed once for the batch where §2.4's consent choice, an origin and §2.5's push itself all allowed it, and a pull request opened where §2.4's consent choice, §2.8's base-branch ladder and §2.6's gh capability probe allowed one as well — §3.1's rows rather than any list written out here are the authority on which line the run emitted. §2.4 is named in both halves rather than carried forward from the first, because its second option ("Push the branch only — no pull request") allows the push and refuses the pull request: a clause that let the push's own §2.4 term stand for the pull request's would assert one in a state §3.1 has its own row for. The commit is prompt-free; only the push and the pull request sit behind a consent choice, asked once for the batch. --no-commit skips both steps.


Phase 0 — Specs-repo preflight

Invoke Skill(skill: "workflows-core:reference", args: "specs-repo-git specs-preflight") and execute its specs-preflight entry point (§3) inline: flush any leftover session artifacts from an earlier run, retry an artifact commit that failed to push, and settle the branch. This runs against $SPECS_PATH only — git -C "$SPECS_PATH", never a cd, so the code repo this run is about to upgrade is untouched (§1 rule 1). Prompt-free and silent when the specs repo is clean and on its default branch. If a guard fires, emit its §5 notice; if it returns specs_git: blocked (§3.3 G0), carry that flag for the whole run — the terminal commit-artifacts step skips on it.


Read the full file on GitHub · 305 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. 23d ago Changed 662c42c2f215
  2. 24d ago Changed · +16 lines 299d4b98d8af
  3. 28d ago Changed · +30 lines 0cedf5920da5
  4. 1mo ago Changed · +1 lines 8331f7217f79
  5. 1mo ago Changed · +2 lines 962293983ce3
  6. 1mo ago First seen · 256 lines · 41 tokens per session scan A b9bb78accab0

Subscribe to this mod's changes

upgrade is a command published in the GitHub repository ihudak/ihudak-claude-plugins (2 stars, last pushed 24d ago), licensed MIT. It adds 41 tokens to every session and 10,114 once invoked, about $0.0002 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-05.