Provision and reuse a global uv environment for ad hoc Python scripts.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install uv-global或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install uv-global⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/uv-global/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: uv-global description: Provision and reuse a global uv environment for ad hoc Python scripts. metadata: {"openclaw":{"always":true,"emoji":"🦞","homepage":"https://github.com/guoqiao/skills/blob/main/uv-global/uv-global/SKILL.md","os":["darwin","linux"],"tags":["python","uv","global","venv"],"requires":{"anyBins":["brew","uv"]}}} ---
Create and reuse a global uv environment at ~/.uv-global so you can install Python dependencies for quick, ad hoc scripts without polluting the system interpreter.
Lightning-fast setup that keeps one shared virtual environment ready for temporary tasks.
Use this skill when the user needs Python packages (data processing, scraping, etc.) that are not preinstalled and a full project-specific environment would be overkill. Skip this if the user explicitly wants system Python or a project-local venv.
uv available. If missing, you need either brew (macOS/Linux) or curl to install it.
bash ${baseDir}/install.sh
The script will:
uv via brew (macOS/Linux) or the official curl installer if uv is absent~/.uv-global~/.uv-global/.venv~/.uv-global/.venv/bin[Optional]prepend the venv bin to your PATH so python defaults to the global env and shims are available:
export PATH=~/.uv-global/.venv/bin:$PATH
For any quick Python script that needs extra dependencies:
# install required packages into the global env
uv --project ~/.uv-global add <pkg0> <pkg1> ...
# write your code
touch script.py
# run your script using the global env
uv --project ~/.uv-global run script.py
Tips:
--project ~/.uv-global flag ensures they run with the global env.uv --project ~/.uv-global pip list.安装 UV Global 后,可以对 AI 说这些话来触发它
Help me get started with UV Global
Explains what UV Global does, walks through the setup, and runs a quick demo based on your current project
Use UV Global to provision and reuse a global uv environment for ad hoc Python scripts
Invokes UV Global with the right parameters and returns the result directly in the conversation
What can I do with UV Global in my developer & devops workflow?
Lists the top use cases for UV Global, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/uv-global/ 目录(个人级,所有项目可用),或 .claude/skills/uv-global/(项目级)。重启 AI 客户端后,用 /uv-global 主动调用,或让 AI 根据上下文自动发现并使用。
UV Global 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
UV Global 可免费安装使用。请查阅仓库了解许可证信息。
Provision and reuse a global uv environment for ad hoc Python scripts.
UV Global 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using UV Global
Identifies repetitive steps in your workflow and sets up UV Global to handle them automatically