Claude Skill
DougTrajano/pydantic-ai-skills
pydantic-ai-skills integrates Agent Skills into Pydantic AI with progressive disclosure, supporting filesystem and programmatic skill definitions for modular AI agents.
Overview
Repository
Install this Skill
pip install pydantic-ai-skillsRegistry
pip install pydantic-ai-skillspip install pydantic-ai-skills[test] # Includes pytest and coverage tools
Summary
pydantic-ai-skills integrates Agent Skills (agentskills.io) into Pydantic AI with progressive disclosure, supporting both filesystem and programmatic skill definitions for building modular AI agents.
该软件包实现了Agent Skills(https://agentskills.io)对Pydantic AI的渐进式披露支持,支持文件系统和程序化技能。
Key features
- Progressive disclosure of agent skills
- Filesystem-based skill definitions
- Programmatic skill definitions
- Seamless integration with Pydantic AI
- Compatible with Claude Code and agentic workflows
Use cases
- Building modular AI agents with reusable skills
- Managing skill libraries via filesystem or code
- Enhancing Pydantic AI agents with structured skill support
- Developing agentic AI applications with Claude Code
README excerpt
# pydantic-ai-skills A standardized, composable framework for building and managing Agent Skills within the Pydantic AI ecosystem. **Agent Skills** are modular collections of instructions, scripts, tools, and resources that enable AI agents to progressively discover, load, and execute specialized capabilities for domain-specific tasks. This package implements the [Agent Skills specification](https://agentskills.io/home) for Pydantic AI using a tool-calling approach, maintaining full compatibility with the specification while adapting the loading mechanism for Pydantic AI's architecture. Agent Skills is an open format maintained by Anthropic and open to contributions from the community. [](https://www.python.org/downloads/) [](https://opensource.org/licenses/MIT) [](https://sonarcloud.io/summary/new_code?id=DougTrajano_pydantic-ai-skills) ## Features - **Progressive Disclosure** - Load skill information only when needed, reducing token usage - **Agent Skills Spec** - Fully compatible with the [Agent Skills](https://agentskills.io/home) open format - **Filesystem Skills** - Define skills as filesystem directories with Markdown files and scripts - **Programmatic Skills** - Create skills dynamically in Python code using decorators or dataclasses - **Type-Safe** - Built with Python dataclasses and type hints - **Validation** - Automatic validation of skill metadata and structure - **Multiple Directories** - Load skills from multiple sources - **Security** - Path traversal prevention and safe script execution