OpenParable
Skip to content
← Back to skills

Managing Packages

Development
managing-packages

Managing Packages is an Agent Skill for development published in the SpecterOps/Nemesis repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Manages Python package dependencies. Use when adding, upgrading, removing, or syncing Python/pypi packages in projects or libs.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/SpecterOps/Nemesis/blob/HEAD/.agents/skills/managing-packages/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/managing-packages, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Managing Packages with uv

Commands

All commands must be run from the specific project/library directory.

Add a package

cd {path} && uv add {package}

Add dev dependency

cd {path} && uv add --dev {package}

Upgrade a package

cd {path} && uv add {package}@latest

Remove a package

cd {path} && uv remove {package}

Sync dependencies

cd {path} && uv sync

Project paths

projects/web_api/
projects/file_enrichment/
projects/document_conversion/
projects/cli/
projects/alerting/
projects/housekeeping/
projects/agents/
libs/common/
libs/file_enrichment_modules/
libs/chromium/
libs/file_linking/
libs/nemesis_dpapi/

Notes

  • Always use uv, never pip
  • Commit both pyproject.toml and uv.lock
  • Use uv run to execute commands in the project's environment