# 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.

- Skill name: `managing-packages`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/SpecterOps/Nemesis/blob/HEAD/.agents/skills/managing-packages/SKILL.md
- Repository: SpecterOps/Nemesis (985 GitHub stars when collected)

## SKILL.md

# Managing Packages with uv

## Commands

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

### Add a package

```bash
cd {path} && uv add {package}
```

### Add dev dependency

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

### Upgrade a package

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

### Remove a package

```bash
cd {path} && uv remove {package}
```

### Sync dependencies

```bash
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

---

Source: https://www.openparable.com/skill/development/managing-packages (OpenParable). Cite the canonical URL above.
