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.
git clone --depth 1 https://github.com/dimetron/pi-gonpx agentmods add skills/dimetron/pi-go/pr-workflowWrote 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/dimetron/pi-go/pr-workflow)<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.
<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>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.00065 | $0.02214 |
| Opus 5.5 | $0.00026 | $0.00886 |
| Sonnet 5.5 | $0.00013 | $0.00443 |
| Haiku 4.5 | $0.00006 | $0.00221 |
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.
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 --webdoes 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:
- 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.
- Have Codex review and post to the PR itself. In the environment tested on
PR #237, the
codex-reviewsubagent and restricted sandbox modes could not reachapi.github.com("credential rejected", browser fallback denied). Run this from a clean, dedicated PR worktree because the requireddanger-full-accessmode removes the filesystem boundary as well as the network restriction:
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.
- 12d ago First seen · 177 lines · 65 tokens per session scan A f34a8e2c4fc5
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.
pr-workflow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pr-workflowdimetron/pi-go | Skill | 232 | 6d ago | MIT | A | 65 | Claude Code, Codex |
| autofix-prQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 142 | Claude Code |
| writing-git-commitspatriceckhart/zot | Skill | 372 | today | MIT | A | 14 | Claude Code, Codex |
| babysit-propeninterpreter/openinterpreter | Skill | 69k | yesterday | Apache-2.0 | A | 114 | Codex |
| gh-find-prsHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 27 | Claude Code, Codex |
| triageQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | B | 50 | Claude Code |
| cw-landHmbown/Codewhale | Skill | 41k | 1mo ago | MIT | A | 44 | Claude Code, Codex |