ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

uv-priority

Prioritize uv over pip for all Python package management and execution. When running ANY Python command or CLI tool (python, dbt, pytest, etc.), MUST wrap with uv run.

Why use this skill?

Optimize Python project workflows with the uv-priority skill for OpenClaw. Ensure faster, safer dependency management and command execution using uv and uvx.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/marcoracer/uv-priority
Or

What This Skill Does

The uv-priority skill is an essential infrastructure utility for OpenClaw that enforces the use of the uv Python package manager and runner. By overriding default Python execution behavior, it ensures that every Python-related task, command, or script execution happens within the correct, isolated environment. It effectively replaces outdated workflows involving pip, python, and python3 with high-performance, deterministic uv commands, significantly reducing dependency conflicts and environment issues.

Installation

To integrate this skill into your environment, use the following command: clawhub install openclaw/skills/skills/marcoracer/uv-priority Once installed, OpenClaw will automatically prioritize uv for all environment-related operations.

Use Cases

  • Project Development: Automatically executes testing suites, linting tools, and build scripts using uv run, ensuring that the local project virtual environment is strictly respected.
  • Dependency Management: Replaces dangerous pip install commands with uv add to ensure the project lockfile is always up to date and consistent.
  • Quick Tooling: Utilizes uvx for the rapid, ephemeral execution of development utilities (like formatters or security scanners) without modifying local project dependencies.
  • CI/CD Workflows: Streamlines local automated tasks by maintaining a single, unified interface for package management and script execution.

Example Prompts

  1. "Run the test suite for this project using pytest and make sure the environment is correct."
  2. "I need to lint the code using ruff; can you run that for me?"
  3. "Add the requests library to my current project dependencies using uv."

Tips & Limitations

  • Rule of Thumb: Always ask yourself if the tool you are running is part of the project's dependency tree. If it is (e.g., pytest), use uv run. If it is an external utility you need just once (e.g., a specific linter version), use uvx.
  • Performance: uv is significantly faster than standard pip or venv creation. You will notice faster startup times when switching between tasks.
  • Limitations: This skill assumes the project has a valid pyproject.toml file. If no project environment is detected, uv run may default to the system Python or prompt for initialization. Always ensure you are in the correct directory before triggering commands.

Metadata

Stars1450
Views1
Updated2026-02-25
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-marcoracer-uv-priority": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#python#development#package-management#optimization#devops
Safety Score: 4/5

Flags: file-write, file-read, code-execution