dependency-upgrade

dependency-upgrade is a skill for Claude Code from KhaledSaeed18/dotclaude. It costs 119 tokens per session (1,074 once invoked), scanned A, original, MIT.

A dependency-upgrade guide for safely updating libraries and other packages used by a project. It covers checking outdated and vulnerable packages, reading major-version changes, and upgrading in small tested steps.

In plain words
What is it for?
It helps plan security fixes, end-of-life replacements, major upgrades, migration work, codemods, lockfile changes, and checks after each upgrade.
Why use it?
It reduces breakage and makes it easier to identify which update caused a failing test, type check, or build.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the engineering plugin — 22 skills, 2 commands, 7 agents shipped together

Good fit It helps plan security fixes, end-of-life replacements, major upgrades, migration work, codemods, lockfile changes, and checks after each upgrade.

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

Made for: Claude Code.

Or install engineering, the plugin that ships this one along with the rest of its 22 skills, 2 commands, 7 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 dependency-upgrade

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/khaledsaeed18/dotclaude/dependency-upgrade"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/dependency-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,074 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.00119 $0.01074
Opus 5.5 $0.00048 $0.00430
Sonnet 5.5 $0.00024 $0.00215
Haiku 4.5 $0.00012 $0.00107

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

Security

Grade A, and why

dependency-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 4d 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.

.claude-plugin/plugins/engineering/skills/dependency-upgrade/SKILL.md · 59 lines

How it starts

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

Upgrades fail when they are done all at once and diagnosed all at once. The discipline is: know what changed, change one thing, run the tests, commit, repeat. A day of small green steps beats a week of bisecting a red branch.

Step 1: inventory

  • npm outdated / pnpm outdated / pip list --outdated / cargo outdated / go list -m -u all, plus the audit: npm audit, pip-audit, cargo audit, govulncheck.
  • For each candidate: current, latest, is it a major bump, does an advisory apply, is the current version EOL, does it block another upgrade (e.g. the test runner must move before the framework can).
  • Classify: security (do first, minimal version that fixes), blocking (needed for another upgrade), major (needs reading), minor/patch (batchable).

Write the plan as a table before touching anything; get agreement if the list is long or a major touches the framework.

Step 2: prepare

  • Green baseline: full test suite, typecheck, lint, and build pass on the current commit; record timings.
  • A branch per major upgrade; one branch for the minor/patch batch.
  • Read, for each major: the release notes for every skipped major, the migration guide, the codemods offered, and the peer dependency changes. Note breaking changes that touch this codebase (grep for the removed APIs).

Step 3: minor and patch batch

Update them together (pnpm update within ranges, pip install -U for the batch), run the gate, commit as one change. If it goes red, bisect the batch by halving.

Step 4: majors, one at a time

For each, in dependency order (tooling first: TypeScript, test runner, bundler; then libraries; then the framework):

  1. Bump the one package (and its peers that must move with it).
  2. Run codemods if the project offers them (npx @next/codemod, npx react-codemod, django-upgrade, pyupgrade, cargo fix --edition).
  3. Typecheck first: it lists the removed and changed APIs faster than tests do.
  4. Fix compile errors by following the migration guide, not by casting or suppressing.
  5. Run the tests; fix behaviour changes the guide predicted; investigate any it did not.
  6. Run the app or the smoke path once by hand where tests are thin.
  7. Commit with the version range and the changes made in the body.

Read the full file on GitHub · 59 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. 4d ago Changed · +1 lines f02d11a5716c
  2. 2mo ago First seen · 58 lines · 119 tokens per session scan A 55d204e71cee

Subscribe to this mod's changes

dependency-upgrade is a skill published in the GitHub repository KhaledSaeed18/dotclaude (8 stars, last pushed today), licensed MIT. It adds 119 tokens to every session and 1,074 once invoked, about $0.0005 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-22.

Related

dependency-upgrade compared with skills from other repositories

dependency-upgrade next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dependency-upgradeKhaledSaeed18/dotclaudeSkill8todayMITA119Claude Code
gueter-genehmigung-bearbeitenKlotzkette/claude-fuer-deutsches-rechtSkill2.0ktodayApache-2.0A62Claude Code
rolle-anwendungsbereich-bearbeitenKlotzkette/claude-fuer-deutsches-rechtSkill2.0ktodayApache-2.0A54Claude Code
agb-rechtswahl-schweizer-recht-rom-iKlotzkette/claude-fuer-deutsches-rechtSkill2.0ktodayApache-2.0A69Claude Code
ermittlungsverfahren-und-eingriffe-bearbeitenKlotzkette/claude-fuer-deutsches-rechtSkill2.0ktodayApache-2.0A56Claude Code
cbam-bearbeitenKlotzkette/claude-fuer-deutsches-rechtSkill2.0ktodayApache-2.0A61Claude Code
haftungsdeckel-fuer-daten-und-modelldienste-pruefenKlotzkette/claude-fuer-deutsches-rechtSkill2.0ktodayApache-2.0A77Claude Code