submit-pr

submit-pr is a skill for Claude Code, Codex from andrewvaughan/agent-council. It costs 50 tokens per session (1,935 once invoked), scanned A, original, MIT.

A workflow for creating a pull request, the request to merge a code branch into the main project branch. It prepares a description from commits, runs checks, and can monitor continuous-integration results.

In plain words
What is it for?
Use it when a feature branch is ready to merge. It checks branch state, prepares the pull request, handles CI fixes with approval, and stops after the checks pass.
Why use it?
It gives a feature branch a documented submission process and catches pre-merge problems. Production-impacting changes may receive an additional deployment review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it when a feature branch is ready to merge. It checks branch state, prepares the pull request, handles CI fixes with approval, and stops after the checks pass.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andrewvaughan/agent-council/submit-pr
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.

Any agent
npx skills add andrewvaughan/agent-council --skill submit-pr
Clone the repo
git clone --depth 1 https://github.com/andrewvaughan/agent-council

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/andrewvaughan/agent-council/submit-pr.svg)](https://agentmods.dev/skills/andrewvaughan/agent-council/submit-pr)
Your own site
<a href="https://agentmods.dev/skills/andrewvaughan/agent-council/submit-pr"><img src="https://agentmods.dev/badge/skills/andrewvaughan/agent-council/submit-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,935 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.00050 $0.01935
Opus 5 $0.00025 $0.00967
Sonnet 5 $0.00010 $0.00387
Haiku 4.5 $0.00005 $0.00194

Measured 8d ago against content hash 704dc957dade, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

submit-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 8d 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.

canonical/skills/submit-pr/SKILL.md · 216 lines

How it starts

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

Submit Pull Request Workflow

Create a well-documented pull request for the current feature branch, following the project's trunk-based development workflow and PR template.

[!CAUTION] Scope boundary: This skill pushes code, creates pull requests, monitors CI, and commits CI fixes (with user approval). It does NOT implement new features or run formal code reviews. When the PR is created and CI passes, stop — the workflow is complete.

[!WARNING] Checkpoint protocol. When this workflow reaches a ### CHECKPOINT, you must actively prompt the user for a decision — do not simply present information and continue. Use your agent's interactive prompting mechanism (e.g., AskUserQuestion in Claude Code) to require an explicit response before proceeding. This prevents queued or in-flight messages from being misinterpreted as approval. If your agent lacks interactive prompting, output the checkpoint content and stop all work until the user explicitly responds.

Step 1: Pre-Submission Checks

Verify the branch is ready for a pull request:

  1. Confirm we are on a feature branch (not main). If on main, stop and ask the user to create a feature branch first.

  2. Sync with main:

    git fetch origin
    git rebase origin/main
    

    If there are conflicts, stop and help the user resolve them before proceeding.

  3. Run your project's quality checks:

    # Adapt to your project's toolchain
    type-check      # TypeScript tsc, mypy, etc.
    lint            # ESLint, Ruff, golangci-lint, etc.
    format:check    # Prettier, Black, gofmt, etc.
    test            # Vitest, Jest, pytest, etc.
    build           # If a build step exists
    

    If formatting checks fail, auto-fix by running the formatter on the reported files and stage the changes.

  4. Perform a final security scan on changed files:

    • Are there hardcoded secrets, API keys, or credentials in the diff?
    • Are all user inputs validated and sanitized?
    • Are authentication and authorization checks present on new endpoints?
    • Are error responses safe? (no internal details leaked)
    • Are dependencies free of known CVEs?

Read the full file on GitHub · 216 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. 8d ago First seen · 216 lines · 50 tokens per session scan A 704dc957dade

Subscribe to this mod's changes

submit-pr is a skill published in the GitHub repository andrewvaughan/agent-council (13 stars, last pushed 6mo ago), licensed MIT. It adds 50 tokens to every session and 1,935 once invoked, about $0.0003 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.