From john-skills
Manages Python virtual environments in ~/.venvs/<name>/ with standardized commands for checking existence, creation, package installation, running, listing, and removal. Use when skills need Python packages or for consistent venv organization.
npx claudepluginhub jbdamask/john-claude-skills --plugin john-skillsThis skill uses the workspace's default tool permissions.
Provides standardized conventions and commands for managing Python virtual environments. Other skills that need Python packages should reference this skill to ensure consistent organization.
Manages Python development environments (venv, conda) by checking status with bash commands, confirming with user before installations, and providing best practices for safe package setup.
Manages Python virtual environments using venv, Poetry, Pipenv, pyenv; handles dependencies, resolves conflicts, automates project setup, and troubleshoots issues.
Manages Python virtual environments and dependencies with uv (10-100x faster than pip): creates venvs, installs packages, syncs pyproject.toml/requirements.txt, runs scripts, troubleshoots issues.
Share bugs, ideas, or general feedback.
Provides standardized conventions and commands for managing Python virtual environments. Other skills that need Python packages should reference this skill to ensure consistent organization.
All virtual environments are stored in a standard location with consistent naming:
~/.venvs/<package-name>/
Examples:
~/.venvs/gitingest/~/.venvs/myproject/Before creating, check if the venv already exists:
ls ~/.venvs/<name>/bin/python 2>/dev/null && echo "EXISTS" || echo "NOT_FOUND"
python3 -m venv ~/.venvs/<name>
Install one or more packages into the venv:
~/.venvs/<name>/bin/pip install <package1> <package2> ...
To run a command using the venv's Python or installed packages:
~/.venvs/<name>/bin/<command> <args>
Or activate first (less preferred):
source ~/.venvs/<name>/bin/activate
<command> <args>
deactivate
Creating a venv for gitingest:
# Check if exists
ls ~/.venvs/gitingest/bin/python 2>/dev/null && echo "EXISTS" || echo "NOT_FOUND"
# Create venv (if NOT_FOUND)
python3 -m venv ~/.venvs/gitingest
# Install package
~/.venvs/gitingest/bin/pip install gitingest
# Verify installation
~/.venvs/gitingest/bin/gitingest --version
# Use it
~/.venvs/gitingest/bin/gitingest https://github.com/owner/repo -o output.txt
If you're a skill that needs Python packages:
~/.venvs/<package-name>/ as the location~/.venvs/<package-name>/bin/<command>To see what venvs exist:
ls -1 ~/.venvs/
To remove a venv (requires user confirmation):
rm -rf ~/.venvs/<name>
Always confirm with user before deleting.