push-pr

push-pr is a skill for Claude Code from rjmurillo/ai-agents. It costs 55 tokens per session (5,712 once invoked), scanned A, original, Apache-2.0.

A Git workflow skill that commits changes, creates or switches branches, pushes them to a remote repository, and opens a pull request. A pull request is a request for teammates to review and merge a set of changes.

In plain words
What is it for?
Use it to turn the current working-tree changes into a conventional commit, push the branch, and complete the repository's pull-request template with change, test, and security details.
Why use it?
It removes the repetitive steps of preparing a branch and filling in a pull request from the current changes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the project-toolkit plugin — 86 skills shipped together

Good fit Use it to turn the current working-tree changes into a conventional commit, push the branch, and complete the repository's pull-request template with change, test, and security details.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add rjmurillo/ai-agents
Claude Code
/plugin install project-toolkit

Made for: Claude Code.

Or install project-toolkit, the plugin that ships this one along with the rest of its 86 skills.

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

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

agentmods 80×15 button for push-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/rjmurillo/ai-agents/push-pr"><img src="https://agentmods.dev/badge/skills/rjmurillo/ai-agents/push-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,712 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.00055 $0.05712
Opus 5.5 $0.00022 $0.02285
Sonnet 5.5 $0.00011 $0.01142
Haiku 4.5 $0.00006 $0.00571

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

Security

Grade A, and why

push-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 2d 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.

src/claude/skills/push-pr/SKILL.md · 347 lines

How it starts

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

Push PR

Commit, push, and open a pull request, on GitHub or Azure DevOps, whose body is adapted from the real diff rather than copied from the template. This skill is the only place a PR is created; /ship calls it and never creates a PR itself.

Migrated from .claude/commands/push-pr.md under ADR-064, which makes skills the single user-invocable surface. The scoped allowed-tools grant, the identity-hardened python3 -I form, and both vendor-portability declarations carry over unchanged: they are the security contract, not formatting.

Triggers

push and open a PR, open a pull request, push this branch, commit and push, open an Azure DevOps PR

Context

  • Current git status: !git status
  • Current git diff (staged and unstaged changes): !git diff HEAD
  • Current branch: !git branch --show-current

Host Detection

Run this before step 1. It sets host, which only step 7 branches on. Steps 1 to 6 run the same on both hosts.

remote_url="$(git remote get-url origin 2>/dev/null || true)"
if [ -z "$remote_url" ]; then
  echo "ERROR: origin remote is not configured; cannot detect VCS host." >&2
  exit 2
fi
case "$remote_url" in
  *dev.azure.com*|*visualstudio.com*) host=ado ;;
  *) host=github ;;
esac
redacted_remote_url="$(printf '%s' "$remote_url" | sed -E 's#(https://)[^/@]+@#\1[redacted]@#')"
echo "host=$host (origin: $redacted_remote_url)"

dev.azure.com or visualstudio.com anywhere in the URL means host=ado; everything else is host=github. This is the same rule /ship uses.

Commit Contract

Commit messages MUST follow <type>(<scope>): <desc> and include a Co-Authored-By: trailer when authored with an AI agent.

When the working tree is clean, /push-pr MUST NOT create a commit. It pushes HEAD as it stands. /ship relies on this: its owner-mode check requires the tree to be clean after /review, so the push carries the reviewed marker commit and nothing newer.

Folded rule: before you write, run, or quote a push lock or any command that serializes git push, read push-lock.

Read the full file on GitHub · 347 lines

Files

What ships with it

1 file 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. 2d ago Changed · -42 tokens per session b703d6c5a52b
  2. 5d ago Changed · -29 tokens per session d560f632658c
  3. 6d ago Changed · +5 lines d3fe542569dd
  4. 7d ago Changed · +128 lines · +45 tokens per session 1df5203b900c
  5. 8d ago Changed 166ac15224a0
  6. 17d ago Changed 9a0154336288
  7. 1mo ago Changed ec514d5a9f8b
  8. 1mo ago Changed 89655afef6fe
  9. 1mo ago Changed · +78 lines de42b7c97362
  10. 1mo ago First seen · 136 lines · 81 tokens per session scan A c2cf351e6e67

Subscribe to this mod's changes

push-pr is a skill published in the GitHub repository rjmurillo/ai-agents (50 stars, last pushed today), licensed Apache-2.0. It adds 55 tokens to every session and 5,712 once invoked, about $0.0002 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-09-05.

Related

push-pr compared with skills from other repositories

push-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
push-prrjmurillo/ai-agentsSkill50todayApache-2.0A55Claude Code
github-automationruvnet/rufloSkill83ktodayMITA61Claude Code
talyn-ship-prGilbert09/talynSkill30yesterdaynoneB78Claude Code, Codex
git-workflowjamestorrevillas/dev-skillsSkill48mo agoMITA78Claude Code, Codex
gstack-shipgarrytan/gstackSkill143ktodayMITA49Claude Code
github-pr-workflowpaperclipai/paperclipSkill119ktodayMITA39Claude Code, Codex
agent-github-modesruvnet/rufloSkill83ktodayMITA21Claude Code