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.
npx skills add Fuenfgeld/pydantic-ai-skills --skill pydantic-evalsgit clone --depth 1 https://github.com/Fuenfgeld/pydantic-ai-skillsWrote 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.
[](https://agentmods.dev/skills/fuenfgeld/pydantic-ai-skills/pydantic-evals)<a href="https://agentmods.dev/skills/fuenfgeld/pydantic-ai-skills/pydantic-evals"><img src="https://agentmods.dev/badge/skills/fuenfgeld/pydantic-ai-skills/pydantic-evals/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/fuenfgeld/pydantic-ai-skills/pydantic-evals"><img src="https://agentmods.dev/badge/skills/fuenfgeld/pydantic-ai-skills/pydantic-evals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00130 | $0.02800 |
| Opus 5.5 | $0.00052 | $0.01120 |
| Sonnet 5.5 | $0.00026 | $0.00560 |
| Haiku 4.5 | $0.00013 | $0.00280 |
Grade A, and why
pydantic-evals 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 379 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pydantic Evals
Overview
Pydantic Evals provides rigorous testing and evaluation for AI agents and LLM outputs using a code-first approach with Pydantic models. It enables "Evaluation-Driven Development" (EDD) where evaluation suites live alongside application code, subject to version control and CI/CD.
Core Concepts
Understand these key primitives:
Case
A single test scenario with inputs, optional expected output, and metadata.
from pydantic_evals import Case
case = Case(
name="refund_request",
inputs="What is your refund policy?",
expected_output="30 days full refund",
metadata={"category": "policy"}
)
Dataset
Collection of Cases with default evaluators. Generic over input/output types.
from pydantic_evals import Dataset
dataset = Dataset(
name="my_eval_suite", # v2: name is REQUIRED (keyword-only)
cases=[case1, case2, case3],
evaluators=[evaluator1, evaluator2]
)
Evaluator
Logic engine that assesses outputs. Returns bool (Pass/Fail), float/int (score), or str (label).
Experiment
Point-in-time performance capture when Dataset runs against a Task.
For detailed explanations, see references/core-concepts.md
Quick Start
Create and run a simple evaluation:
from pydantic_evals import Case, Dataset
from pydantic_evals.evaluators import Contains, LLMJudge
# Define cases
cases = [
Case(
name="greeting",
inputs="Hello, who are you?",
expected_output="I am an AI assistant."
)
]
# Define evaluators
evaluators = [
Contains(value="AI assistant"),
LLMJudge(rubric="Is this response polite? Answer PASS or FAIL.")
]
# Create dataset
dataset = Dataset(name="quickstart", cases=cases, evaluators=evaluators)
# Run evaluation
async def my_agent(query: str) -> str:
# Your agent logic here
return "I am an AI assistant."
report = dataset.evaluate_sync(my_agent)
report.print()
Evaluator Types
What ships with it
10 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.
- references/core-concepts.md 5.4 KB
- references/evaluator-types.md 12 KB
- references/examples/add_custom_evaluators.py 1.2 KB runs code
- references/examples/agent.py 2.0 KB runs code
- references/examples/compare_models.py 1.0 KB runs code
- references/examples/custom_evaluators.py 3.2 KB runs code
- references/examples/generate_dataset.py 2.6 KB runs code
- references/examples/models.py 1.7 KB runs code
- references/examples/unit_testing.py 2.2 KB runs code
- references/integration.md 9.1 KB
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.
- 1mo ago First seen · 379 lines · 130 tokens per session scan A b72764f7fbf7
pydantic-evals is a skill published in the GitHub repository Fuenfgeld/pydantic-ai-skills (10 stars, last pushed 10d ago), licensed MIT. It adds 130 tokens to every session and 2,800 once invoked, about $0.0005 per session on Opus 5.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-08-31.
Other skills, from other repositories
building-pydantic-ai-agents
Build AI agents with Pydantic AI — tools, capabilities (including on-demand loading), workspaces, structured output, streaming, testing, and multi-agent patterns. Use when the user mentions Pydantic AI, imports pydanticai, or asks to build an AI agent, add tools/capabilities, attach a workspace, defer capability…
verification-strategy
Thorough verification of completed work before declaring done.
test-generator
Generate pytest test cases for Python functions and classes.
test-writer
Generate comprehensive test suites for existing code.
test-agent
Systematisches Testen von BACH und anderen LLM-OS-Systemen. Orchestrator fuer Test- und Vergleichs-Workflows.
mcp-tool-developer
Build Model Context Protocol (MCP) servers and tools from scratch. Full-stack MCP development with TypeScript/Python, testing, deployment, and registry publishing.