{"slug": "official-skills-for-pydantic-validation-pydantic-ai-and-logfire", "title": "Official skills for Pydantic Validation, Pydantic AI, and Logfire", "summary": "The Pydantic team has released official skills for Pydantic Validation, Pydantic AI, and Logfire, available on Claude's plugin marketplace and across coding agents via the agentskills.io spec. The skills, maintained by the team to prevent obsolescence, cover data modeling, agent building, and instrumentation for Python, JavaScript/TypeScript, and Rust.", "body_md": "Pydantic Validation, Pydantic AI, and [Logfire](/logfire) now have official skills, built and maintained by the Pydantic team. Pydantic AI and Logfire are live on Claude's plugin marketplace ([Pydantic AI](https://claude.com/plugins/pydantic-ai), [Logfire](https://claude.com/plugins/logfire)), and all three work across every coding agent that follows the [agentskills.io](https://agentskills.io) spec through the [pydantic/skills](https://github.com/pydantic/skills) repository. In Python projects, the Pydantic AI and Logfire skills also ship with the packages themselves and can be installed via [library-skills.io](https://library-skills.io).\n\nWhy official skills\n\nSkills for Pydantic Validation, Pydantic AI, and Logfire already exist, thanks to the OSS community, and we're glad they do. The catch is that all three libraries move fast, and skills maintained outside the repo tend to fall behind. A stale skill is worse than no skill: the agent confidently calls APIs that don't exist anymore.\n\nWhat's in them\n\nThe Pydantic Validation skill covers data modeling with Pydantic: constraints and field metadata, validators, type coercion, unions, forward annotations, and model hierarchies.\n\nThe Pydantic AI skill covers the basics of building an agent: dependencies and output types, tools and run context, structured output, streaming, and stepping through the agent graph.\n\nThe Logfire skill covers instrumentation across Python, JavaScript/TypeScript, and Rust: spans and structured logging, framework and library integrations, metrics, and querying telemetry.\n\nInstall\n\nIn Claude Code, install from the official marketplace: [Pydantic AI](https://claude.com/plugins/pydantic-ai) and [Logfire](https://claude.com/plugins/logfire).\n\nFor Pydantic Validation, add the Pydantic marketplace and install the plugin:\n\n```\nclaude plugin marketplace add pydantic/skills\nclaude plugin install pydantic@pydantic-skills\n```\n\nIn Cursor, Codex, Gemini CLI, or any other agent, install the specific skill you need from the `pydantic/skills`\n\nrepository:\n\n```\nnpx skills add pydantic/skills --skill pydantic\nnpx skills add pydantic/skills --skill building-pydantic-ai-agents\nnpx skills add pydantic/skills --skill logfire-instrumentation\n```\n\nThe `logfire-instrumentation`\n\nskill supports Python, JavaScript/TypeScript, and Rust. It tells the agent to inspect `pyproject.toml`\n\nor `requirements.txt`\n\n, `package.json`\n\n, or `Cargo.toml`\n\n, then follow the matching SDK guidance.\n\nPython\n\nFor Python projects, you can instead pull the skills straight from your installed dependencies via [library-skills.io](https://library-skills.io):\n\n```\nuvx library-skills --all\n```\n\nThe `--all`\n\nflag scans transitive dependencies, which Pydantic AI needs because the skill ships in `pydantic-ai-slim`\n\n. For Logfire alone you can drop it (`uvx library-skills`\n\n).\n\nThe `library-skills`\n\nroute here is specific to the Python packages.\n\nJavaScript/TypeScript\n\nFor Logfire, use the `logfire-instrumentation`\n\n`skills`\n\nCLI command above.\n\nRust\n\nFor Logfire, use the same `logfire-instrumentation`\n\ncommand. The skill includes Rust-specific guidance for `Cargo.toml`\n\nprojects.\n\nIf something's wrong or missing, open an issue on [pydantic](https://github.com/pydantic/pydantic), [pydantic-ai](https://github.com/pydantic/pydantic-ai), or [logfire](https://github.com/pydantic/logfire). We'd rather hear it from you than guess.", "url": "https://wpnews.pro/news/official-skills-for-pydantic-validation-pydantic-ai-and-logfire", "canonical_source": "https://pydantic.dev/articles/pydantic-ai-logfire-claude-code-skills", "published_at": "2026-07-29 09:00:00+00:00", "updated_at": "2026-07-29 22:02:20.286781+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools", "artificial-intelligence"], "entities": ["Pydantic", "Pydantic AI", "Logfire", "Claude", "agentskills.io", "library-skills.io", "GitHub"], "alternates": {"html": "https://wpnews.pro/news/official-skills-for-pydantic-validation-pydantic-ai-and-logfire", "markdown": "https://wpnews.pro/news/official-skills-for-pydantic-validation-pydantic-ai-and-logfire.md", "text": "https://wpnews.pro/news/official-skills-for-pydantic-validation-pydantic-ai-and-logfire.txt", "jsonld": "https://wpnews.pro/news/official-skills-for-pydantic-validation-pydantic-ai-and-logfire.jsonld"}}