pr

pr is a skill for Claude Code, Codex from ra3orblade/swarm. It costs 45 tokens per session (361 once invoked), scanned A, original, Apache-2.0.

A pull-request workflow for getting finished code from the current worktree into a reviewable branch. A worktree is a local checkout of a Git branch, and a pull request lets others review changes before merging them.

In plain words
What is it for?
Use it to verify the work, create a feature branch when needed, make a focused commit, push it, and open a pull request without merging it.
Why use it?
It provides a repeatable final check for tests, branch setup, commit scope, pushing, and writing the request from the actual diff.

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/ra3orblade/swarm/pr
Any agent
npx skills add ra3orblade/swarm --skill pr
Clone the repo
git clone --depth 1 https://github.com/ra3orblade/swarm

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ra3orblade/swarm/pr.svg)](https://agentmods.dev/skills/ra3orblade/swarm/pr)
Your own site
<a href="https://agentmods.dev/skills/ra3orblade/swarm/pr"><img src="https://agentmods.dev/badge/skills/ra3orblade/swarm/pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 361 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.00045 $0.00361
Opus 5 $0.00023 $0.00180
Sonnet 5 $0.00009 $0.00072
Haiku 4.5 $0.00005 $0.00036

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

Security

Grade A, and why

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

.claude/skills/pr/SKILL.md · 26 lines

What it actually says

PR

Get finished, verified work onto a branch and into a PR. This is the last mile — if the work is a plan task, run /chores first (it calls this).

Steps

  1. Confirm green (quick if /chores just ran): bun run typecheck && bun run test.
  2. Branch — if on main/detached, create feat/<short-slug> first. Feature work never commits to main directly.
  3. Commit scopedgit add <explicit paths> (never -A in a shared checkout), one focused commit. Message: what changed + how verified; end with:
    Co-Authored-By: Claude <[email protected]>
    
  4. Pushgit push -u origin <branch> (add --force-with-lease only after a rebase).
  5. Open the PR from the real diff:
    gh pr create --title "<concise>" --body "<what/why + verification + test count>"
    
    Body: a sentence on what it does, the key implementation notes, and the verification line (typecheck · lint · test (N pass) · smoke · docs). Keep one PR to a coherent batch of related tasks.
  6. Print the PR URL.

Do not merge. Rate discipline: few, substantial PRs; push rarely and deliberately.

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 · 26 lines · 45 tokens per session scan A 6aa82b43ccbf

Subscribe to this mod's changes

pr is a skill published in the GitHub repository ra3orblade/swarm (5 stars, last pushed 5d ago), licensed Apache-2.0. It adds 45 tokens to every session and 361 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-31.

Related

Other skills, from other repositories

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

fazxes/Claude-code · 63 tokens

math-olympiad

Solve competition math problems (IMO, Putnam, USAMO, AIME) with adversarial verification that catches the errors self-verification misses. Activates when asked to 'solve this IMO problem', 'prove this olympiad inequality', 'verify this competition proof', 'find a counterexample', 'is this proof correct', or for any…

fazxes/Claude-code · 163 tokens

command-development

This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash…

fazxes/Claude-code · 99 tokens

skill-development

This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.

fazxes/Claude-code · 63 tokens

build-mcp-app

This skill should be used when the user wants to build an "MCP app", add "interactive UI" or "widgets" to an MCP server, "render components in chat", build "MCP UI resources", make a tool that shows a "form", "picker", "dashboard" or "confirmation dialog" inline in the conversation, or mentions "apps SDK" in the…

fazxes/Claude-code · 111 tokens

hook-development

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDEPLUGINROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop…

fazxes/Claude-code · 117 tokens