计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
uv-global【效率与协作】Provision and use a global uv environment for ad hoc Python scripts.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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) or curl to install it.
bash ${baseDir}/uv-global.sh
The script will:
uv via brew (macOS/Linux) or the official curl installer if uv is absent~/.uv-global~/.uv-global/.venvOptionally prepend the venv bin to your PATH so python defaults to the global env:
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.