upgrade-python-deps

upgrade-python-deps is a skill for Claude Code from saaspegasus/django-boilerplate. It costs 0 tokens per session (553 once invoked), scanned A, original, MIT.

A Python dependency update procedure using uv, a Python project and package management tool, followed by environment checks.

In plain words
What is it for?
Use it to upgrade a project's Python packages, resolve conflicts, sync the virtual environment, and check that the project still works.
Why use it?
It updates compatible package versions while using a seven-day cutoff to reduce exposure to very recent supply-chain problems. It also prevents uv from silently discarding the lock file's chosen versions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to upgrade a project's Python packages, resolve conflicts, sync the virtual environment, and check that the project still works.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saaspegasus/django-boilerplate/upgrade-python-deps
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 saaspegasus/django-boilerplate --skill upgrade-python-deps
Clone the repo
git clone --depth 1 https://github.com/saaspegasus/django-boilerplate

Made for: Claude Code.

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-python-deps

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/saaspegasus/django-boilerplate/upgrade-python-deps"><img src="https://agentmods.dev/badge/skills/saaspegasus/django-boilerplate/upgrade-python-deps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 553 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00000 $0.00553
Opus 5.5 $0.00000 $0.00221
Sonnet 5.5 $0.00000 $0.00111
Haiku 4.5 $0.00000 $0.00055

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

Security

Grade A, and why

upgrade-python-deps 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/skills/upgrade-python-deps/SKILL.md · 64 lines

What it actually says

Your task

Upgrade all Python dependencies and verify nothing is broken.

Step 1: Upgrade the lock file

Run uv lock --upgrade --exclude-newer "7 days" to upgrade all dependencies to their latest compatible versions (with a 7-day cooldown to mitigate supply-chain attacks).

Review the output for any resolution errors. If there are conflicts, report them to the user and ask how to proceed before continuing.

Step 2: Remove the cooldown marker from the lock file

uv records the --exclude-newer cutoff inside uv.lock as project configuration. Since it isn't declared in pyproject.toml, any later uv sync or uv run sees a config mismatch, discards the lockfile, and silently re-resolves everything to the newest versions — undoing the cooldown. Prevent this by deleting the [options] block at the top of uv.lock (the exclude-newer / exclude-newer-span lines) before syncing:

sed -i '/^\[options\]$/,/^$/d' uv.lock

The cooldown-resolved versions stay in place; only the marker is removed. Verify with grep exclude-newer uv.lock (should print nothing).

Step 3: Sync the environment

Run uv sync to install the upgraded dependencies into the virtual environment.

Step 4: Run post-upgrade checks

Run these checks sequentially, stopping if any step fails:

  • Type checking: Run uv run mypy . and report any new type errors. These may be caused by updated type stubs or changes in library APIs.
  • Tests: Run make test to verify the test suite still passes.

Step 5: Summarize and commit

Summarize what was done:

  • Which packages were upgraded (notable version changes)
  • Whether any type errors were introduced
  • Whether all tests passed
  • Any issues that need manual attention

If there were failures, present the issues and ask how the user wants to proceed.

If everything passed, ask the user if they'd like to commit the changes. If yes, commit using the /commit skill.

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 First seen · 64 lines · 0 tokens per session scan A d0f49210dcc6

Subscribe to this mod's changes

upgrade-python-deps is a skill published in the GitHub repository saaspegasus/django-boilerplate (177 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 553 tokens. 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-30.

Related

Other skills, from other repositories

matlab

Builds, reviews, migrates, and plans MATLAB or GNU Octave numerical workflows. Use for arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 44 tokens

pennylane

Builds and differentiates PennyLane quantum circuits, hybrid PyTorch or JAX models, molecular VQE and QAOA workflows. Use for variational quantum algorithms, quantum machine learning, simulator validation, and moving validated circuits to provider plugins. For hardware-specific compilation use qiskit or cirq; for…

K-Dense-AI/scientific-agent-skills · 74 tokens

holoscan-install-wheel

Install Holoscan SDK 5.x CUDA 13 Python wheels in an isolated environment, choosing the full stack or version-matched components.

NVIDIA/skills · 34 tokens

rocm-kernels

Provides guidance for writing and benchmarking optimized Triton kernels for AMD GPUs (MI355X, R9700) on ROCm, targeting HuggingFace diffusers (LTX-Video, SD3, FLUX) and transformers. Core kernels: RMSNorm, RoPE 3D, GEGLU, AdaLN. Includes XCD swizzle, autotune, diffusers integration patterns, and LTX-Video pipeline…

huggingface/kernels · 93 tokens

typing-exclusion-worker

Python typing exclusion worker: remove assigned mypy exclusion modules in small scoped batches, fix typing issues, run validation, and produce a structured completion summary. Use when running parallel typing-debt workers or when asked to remove modules from pyproject mypy exclusion overrides.

getsentry/skills · 57 tokens

python

Python development with ruff, mypy, pytest - TDD and type safety.

alinaqi/maggy · 18 tokens