pydantic-ai-skills
A lightweight agent skill implementation for Pydantic AI
What it is and what it does
pydantic-ai-skills extends agents with a structured skill system that organizes instructions, resources, and scripts into reusable packages. Each skill is a folder containing a SKILL.md file with metadata and instructions, plus optional reference documents and executable scripts. The package implements progressive disclosure: agents initially see only a skill's name and description, loading full instructions and resources on demand, which keeps the prompt lean as your skill library grows.
You can organize skills on the filesystem, define them programmatically with decorators, or load them from remote registries like Git repositories or S3. The package exposes four tools to agents: list_skills(), load_skill(), read_skill_resource(), and run_skill_script(). It supports skill filtering, runtime reloading, and composition operations like combining or prefixing skills.
Use it for:
- Build an agent that dynamically loads specialized research, coding, or analysis skills from a shared library without bloating the initial prompt.
- Compose agent capabilities from public skills repositories or custom skill packages with filtering and renaming.
- Create agents that execute bundled scripts (e.g., data processing, API calls) on demand as part of their task workflow.
- Manage a growing skill library across teams by loading skills from Git repositories or S3 with version control and composition.
- Teach an agent to handle domain-specific tasks by packaging instructions, reference documents, and helper scripts into a single skill folder.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Teaches agents to handle specialized tasks through modular skill packages that bundle instructions, reference documents, and executable scripts with progressive disclosure—skills load their full content only when needed.
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and fills a gap by supporting bundled resources and script execution. It is in alpha status but has been released since late 2025 and is in the top 5000 PyPI packages by downloads. Use it if you need agents to load specialized skills with reference materials or executable components.
Install
pydantic-ai-skills on PyPI
pip
pip install pydantic-ai-skillsuv
uv add pydantic-ai-skillspoetry
poetry add pydantic-ai-skillsInstalling pydantic-ai-skills
Before you install
Active maintenance with a recent release (20 days old) and low install friction. Depends on three runtime packages: anyio, pydantic-ai-slim, and pyyaml. Supports Python 3.10 through 3.13.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for commercial and proprietary projects.
Quickstart
from pydantic_ai_skills import SkillsCapability
agent = Agent(
model='gateway/openai:gpt-5.2',
instructions='You are a helpful research assistant.',
capabilities=[SkillsCapability(directories=['./skills'])]
)
result = await agent.run('What are the last 3 papers on arXiv about machine learning?')
Requires Python 3.10 or later and an agent instance with a configured model.
Verify before relying
- Performance characteristics when managing large skill libraries or deeply nested skill hierarchies.
- Whether script execution sandboxing or permission controls are implemented for security.
- Specific version compatibility requirements with pydantic-ai-slim beyond the dependency declaration.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — anyio, pydantic-ai-slim, pyyaml |
| Maintenance | actively maintained — 20 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,825,608/month — #2,488 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pydantic_ai_skills-1.3.0-py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
boost-skill-cliboost-skill-cli is a package manager for AI…
copyleft · top 15,000 on PyPI
skills-refValidates, parses, and generates…
permissive · top 15,000 on PyPI
pydantic-ai-harnessPydantic AI Harness provides pre-built…
permissive · top 5,000 on PyPI
scitex-devProvides unified developer tooling for the…
agpl · top 15,000 on PyPI
pydantic-ai-todoAdds task planning and tracking tools to…
permissive · top 15,000 on PyPI
pydantic-ai-slimPydantic AI Slim provides core agent framework…
permissive · top 1,000 on PyPI
skillsawA linter for AI agent instruction files that…
permissive · top 15,000 on PyPI
cisco-ai-skill-scannerScans AI Agent Skills for prompt injection,…
permissive · top 15,000 on PyPI
pydantic-aiPydantic AI is a Python framework for building…
permissive · top 5,000 on PyPI
subagents-pydantic-aiAdds multi-agent delegation to Pydantic AI…
permissive · top 15,000 on PyPI