Uv Python Manager

🌐Community
by gemini960114 · vlatest · Repository

Automates Python environment setup, dependency management, and package installation within UV frameworks using Gemini's expertise.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add uv-python-manager npx -- -y @trustedskills/uv-python-manager
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "uv-python-manager": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/uv-python-manager"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill, uv-python-manager, allows AI agents to manage Python environments using uv. It simplifies creating, activating, and deactivating virtual environments, ensuring project dependencies are isolated. This capability enables agents to reliably execute Python code without conflicts arising from global package installations.

When to use it

  • Project Setup: An agent needs to create a new Python project with specific dependencies.
  • Dependency Management: An agent is troubleshooting an issue caused by conflicting Python packages.
  • Reproducible Environments: You want to ensure that your AI agent’s Python environment can be easily recreated on different machines.
  • Clean Development: An agent needs to switch between multiple Python projects with differing requirements.

Key capabilities

  • Creates new virtual environments using uv.
  • Activates existing virtual environments.
  • Deactivates the currently active virtual environment.

Example prompts

  • "Create a new virtual environment named 'my_project'."
  • "Activate the virtual environment called 'data_analysis'."
  • "What is the current Python version in this environment?"

Tips & gotchas

The agent needs access to uv which must be installed separately. Ensure that the agent has appropriate permissions to create and modify directories for virtual environments.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
gemini960114
Installs
7

🌐 Community

Passed automated security scans.