Python Dependency Manager

VerifiedSafe

This skill manages Python dependencies using uv. It checks installed and outdated packages, updates dependencies safely (with test verification), adds or removes packages, and audits for security vulnerabilities. It enforces rules like never removing a dependency without checking usage and always running tests after changes.

Sby Skills Guide Bot
DevelopmentIntermediate
6/2/2026
Claude Code
#python#dependencies#uv#package-management#audit

Recommended for

Automated summary

Manages Python dependencies in a uv-based project, including auditing, updating, and compatibility checks.

Strengths

  • Automates updates with test verification
  • Detects outdated packages and security vulnerabilities
  • Respects version constraints (torch, sentence-transformers, neo4j)
  • Handles both main and dev dependencies

Limitations

  • Requires uv installed and a project configured with pyproject.toml
  • Only works for Python >=3.13
  • Security audit depends on the pip-audit tool (not directly integrated)
When to use it

For maintaining a Python project cleanly, checking versions, and applying updates without breaking compatibility.

When not to use it

For projects not using uv, older Python environments, or dependencies not managed via pyproject.toml.

Security analysis

Safe
Quality score90/100

The skill uses standard package management commands (uv) for checking, updating, adding, and removing Python dependencies. No destructive, exfiltrating, or obfuscated actions are instructed. All commands are legitimate and common in development workflows.

No concerns found

How this analysis is made

Examples

Check outdated dependencies
Check for outdated Python dependencies in this project.
Update a specific package
Update the package 'requests' to the latest version and run tests.
Security audit
Audit the Python dependencies for known security vulnerabilities.

name: deps description: Check, audit, and update Python dependencies invocation: user

Dependency Manager

Check, audit, and update Python dependencies.

Project Setup

  • Package manager: uv
  • Config: pyproject.toml
  • Lock file: uv.lock
  • Build system: hatchling
  • Python: >=3.13

Commands Reference

# Check installed versions
uv pip list

# Check outdated packages
uv pip list --outdated

# Sync dependencies
uv sync
uv sync --extra dev

# Add dependency
uv add <package>
uv add --dev <package>
uv add "<package>>=1.0,<2.0"

# Remove dependency
uv remove <package>

# Update lock file
uv lock

# Update specific package
uv lock --upgrade-package <package> && uv sync

# Update all
uv lock --upgrade && uv sync

Instructions

"check" or "status" (default)

  1. Run uv pip list to show installed packages
  2. Run uv pip list --outdated to show outdated packages
  3. Present a summary table of current vs latest versions
  4. Highlight packages with major version updates (potential breaking changes)

"update" or "upgrade"

  1. Show what would be updated (uv pip list --outdated)
  2. Ask user to confirm before proceeding
  3. For specific package: uv lock --upgrade-package <name> && uv sync
  4. For all: uv lock --upgrade && uv sync
  5. After updating, run uv run pytest to verify nothing broke
  6. If tests fail, identify which update caused failure and suggest reverting

"add <package>"

  1. Determine if main or dev dependency
  2. Run uv add <package> or uv add --dev <package>
  3. Verify in pyproject.toml
  4. Run uv run pytest to verify compatibility

"remove <package>"

  1. Search for imports of the package in the codebase
  2. Warn if the package is imported anywhere
  3. Run uv remove <package>
  4. Run uv run pytest to verify

"audit" or "security"

  1. Run uv pip list to get all packages
  2. Check for known vulnerabilities (suggest pip-audit if available)
  3. Report findings with severity and recommended actions

Key Considerations

  • torch is very large (~2GB). Updates should be deliberate.
  • litellm updates frequently and may introduce breaking changes.
  • sentence-transformers must remain compatible with the project's embedding model.
  • neo4j driver version must match the server version (currently 5-community).
  • Always run tests after any dependency change.
  • uv.lock should be committed after dependency changes.

Rules

  • NEVER remove a dependency without checking for usage first
  • NEVER update torch or sentence-transformers without explicit user consent
  • Always run tests after dependency changes
  • If uv sync fails, check Python version compatibility (requires >=3.13)

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/python-dependency-manager-mm78nnyo/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/python-dependency-manager-mm78nnyo' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/python-dependency-manager-mm78nnyo/download' --output '.skill-downloads/python-dependency-manager-mm78nnyo/SKILL.md.part' && mv '.skill-downloads/python-dependency-manager-mm78nnyo/SKILL.md.part' '.skill-downloads/python-dependency-manager-mm78nnyo/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/python-dependency-manager-mm78nnyo/SKILL.md' && test -s '.skill-downloads/python-dependency-manager-mm78nnyo/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/deps' && cp -R '.skill-downloads/python-dependency-manager-mm78nnyo' '.claude/skills/deps'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/python-dependency-manager-mm78nnyo'

openskills read 'python-dependency-manager-mm78nnyo'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/python-dependency-manager-mm78nnyo/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills