pr-workflow

pr-workflow is a skill for Claude Code, Codex from dimetron/pi-go. It costs 65 tokens per session (2,214 once invoked), scanned A, original, MIT.

A procedure for creating, reviewing, and merging a GitHub pull request. A pull request is a proposed set of code changes that teammates review before it is added to the main project.

In plain words
What is it for?
It helps create pull requests, run a Codex review and post it as a formal GitHub review, resolve review threads, run govulncheck, and follow the required merge method.
Why use it?
It makes sure pending work is committed and pushed, the pull request is opened for review, dependency vulnerabilities are checked, and review comments are handled before merging.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Claude Code; runs codex exec.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is make vulncheck # govulncheck -format json ./... | go run ./hack/vulngate.

Good fit It helps create pull requests, run a Codex review and post it as a formal GitHub review, resolve review threads, run govulncheck, and follow the required merge method.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/dimetron/pi-go
agentmods
npx agentmods add skills/dimetron/pi-go/pr-workflow

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-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/dimetron/pi-go/pr-workflow/github.svg)](https://agentmods.dev/skills/dimetron/pi-go/pr-workflow)
Your own site
<a href="https://agentmods.dev/skills/dimetron/pi-go/pr-workflow"><img src="https://agentmods.dev/badge/skills/dimetron/pi-go/pr-workflow/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 pr-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/dimetron/pi-go/pr-workflow"><img src="https://agentmods.dev/badge/skills/dimetron/pi-go/pr-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,214 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.
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.00065 $0.02214
Opus 5.5 $0.00026 $0.00886
Sonnet 5.5 $0.00013 $0.00443
Haiku 4.5 $0.00006 $0.00221

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

Security

Grade A, and why

pr-workflow 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 12d 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.

.pi-go/skills/pr-workflow/SKILL.md · 177 lines

How it starts

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

Pull request workflow

The always-on rules are in the root AGENTS.md. This is the full procedure, in the order the steps run: create the PR, review it on GitHub, scan dependencies, merge.

Creating a pull request

When the user asks to create a PR, open the browser link to the PR after it is created, and include all pending changes in the PR.

# Push the branch and create the PR with all pending (uncommitted) changes.
# Stage everything, commit, push, then open the PR in the browser.
git add -A
git commit -s -S -m "..."        # sign off and sign, per the rules above
git push -u origin <branch>
gh pr create --fill --web        # --web opens the PR page in the browser
  • All pending changes: stage and commit everything outstanding on the branch before creating the PR — do not leave uncommitted work behind.
  • Open the browser link: after the PR is created, open the PR URL in the browser so the user can review it immediately. gh pr create --web does this automatically; if you create the PR without --web, open the returned URL yourself.

Review with Codex: open the PR first, review on GitHub

The PR is the review track. Open it first, then have Codex post its review directly to the PR as a formal GitHub review, then resolve findings in-thread. This keeps every finding, fix, and resolution permanently linked in one place — a local terminal dump of findings is lost context; PR comments are not.

The flow:

  1. Finish the branch and open the PR (rules below). All gates — build, tests, lint, vet — still run before pushing; opening early does not skip them.
  2. Have Codex review and post to the PR itself. In the environment tested on PR #237, the codex-review subagent and restricted sandbox modes could not reach api.github.com ("credential rejected", browser fallback denied). Run this from a clean, dedicated PR worktree because the required danger-full-access mode removes the filesystem boundary as well as the network restriction:

Read the full file on GitHub · 177 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. 12d ago First seen · 177 lines · 65 tokens per session scan A f34a8e2c4fc5

Subscribe to this mod's changes

pr-workflow is a skill published in the GitHub repository dimetron/pi-go (232 stars, last pushed 6d ago), licensed MIT. It adds 65 tokens to every session and 2,214 once invoked, about $0.0003 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-11-18.

Related

pr-workflow compared with skills from other repositories

pr-workflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-workflowdimetron/pi-goSkill2326d agoMITA65Claude Code, Codex
autofix-prQwenLM/qwen-codeSkill31ktodayApache-2.0A142Claude Code
writing-git-commitspatriceckhart/zotSkill372todayMITA14Claude Code, Codex
babysit-propeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A114Codex
gh-find-prsHmbown/CodeWhaleSkill41kyesterdayMITA27Claude Code, Codex
triageQwenLM/qwen-codeSkill31ktodayApache-2.0B50Claude Code
cw-landHmbown/CodewhaleSkill41k1mo agoMITA44Claude Code, Codex