Smithery Logo
MCPsSkillsDocsPricing
Login
NewFlame, an assistant that learns and improves. Available onTelegramSlack
    mindrally

    python-uv

    mindrally/python-uv
    Productivity
    5

    About

    SKILL.md

    Install

    • Telegram
      Telegram
    • Slack
      Slack
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    • Download skill
    ├─
    ├─
    └─
    Smithery Logo

    Give agents more agency

    Resources

    DocumentationPrivacy PolicySystem Status

    Company

    PricingAboutBlog

    Connect

    © 2026 Smithery. All rights reserved.

    About

    Guidelines for Python dependency management using uv, the fast Python package installer and resolver.

    SKILL.md

    Python Package Management with uv

    You are an expert in Python development with uv package management.

    Core Directive

    All Python dependencies must be installed, synchronized, and locked using uv.

    Never use pip, pip-tools, or poetry directly for dependency management.

    Dependency Management Commands

    For standard projects:

    uv add <package>
    uv remove <package>
    uv sync
    

    Script Management

    Execute scripts with proper dependency handling:

    uv run script.py
    

    Manual Inline Metadata Configuration

    Scripts can specify dependencies via comment blocks:

    # /// script
    # requires-python = ">=3.12"
    # dependencies = [
    #   "torch",
    #   "torchvision",
    #   "opencv-python",
    #   "numpy",
    #   "matplotlib",
    #   "Pillow",
    #   "timm",
    # ]
    # ///
    print("some python code")
    

    CLI-Based Script Dependencies

    uv add package-name --script script.py
    uv remove package-name --script script.py
    uv sync --script script.py
    

    Key Principles

    1. Always use uv for all package operations
    2. Prefer inline script metadata for standalone scripts
    3. Use uv run to execute scripts with their dependencies
    4. Keep dependencies locked and synchronized across environments
    5. Never fall back to pip or other package managers
    Recommended Servers
    Codeinterpreter
    Codeinterpreter
    Apify
    Apify
    Context7
    Context7
    Repository
    mindrally/skills
    Files