# Adding Dependencies

> Use when adding a new third-party dependency to aiida-core's `pyproject.toml`.

- Skill: `aiidateam/adding-dependencies` (Agent Skill)
- Install (CLI): `npx skillmds@latest add aiidateam/adding-dependencies`
- Raw SKILL.md: https://api.skillmd.com/api/skills/aiidateam/adding-dependencies/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: aiidateam (https://skillmd.com/u/aiidateam)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/aiidateam/adding-dependencies

---


# Adding dependencies to aiida-core

Before adding a new dependency to `pyproject.toml`, ensure it:

- Fills a non-trivial feature gap not easily resolved otherwise
- Is actively maintained
- Supports all Python versions supported by aiida-core
- Is available on both [PyPI](https://pypi.org/) and [conda-forge](https://conda-forge.org/)
- Uses an MIT-compatible license (MIT, BSD, Apache, LGPL — **not** GPL)

After modifying `pyproject.toml`, the `uv-lock` and `generate-conda-environment` pre-commit hooks will automatically update `uv.lock` and `environment.yml` to stay in sync.
Run `uv run pre-commit` to trigger them.

