upgrade-risk

upgrade-risk is a skill for Claude Code from juanmhidalgo/claude-plugins. It costs 208 tokens per session (3,556 once invoked), scanned A, original, MIT.

A Python dependency and runtime upgrade risk report based on the repository's actual code. It checks usage, breaking changes, and indirect dependencies without installing or changing anything.

In plain words
What is it for?
Use it before upgrading a Python package or moving to a new Python version to get a go, no-go, or go-with-caveats recommendation.
Why use it?
It shows what an upgrade could break instead of relying only on release notes. Dry-run checks leave project files, lock files, and environments unchanged.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the deps plugin — 1 skill shipped together

Good fit Use it before upgrading a Python package or moving to a new Python version to get a go, no-go, or go-with-caveats recommendation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/juanmhidalgo/claude-plugins/upgrade-risk
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 juanmhidalgo/claude-plugins --skill upgrade-risk
Clone the repo
git clone --depth 1 https://github.com/juanmhidalgo/claude-plugins

Made for: Claude Code.

Or install deps, the plugin that ships this one along with the rest of its 1 skill.

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-risk

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/juanmhidalgo/claude-plugins/upgrade-risk"><img src="https://agentmods.dev/badge/skills/juanmhidalgo/claude-plugins/upgrade-risk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 208 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,556 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.00208 $0.03556
Opus 5.5 $0.00083 $0.01422
Sonnet 5.5 $0.00042 $0.00711
Haiku 4.5 $0.00021 $0.00356

Measured 1mo ago against content hash ec8d0b9480d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

upgrade-risk 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 1mo 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.

deps/skills/upgrade-risk/SKILL.md · 302 lines

How it starts

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

Upgrade Risk Report

Answers one question: what breaks in this repo if we move to the target version. A changelog summary anyone could get from the release notes is a failed run.

<no_mutation priority="critical"> This skill installs nothing, upgrades nothing, and writes no file in the repo. Lock files, manifests (pyproject.toml, package.json), the virtualenv and node_modules are left exactly as found — every resolver command is a dry run. If the only way to answer something is to actually install, that item is reported as UNKNOWN with the command the user can run, not resolved by installing it.

In PR mode the same holds for the PR: no checkout of its branch, no comment, no review, no @dependabot command, no merge. gh api is used for GET requests only — never with -X, --method, -f or -F. The report recommends the Dependabot command; the user posts it. </no_mutation>

<evidence_rule priority="critical"> Every claim carries its grounding, and the verdict is capped by the weakest one:

  • APPLIES — requires a file:line from Phase 1. No citation, no APPLIES.
  • DOES NOT APPLY — requires a stated reason ("we never call X.render_to_string"; "grep over **/*.py plus settings modules found no reference").
  • UNKNOWN — everything else, naming what would close it. A grep that came back empty on a dynamic-import codebase is UNKNOWN, not DOES NOT APPLY.

Never state a version, a CVE id, or a changelog entry that did not come from a fetched page or a command's output in this run. Recalled-from-training release notes are wrong often enough to make the whole report worthless. A PR body (Dependabot's, Renovate's, a bot reviewer's) is a claim to check, not a source: the diff and the registry are the source. </evidence_rule>

Phase 0 — Target, mode, ecosystem, manager

Parse $ARGUMENTS into one mode:

Mode Trigger Extra reading, before Phase 1
PR a PR number (141, #141) or a GitHub PR URL dependabot-pr.md — it decides the target(s) and which mode each one runs in
PYTHON python 3.13, python3.12, "the Python version" python-version.md
NODE node 24, node22, "the Node version" node-version.md
PACKAGE anything else —

Read the full file on GitHub · 302 lines

Files

What ships with it

6 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. 1mo ago Changed · +128 lines · +70 tokens per session ec8d0b9480d4
  2. 2mo ago First seen · 174 lines · 138 tokens per session scan A 3046ed912883

Subscribe to this mod's changes

upgrade-risk is a skill published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 18d ago), licensed MIT. It adds 208 tokens to every session and 3,556 once invoked, about $0.0008 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-23.

Related

upgrade-risk compared with skills from other repositories

upgrade-risk next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
upgrade-riskjuanmhidalgo/claude-pluginsSkill818d agoMITA208Claude Code
plugin-architecture-patternsxberg-io/xbergSkill9.6kyesterdayMITA15Claude Code
test-corpusxberg-io/xbergSkill9.6kyesterdayMITA15Claude Code, Codex
idapythonmrexodia/ida-pro-mcpSkill14k19d agoMITA77Claude Code
stack-trace-python-probeopensquilla/opensquillaSkill7.2k5d agoApache-2.0A40Claude Code
python-debug-execution-911f17HKUDS/OpenSpaceSkill8.1k19d agoMITA23Claude Code, Codex
scenario-3dsmax-scriptingscenario-labs/skillsSkill4.4kyesterdayMITA188Claude Code