Alison Aquinas logoAlison's LLM Plugins

pip

Included in pluginci-cdView on GitHub ↗

Files

SKILL.mdagentsreferences

Install

Install the containing plugin
/plugin install ci-cd@llm-skills
Invoke this skill after installation
/ci-cd:pip
Download pip-skill.zip
This skill is bundled inside ci-cd. Install the plugin once, then Claude Code can use any of its included skills. Browse the full plugin repository at github.com/alisonaquinas/llm-ci-dev.

SKILL.md


name: pip description: Install and manage Python packages with pip. Use when tasks mention pip commands, Python packages, virtual environments, requirements.txt, or PyPI indexes.

pip

Intent Router

RequestReferenceLoad When
Install pip, upgrade pip, pip.conf settingsreferences/install-and-setup.mdpip needs to be installed, upgraded, or configured globally
requirements.txt, version specifiers, indexes, hashesreferences/requirements-and-indexes.mdDependency files, private indexes, or hash pinning is involved
CLI commands, install/freeze/list/wheelreferences/command-cookbook.mdSpecific pip commands or package workflows are needed
venv creation, activation, site-packages, pipxreferences/virtual-environments.mdVirtual environment setup or isolation questions arise

Quick Start

# 1. Create a virtual environment
python -m venv .venv

# 2. Activate the virtual environment
source .venv/bin/activate        # bash/zsh
# .venv\Scripts\Activate.ps1    # PowerShell

# 3. Install dependencies from requirements file
pip install -r requirements.txt

# 4. Capture installed packages to a requirements file
pip freeze > requirements.txt

Core Command Tracks

  • Install package: pip install <pkg> / pip install "<pkg>>=1.2,<2"
  • Install from file: pip install -r requirements.txt
  • Editable install: pip install -e . — links source directory directly
  • Uninstall: pip uninstall <pkg>
  • List installed: pip list / pip list --outdated
  • Show package info: pip show <pkg>
  • Check deps: pip check — verifies no broken requirements
  • Freeze: pip freeze > requirements.txt — captures exact pinned versions
  • Download only: pip download -r requirements.txt -d ./vendor

Safety Guardrails

  • Never install packages into the system Python; always activate a virtual environment first.
  • Use --require-hashes in production requirements files to prevent supply-chain tampering.
  • Avoid --trusted-host in production environments; configure proper TLS certificates instead.
  • Pin exact versions (==) in deployment requirements to ensure reproducible installs.
  • Run pip check after installs to surface dependency conflicts early.
# Troubleshoot dependency conflicts: check for broken requirements and show package info
pip check
pip show requests
pip list --outdated

Related Skills

  • poetry — dependency management and packaging with lock files and build system
  • pipenv — combines pip and virtualenv with a Pipfile and lock file
  • ci-architecture — caching pip installs and managing virtualenvs in CI/CD pipelines

References

← Back to marketplace