用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/guoqiao/skills --skill uv-global命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | uv-global |
| description | Provision and reuse a global uv environment for ad hoc Python scripts. |
| metadata | {"openclaw":{"always":false,"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.