pydantic-ai: Skill for Claude Code

.agents/skills/pushing-commits-to-the-repo/SKILL.md

pushing-commits-to-the-repo is a skill for Claude Code, Codex from pydantic/pydantic-ai. It costs 53 tokens per session (1,771 once invoked), scanned A, original, MIT.

A workflow for advancing a GitHub pull request from its first push through review, automated checks, and final resolution. Continuous integration, or CI, automatically runs tests and other checks.

In plain words
What is it for?
It prepares the pull request, reviews changes before pushes, monitors CI, and handles reviewer comments until the work is ready to close.
Why use it?
It treats pushing as an ongoing review loop, so changes are not considered finished while CI is failing or comments remain unresolved.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions subagents; installed under .agents/ (shared by several agents).

This is pydantic/pydantic-ai's own configuration. It tells Claude Code and Codex how to work on pydantic-ai itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pydantic-ai configures →

About the project

Pydantic AI is a typed Python SDK for building AI agents that can use different language models and interfaces, including voice, image generation, and embeddings. Developers use it for applications ranging from structured data extraction to long-running multi-agent work. The catalogue entries provide workflows and configuration for its coding-agent and harness features.

pydantic/pydantic-ai · 19,869 stars · on GitHub · pydantic.dev

Reuse

Borrowing it

Nothing to install: this file belongs to pydantic/pydantic-ai. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pydantic/pydantic-ai/main/.agents/skills/pushing-commits-to-the-repo/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pydantic/pydantic-ai

Made for: Claude Code, Codex.

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 pushing-commits-to-the-repo

README.md
[![agentmods](https://agentmods.dev/badge/skills/pydantic/pydantic-ai/pushing-commits-to-the-repo/github.svg)](https://agentmods.dev/skills/pydantic/pydantic-ai/pushing-commits-to-the-repo)
Your own site
<a href="https://agentmods.dev/skills/pydantic/pydantic-ai/pushing-commits-to-the-repo"><img src="https://agentmods.dev/badge/skills/pydantic/pydantic-ai/pushing-commits-to-the-repo/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.

agentmods 80×15 button for pushing-commits-to-the-repo

Your own site · 80×15
<a href="https://agentmods.dev/skills/pydantic/pydantic-ai/pushing-commits-to-the-repo"><img src="https://agentmods.dev/badge/skills/pydantic/pydantic-ai/pushing-commits-to-the-repo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,771 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original 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.00053 $0.01771
Opus 5 $0.00026 $0.00886
Sonnet 5 $0.00011 $0.00354
Haiku 4.5 $0.00005 $0.00177

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

Security

Grade A, and why

pushing-commits-to-the-repo 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 9d 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.

.agents/skills/pushing-commits-to-the-repo/SKILL.md · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.

pushing-commits-to-the-repo

Pushing starts a loop; it does not end the task. Work stops only when CI is green AND no comment is left unresolved.

When you open the PR

Write the title and body

Follow the title and template rules in the root AGENTS.md.

Keep visible body content within 40 lines. Exclude template lines and collapsed <details> contents from the count. For a feature or behavior change, use this order:

  1. Why we make these changes — State the problem and decision in a few sentences. Link the issue.
  2. New public surface — List each new maintained symbol. Write none when there is none.
  3. User-visible behavior — Show the smallest before-and-after example. Replace it with a call-path diff when the changed call chain explains the behavior; do not include both.
  4. Verification — Link the exact proving tests from the PR diff. Put a minimal runnable playground in <details> only when it helps reviewers reproduce the behavior.
  5. What changes for existing users — State the effect in one sentence. Nothing is valid.

Use one collapsed <details> section per goal only when the PR has multiple independent goals. For a trivial PR, use the issue link, a short summary, and the test plan.

User-visible call-path diff

Use one fenced diff tree from the public entry point to the changed observable result.

  • Format each node as path/file.py :: Class.method() or path/file.py :: function().
  • Indent each callee beneath its caller with └─. Preserve enough unchanged nodes to show each edge.
  • Collapse irrelevant intermediate calls as … unchanged machinery ….
  • Include arguments only when they explain the change.
  • Include results only on relevant leaves.
  • Keep the shared caller prefix unmarked. Mark only diverging nodes, relevant arguments, or results.
  • Target 12 content lines inside the fence. Never exceed 20; collapse secondary branches instead.

Apply a label — the repo triages and filters by them. Fetch the real list first with gh label list --limit 100, because the set changes and a guessed label silently fails to apply. Pick the one naming what the PR is (bug, feature, docs, chore, refactor) and add a topic label (anthropic, MCP, evals, …) where one fits: gh pr edit <number> --add-label <label>.

Read the full file on GitHub · 126 lines

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. 9d ago Changed · +5 lines b2998a76f53c
  2. 13d ago First seen · 121 lines · 53 tokens per session scan A 65536cd0d165

Subscribe to this mod's changes

pushing-commits-to-the-repo is a skill published in the GitHub repository pydantic/pydantic-ai (19,869 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 1,771 once invoked, about $0.0003 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-08-30.