pr-agent

pr-agent is a skill for Claude Code, Codex from OpenCoven/coven. It costs 42 tokens per session (501 once invoked), scanned A, original, MIT.

A checklist and template for preparing a pull request, which is a proposed code change submitted for review. It is designed for OpenCoven repositories and produces information a maintainer can use before merging.

In plain words
What is it for?
Use it to assemble or update a pull request’s review packet, record verification results and failures, describe compatibility and security risks, and document follow-up work.
Why use it?
It gathers the context, changed files, checks, risks, rollback plan, and handoff notes that reviewers otherwise have to reconstruct themselves. It does not merge the pull request.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/opencoven/coven/pr-agent
Any agent
npx skills add OpenCoven/coven --skill pr-agent
Clone the repo
git clone --depth 1 https://github.com/OpenCoven/coven

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 pr-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/opencoven/coven/pr-agent.svg)](https://agentmods.dev/skills/opencoven/coven/pr-agent)
Your own site
<a href="https://agentmods.dev/skills/opencoven/coven/pr-agent"><img src="https://agentmods.dev/badge/skills/opencoven/coven/pr-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 501 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00042 $0.00501
Opus 5 $0.00021 $0.00251
Sonnet 5 $0.00008 $0.00100
Haiku 4.5 $0.00004 $0.00050

Measured 4d ago against content hash d2a0b1065f1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pr-agent 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 4d 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.

skills/pr-agent/SKILL.md · 76 lines

How it starts

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

Coven PR Readiness Agent

This skill prepares OpenCoven pull requests for maintainer review. It does not own merge authority; it produces the readiness packet a maintainer or another agent can trust.

Readiness Packet

Build the PR around five concrete sections:

  • Context: user problem, linked issue, constraints, and prior decisions.
  • Implementation: files changed, behavioral surface, and compatibility notes.
  • Verification: commands run, manual checks, skipped checks, and exact failures.
  • Risk and Rollback: regression risk, data/security impact, and rollback path.
  • Agent Handoff: current state, follow-ups, and known gaps.

Context Bundle

Before drafting or updating a PR, gather:

  • git status --short
  • git diff --stat
  • Linked issue or product request
  • Changed docs, tests, scripts, and Rust crates
  • Any local proof output needed by the PR body

Do not create or update a PR until the context bundle is internally consistent and unrelated dirty work is identified.

Template Assembly

Use .github/pull_request_template.md as the output contract. Keep headings stable so automation and reviewers can scan the packet quickly.

The PR body must include:

  • Closes # when there is a linked issue
  • Summary and files changed
  • Implementation notes with user-visible behavior
  • Verification matrix with exact commands
  • Risk level and rollback plan
  • Agent handoff notes for remaining work

Verification Matrix

Default repository gates:

cargo fmt --check
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace --locked
python3 scripts/check-secrets.py

For docs-only or script-only changes, record the narrower focused checks and say why the full gate was not necessary.

Guardrails

  • Preserve unrelated dirty work.
  • Prefer the smallest complete PR.
  • Separate required fixes from optional follow-ups.
  • Call out skipped checks explicitly.
  • Do not create or update a PR until verification evidence is present or the gap is named.

Read the full file on GitHub · 76 lines

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. 4d ago First seen · 76 lines · 42 tokens per session scan A d2a0b1065f1c

Subscribe to this mod's changes

pr-agent is a skill published in the GitHub repository OpenCoven/coven (46 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 501 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-08-30.

Related

Other skills, from other repositories

create-pr

Creates GitHub pull requests with pre-flight validation, conventional title formatting, and structured summary generation. Runs parallel checks (tests, lint, type-check, security) before opening. Supports feature, bugfix, refactor, and hotfix PR types with milestone assignment via gh CLI. Invoke only if the operator…

yonatangross/orchestkit · 89 tokens

github-operations

GitHub CLI operations for issues, PRs, milestones, and Projects v2. Covers gh commands, REST API patterns, and automation scripts. Use when managing GitHub issues, PRs, milestones, or Projects with gh.

yonatangross/orchestkit · 50 tokens

pr-triage

PR triage: audit open PRs, deep review selected ones, draft and post review comments. Args: "all" to review all, PR numbers to focus (e.g. "42 57"), "en"/"fr" for language, no arg = audit only in French.

rtk-ai/rtk · 64 tokens

github

Prepare GitHub issues, pull requests, reviews, and release notes for Zhin projects. Use when asked to write an issue, PR description, changelog entry, or review comment. Triggers: 写 issue, PR 描述, 提 PR, release notes, gh pr.

zhinjs/zhin · 58 tokens

content-haro-reply

Write a HARO (Help A Reporter Out) or Qwoted/SourceBottle expert-source reply that gets quoted - not buried. Opens with a credentialed one-liner that answers "why this person, for this query," delivers the answer in 3-5 tight bullets with specifics and a contrarian take, and closes with a pull quote written to be…

FerroxLabs/wayland · 152 tokens

pr-comment

Answer a maintainer's question about an open PR with concrete, code-cited evidence. The PR-side counterpart to issue-comment — for questions tied to the diff, not a full review.

nearform/lastlight · 41 tokens