Codex skills for Python

These skills move Codex onto current Python tooling: uv with a committed lockfile and uv sync --locked in CI, Ruff with a deliberate rule tier, mypy or pyright strict mode ratcheted module by module, and pytest suites that pass under random order and xdist. Framework skills cover Django 5.2 and 6.x, FastAPI, Flask, Pydantic v2 and Polars or pandas pipelines.

75 more Python skills

Every Python skill in one command

Installs these 78 into ~/.agents/skills/. Add --project after -- to install into the current repository instead.

The installer is a 104-line POSIX shell script. It fetches the skills you name from codexskills.dev and unpacks each into its own folder in your skills directory. No sudo, no telemetry, and every skill page shows the full SKILL.md first. Read install.sh

curl -fsSL codexskills.dev/install.sh | sh -s -- uv-python-packaging pytest-testing python-typing fastapi-services django-apps python-asyncio python-modern-idioms python-cli-tools python-profiling python-automation-scripts polars-dataframes django-rest-framework pydantic-v2 django-orm-performance pandas-wrangling jupyter-notebooks prefect-flows pygame-games error-handling-patterns temporal-workflows aws-lambda flaky-test-triage mcp-server-builder test-driven-development dependency-upgrades ruff-setup regex-crafting htmx-patterns server-sent-events flask-apps session-auth input-validation n-plus-one-queries sqlalchemy-2 data-cleaning exploratory-data-analysis streamlit-apps time-series-analysis data-pipeline-testing openai-agents-sdk openai-structured-outputs langchain-apps langgraph-agents llamaindex-rag structured-extraction llm-streaming gemini-api ml-model-deployment pulumi-iac csrf-protection cors-configuration property-based-testing coverage-analysis benchmark-testing selenium-webdriver memory-leak-hunting docx-documents pptx-presentations csv-processing word-tracked-changes docstrings telegram-bots google-drive-api web-scraping browser-automation file-organization imap-email-automation spreadsheet-automation youtube-data-api raspberry-pi openai-responses-api dagster-pipelines matplotlib-charts feature-engineering integration-testing form-data-extraction gmail-api api-polling-workers

Python FAQ

Is there a Codex skill for migrating a Python project to uv?

uv Python Packaging moves pip, Poetry or pip-tools projects to pyproject.toml and uv.lock, but only when you ask for the migration. It keeps dev tools in dependency groups, installs with uv sync --locked so a stale lockfile fails CI, and in a sandbox with network off asks for approval or falls back to uv sync --offline. Publishing to PyPI is treated as irreversible and waits for your go-ahead.

Does the Django skill handle migrations safely?

Django Apps targets Django 5.2 LTS and 6.x and treats migrations as SQL to review: it runs makemigrations, then sqlmigrate to read the statements before applying them. It sets a custom user model before the first migrate and flags a later switch as a multi-step data migration rather than attempting it casually. For slow querysets, Django ORM Performance is the companion skill.

Can Codex upgrade Pydantic v1 code to v2?

Pydantic v2 runs uvx bump-pydantic for the mechanical rewrite, reviews the diff, then works through a v1-to-v2 mapping table. It flags the change that most often breaks clients: Optional[int] no longer implies a None default, so the field becomes required unless you write = None. Settings move to pydantic-settings with secrets masked.

How do I install all 78 Python skills at once?

Pass every name to the installer in one command: curl -fsSL https://codexskills.dev/install.sh | sh -s -- uv-python-packaging pytest-testing python-typing fastapi-services django-apps python-asyncio python-modern-idioms python-cli-tools python-profiling python-automation-scripts polars-dataframes django-rest-framework pydantic-v2 django-orm-performance pandas-wrangling jupyter-notebooks prefect-flows pygame-games error-handling-patterns temporal-workflows aws-lambda flaky-test-triage mcp-server-builder test-driven-development dependency-upgrades ruff-setup regex-crafting htmx-patterns server-sent-events flask-apps session-auth input-validation n-plus-one-queries sqlalchemy-2 data-cleaning exploratory-data-analysis streamlit-apps time-series-analysis data-pipeline-testing openai-agents-sdk openai-structured-outputs langchain-apps langgraph-agents llamaindex-rag structured-extraction llm-streaming gemini-api ml-model-deployment pulumi-iac csrf-protection cors-configuration property-based-testing coverage-analysis benchmark-testing selenium-webdriver memory-leak-hunting docx-documents pptx-presentations csv-processing word-tracked-changes docstrings telegram-bots google-drive-api web-scraping browser-automation file-organization imap-email-automation spreadsheet-automation youtube-data-api raspberry-pi openai-responses-api dagster-pipelines matplotlib-charts feature-engineering integration-testing form-data-extraction gmail-api api-polling-workers. Add --project right after -- to put them in the current repository's .agents/skills/ so your team gets them too.

Which Python skill should I try first?

uv Python Packaging is the closest fit for most Python work. Mention it with $uv-python-packaging in a prompt to load it on purpose; after that, Codex picks it up on its own whenever a task matches.

esc