pydantic

pydantic is a skill for Claude Code from bobmatnyc/claude-mpm. It costs 38 tokens per session (8,273 once invoked), scanned A, original, no licence file.

A Python library that checks and converts incoming data using Python type hints. It is commonly used for API data, application settings, and frameworks such as FastAPI and Django.

In plain words
What is it for?
Validating API requests and responses, checking configuration values, and defining structured Python data.
Why use it?
It catches invalid or incorrectly shaped data at runtime, before that data causes harder-to-find errors elsewhere.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-mpm plugin — 56 skills, 2 commands shipped together

Good fit Validating API requests and responses, checking configuration values, and defining structured Python data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bobmatnyc/claude-mpm/toolchains-python-validation-pydantic
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bobmatnyc/claude-mpm --skill toolchains-python-validation-pydantic
Clone the repo
git clone --depth 1 https://github.com/bobmatnyc/claude-mpm

Made for: Claude Code.

Or install claude-mpm, the plugin that ships this one along with the rest of its 56 skills, 2 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pydantic

README.md
[![agentmods](https://agentmods.dev/badge/skills/bobmatnyc/claude-mpm/toolchains-python-validation-pydantic.svg)](https://agentmods.dev/skills/bobmatnyc/claude-mpm/toolchains-python-validation-pydantic)
Your own site
<a href="https://agentmods.dev/skills/bobmatnyc/claude-mpm/toolchains-python-validation-pydantic"><img src="https://agentmods.dev/badge/skills/bobmatnyc/claude-mpm/toolchains-python-validation-pydantic.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,273 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.08273
Opus 5 $0.00019 $0.04137
Sonnet 5 $0.00008 $0.01655
Haiku 4.5 $0.00004 $0.00827

Measured 3d ago against content hash c8dac5eeee0c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

pydantic scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/skills/toolchains-python-validation-pydantic/SKILL.md · 1,437 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 1,437 lines · 38 tokens per session scan A c8dac5eeee0c

Subscribe to this mod's changes

pydantic is a skill published in the GitHub repository bobmatnyc/claude-mpm (150 stars, last pushed 6d ago), with no licence file. It adds 38 tokens to every session and 8,273 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

dev-team-python

Coordinates Python development (Django, Flask, FastAPI) with a team of specialized agents and inline quality gates. Use for multi-step Python tasks that need decomposition and multi-agent coordination.

biggora/dev-team · 41 tokens

django-expert

Expert Django backend development guidance. Use when creating Django models, views, serializers, or APIs; debugging ORM queries or migrations; optimizing database performance; implementing authentication; writing tests; or working with Django REST Framework. Follows Django best practices and modern patterns.

biggora/dev-team · 55 tokens

python-package-management

Guide for managing packages in the Agent Framework Python monorepo, including creating new connector packages, versioning, and the lazy-loading pattern. Use this when adding, modifying, or releasing packages.

microsoft/agent-framework · 43 tokens

python-feature-lifecycle

Guidance for package and feature lifecycle in the Agent Framework Python codebase, including stage meanings, feature-stage decorators, feature enums, and how to move APIs from one stage to the next.

microsoft/agent-framework · 43 tokens

python-testing

Guidelines for writing and running tests in the Agent Framework Python codebase. Use this when creating, modifying, or running tests.

microsoft/agent-framework · 29 tokens

python-code-quality

Code quality checks, linting, formatting, and type checking commands for the Agent Framework Python codebase. Use this when running checks, fixing lint errors, or troubleshooting CI failures.

microsoft/agent-framework · 40 tokens