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.
curl -O https://raw.githubusercontent.com/pydantic/pydantic-ai-harness/main/.agents/skills/adopt-pr/SKILL.mdgit clone --depth 1 https://github.com/pydantic/pydantic-ai-harnessWrote 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/pydantic/pydantic-ai-harness/adopt-pr)<a href="https://agentmods.dev/skills/pydantic/pydantic-ai-harness/adopt-pr"><img src="https://agentmods.dev/badge/skills/pydantic/pydantic-ai-harness/adopt-pr/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/pydantic/pydantic-ai-harness/adopt-pr"><img src="https://agentmods.dev/badge/skills/pydantic/pydantic-ai-harness/adopt-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00066 | $0.01775 |
| Opus 5 | $0.00033 | $0.00888 |
| Sonnet 5 | $0.00013 | $0.00355 |
| Haiku 4.5 | $0.00007 | $0.00178 |
Grade A, and why
adopt-pr 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.
How it starts
The opening of the file, as written. The whole thing — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Adopt PR -- bootstrap branch-context on an existing PR
Populate issue-brief.md and pr-decisions.md for a worktree whose PR already
exists and has history.
When to use
- You checked out an existing PR and the branch-context files are empty templates (or absent).
- You are picking up someone else's PR.
- Your own PR predates the branch-context setup and you want to backfill.
Do not use this for fresh work with no PR yet -- write the brief from the linked issue directly.
Startup
Bootstrapping presumes the linked issue describes a real problem. If you have not confirmed that, skim the issue before adopting -- authorship (a bot, contributor, or automated sweep) is not proof the problem is real.
- Read
CLAUDE.mdfor project context. - Instantiate the branch-context instances if they do not exist:
Ifcd "$(git rev-parse --show-toplevel)" D=.claude/skills/branch-context [ -f "$D/issue-brief.md" ] || cp "$D/issue-brief.template.md" "$D/issue-brief.md" [ -f "$D/pr-decisions.md" ] || cp "$D/pr-decisions.template.md" "$D/pr-decisions.md"issue-brief.mdalready has populatedissues:frontmatter, ask viaAskUserQuestionwhether to overwrite the brief, re-seed decisions, both, or neither, before proceeding.
Step 1 -- Resolve the PR
Parse $ARGUMENTS:
- PR number/URL -> use it directly.
- Empty -> detect from the current branch:
If detection fails, ask viaPR_NUMBER=$(gh pr view --json number -q .number 2>/dev/null)AskUserQuestion.
Fetch PR metadata:
gh pr view "$PR_NUMBER" --json number,title,url,state,headRefName,body,closingIssuesReferences,createdAt,author
Step 2 -- Resolve linked issues
Two sources, in order:
closingIssuesReferencesfrom the PR metadata (canonical -- set via the PR sidebar orFixes #Nkeywords).- Fallback: grep the PR body for
(?:Fixes|Closes|Resolves|Relates to) #\d+if (1) is empty.
For each linked issue:
gh issue view "<N>" --json number,url,title,state,body,labels,comments
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.
- 13d ago First seen · 179 lines · 66 tokens per session scan A e708373b60da
adopt-pr is a skill published in the GitHub repository pydantic/pydantic-ai-harness (880 stars, last pushed today), licensed MIT. It adds 66 tokens to every session and 1,775 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.
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.
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.
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…
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…
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…
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.