by DougTrajano
This package implements Agent Skills (https://agentskills.io) support with progressive disclosure for Pydantic AI. Supports filesystem and programmatic skills.
# Add to your Claude Code skills
git clone https://github.com/DougTrajano/pydantic-ai-skillsA 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 for Pydantic AI using a tool-calling approach, maintaining full compatibility with the specification while adapting the loading mechanism for Pydantic AI's architecture. It is also compatible with Anthropic's Agent Skills framework.
No comments yet. Be the first to share your thoughts!
Full documentation available at: https://dougtrajano.github.io/pydantic-ai-skills
pip install pydantic-ai-skills
For development:
pip install pydantic-ai-skills[test] # Includes pytest and coverage tools
Learn how to use pydantic-ai-skills through these video tutorials:
Get started with your first skill and agent:
Master advanced integration patterns:
Create dynamic skills with Python:
from pydantic_ai import Agent, RunContext
from pydantic_ai_skills import SkillsToolset
# Initialize Skills Toolset with one or more skill directories
skills_toolset = SkillsToolset(directories=["./skills"])
# Create agent with skills as a toolset
agent = Agent(
model='openai:gpt-4o',
instructions='You are a helpful research assistant.',
toolsets=[skills_to...