uv-global
Provision and use a global uv environment for ad hoc Python scripts.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- uv-global
- metadata
- { "openclaw": { "os": [ "darwin", "linux" ], "tags": [ "python", "uv", "global", "venv" ], "emoji": "?", "always": true, "homepage": "https://github.com/guoqiao/skills/blob/main/uv-global/uv-global/SKILL.md", "requires": { "anyBins": [ "brew", "uv" ] } } }
- description
- Provision and use a global uv environment for ad hoc Python scripts.
02 资源文件 2
- 参考文档_meta.json449 B
- 脚本uv-global.sh676 B
03 SKILL.md 正文
UV Global
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.
Requirements
uv available. If missing, you need either brew (macOS) or curl to install it.
Installation
bash ${baseDir}/uv-global.sh
The script will:
- install
uvviabrew(macOS/Linux) or the officialcurlinstaller ifuvis absent - create a global uv project at
~/.uv-global - create a virtual environment with common packages in
~/.uv-global/.venv
Optionally prepend the venv bin to your PATH so python defaults to the global env:
export PATH=~/.uv-global/.venv/bin:$PATH
Usage
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:
- Keep scripts anywhere; the
--project ~/.uv-globalflag ensures they run with the global env. - Inspect installed packages with
uv --project ~/.uv-global pip list. - If a task grows into a real project, switch to a project-local venv instead of this global one.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.