pydantic-ai-harness: 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-harness. It costs 68 tokens per session (550 once invoked), scanned A, original, MIT.

A workflow for handling a code change after opening or updating a pull request, a proposed change for review. It covers labels, pushing, automated checks, and review comments.

In plain words
What is it for?
Use it when opening a pull request or pushing commits, to label the request, monitor CI checks, diagnose failures, and respond to every review comment.
Why use it?
It prevents a change from being left half-finished after it is pushed. The workflow keeps track of failed checks and unresolved reviewer feedback until they reach a clear state.

Skill for Claude CodeCodex

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

This is pydantic/pydantic-ai-harness's own configuration. It tells Claude Code and Codex how to work on pydantic-ai-harness 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-harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pydantic/pydantic-ai-harness. 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-harness/main/.agents/skills/pushing-commits-to-the-repo/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pydantic/pydantic-ai-harness

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-harness/pushing-commits-to-the-repo/github.svg)](https://agentmods.dev/skills/pydantic/pydantic-ai-harness/pushing-commits-to-the-repo)
Your own site
<a href="https://agentmods.dev/skills/pydantic/pydantic-ai-harness/pushing-commits-to-the-repo"><img src="https://agentmods.dev/badge/skills/pydantic/pydantic-ai-harness/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-harness/pushing-commits-to-the-repo"><img src="https://agentmods.dev/badge/skills/pydantic/pydantic-ai-harness/pushing-commits-to-the-repo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 550 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.00068 $0.00550
Opus 5 $0.00034 $0.00275
Sonnet 5 $0.00014 $0.00110
Haiku 4.5 $0.00007 $0.00055

Measured 13d ago against content hash 2e89d5703398, 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 13d 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 · 41 lines

What it actually says

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

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, enhancement, documentation) and add a topic label where one fits (capability, primitive, agent-feature, core-change, code-mode, media, externalization, ...): gh pr edit <number> --add-label <label>.

Labelling needs triage permission on the repo. If it fails, quote the actual error rather than concluding you lack permission.

Before you push

  • Attempt the push. If it fails, read the real error — do not preemptively decide you lack permission from a flag or setting.
  • Leave nothing unstaged or uncommitted locally, unless the user's instructions override this.

After you push — the loop

  1. Watch CI to a terminal state. Don't idle. If it fails, diagnose: fix if the failure is yours; if it's a known flake or pre-existing on main, say so with evidence.
  2. Triage every comment (bots and humans alike). For each one:
    • Valid → fix it, then reply saying what changed, and react 👍.
    • Invalid → reply explaining concretely why (with code evidence), and react 👎.
    • Never silently ignore a comment, and never resolve a thread without a reply.
  3. Escalate real trade-offs, don't guess. If a comment needs a maintainer decision (a design choice, an API trade-off, a behavioral default), leave a comment containing: the background, your reasoning, the decision that needs making, the trade-offs (pros/cons of each option), and your recommendation. Then poll every 30 minutes for a reply and continue when it lands.
  4. Repeat until CI is green and no comment is outstanding.
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. 13d ago First seen · 41 lines · 68 tokens per session scan A 2e89d5703398

Subscribe to this mod's changes

pushing-commits-to-the-repo is a skill published in the GitHub repository pydantic/pydantic-ai-harness (885 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 550 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.

Related

Other skills, from other repositories

review-implement-phase

Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.

prisma/orm · 38 tokens

engram-branch-pr

PR creation workflow for Engram following the issue-first enforcement system. Trigger: When creating a pull request, opening a PR, or preparing changes for review.

Gentleman-Programming/engram · 37 tokens

verify-behavior

Verify or reproduce visible product behavior by driving the real UI with pi-computer-use's checked tools, requiring verified expect postconditions and durable state evidence for meaningful UI flows. Use when triage needs visual reproduction, implementation needs behavioral proof, review needs interactive confirmation…

nicknisi/dotfiles · 68 tokens

github-contributor

End-to-end playbook for shipping high-quality pull requests to open-source projects you don't maintain — discovery, CONTRIBUTING compliance, PR-size check, minimal-diff implementation, PR description with AI-assisted disclosure, conflict resolution, and post-submission maintainer interaction. Use whenever creating…

daymade/claude-code-skills · 133 tokens

revdiff

Review diffs, files, and documents with inline annotations in a TUI overlay, or answer questions about revdiff usage, configuration, themes, and keybindings. Opens revdiff in agterm/tmux/zellij/herdr/kitty/wezterm/cmux/ghostty/iterm2/emacs-vterm, captures annotations, and addresses them. Works in git, hg, and jj repos…

umputun/revdiff · 248 tokens

oss-maintainer

Run an open-source project's issue/PR/release loop like a careful human maintainer — triage to root cause, absorb community PRs before duplicating them, gate every merge, ship honest releases, and thank the people doing your QA for free.

debpalash/VoiceStudio · 55 tokens