Skip to content

Latest commit

History

History
32 lines (24 loc) · 890 Bytes

File metadata and controls

32 lines (24 loc) · 890 Bytes

Python Isolation

Language: English · 中文

Use one uv virtual environment per skill.

Principles

  1. One skill, one venv.
  2. uv manages creation and installation.
  3. A generated wrapper hides platform-specific library paths.
  4. Rewrites are reversible.
  5. Generated .venvs/ are local state and stay out of git.

Commands

venv-manager.sh create <skill-name> [pkg...]
venv-manager.sh install <skill-name> [pkg...]
venv-manager.sh doctor <skill-name>
venv-manager.sh rewire <skill-name>
venv-manager.sh remove <skill-name>
venv-manager.sh list

Environment Variables

VariableDefaultPurpose
VENV_ROOT~/.config/opencode/.venvsuv venv root
SKILL_ROOT~/.agents/skillsshared skill root (every agent reads it)
UV_BINauto-detecteduv executable