uv-global

Provision and reuse a global uv environment for ad hoc Python scripts.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "uv-global" with this command: npx skills add guoqiao/uv-global

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/Linux) or curl to install it.

Installation

bash ${baseDir}/install.sh

The script will:

  • install uv via brew (macOS/Linux) or the official curl installer if uv is absent
  • create a global uv project at ~/.uv-global
  • create a virtual environment with common packages in ~/.uv-global/.venv
  • create a few useful shims in ~/.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

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-global flag 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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

GitHub Extract

Extract content from a GitHub url.

Registry SourceRecently Updated
6070Profile unavailable
Coding

HackerNews Extract

Extract a HackerNews post (article + comments) into single clean Markdown for quick reading or LLM input.

Registry SourceRecently Updated
2.4K3Profile unavailable
Coding

joinquant

聚宽量化交易平台 - 提供A股、期货、基金数据查询,事件驱动策略回测,支持在线研究与模拟实盘。

Registry SourceRecently Updated
630Profile unavailable
Coding

错敏信息检测

基于FastAPI的文本错敏信息检测服务,识别敏感词、错别字及规范表述问题,提供RESTful API接口调用。

Registry SourceRecently Updated
1800Profile unavailable