smithery.ai

python-uv-cli

UV command-line usage patterns for Python project management

First seen Apr 6, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Declared

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseMIT
Compatibilityopencode
Declared agents opencode
More metadata
related_uv_mcp
For uv MCP automation tools, use skill `uv-mcp`
related_python_guidelines
For general Python development standards, use skill `python-guidelines`

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,830 B
  • docs SUMMARY.md 81 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Python UV CLI

What I Do

Provide UV command-line patterns for Python project management. Use UV instead of virtualenv, venv, or pip directly.

Core Commands

Environment Management

# Create and sync virtual environment
uv sync --all-extras -U          # Sync with all optional deps, update all
uv sync                          # Sync dependencies

# Run Python scripts
uv run python script.py          # Run script in isolated environment
uv run python -c"code"           # Run inline Python code
uv run pytest -v                 # Run tests
uv run --help                    # Show uv run options

Dependency Management

# Add dependencies
uv add package-name              # Production dependency
uv add package-name --dev        # Development dependency (pytest, ruff, etc.)

# Remove dependencies
uv remove package-name           # Remove production dependency
uv remove package-name --dev     # Remove development dependency

# Build and distribute
uv build                         # Create wheel and sdist

When to Use Me

Use this skill when:

  • Running Python scripts or tests
  • Managing project dependencies
  • Setting up development environments
  • Building and distributing packages

Key Rules

  1. Never use pip directly - Always use UV commands instead
  2. Use --dev for dev dependencies - pytest, ruff, ty, etc.
  3. Always use uv run - Never invoke python directly from .venv
  4. Use uv sync --all-extras -U - Full dependency update