make-pr

make-pr is a command for Codex from sergeyklay/.agents. It costs 10 tokens per session (471 once invoked), scanned A, original, Apache-2.0.

A command for committing staged Git changes and creating or updating a pull request, which is a request to review proposed repository changes. It uses the Git Commit and Create PR workflows.

In plain words
What is it for?
Preparing commits, creating or updating pull requests, applying repository templates, and writing meaningful titles and descriptions.
Why use it?
It helps keep commits focused, stages only relevant files, and keeps the pull-request description aligned with the actual changes.

Command for Codex

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 commands/sergeyklay/.agents/make-pr
Clone the repo
git clone --depth 1 https://github.com/sergeyklay/.agents

Made for: 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 make-pr

README.md
[![agentmods](https://agentmods.dev/badge/commands/sergeyklay/.agents/make-pr.svg)](https://agentmods.dev/commands/sergeyklay/.agents/make-pr)
Your own site
<a href="https://agentmods.dev/commands/sergeyklay/.agents/make-pr"><img src="https://agentmods.dev/badge/commands/sergeyklay/.agents/make-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 471 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.00010 $0.00471
Opus 5 $0.00005 $0.00235
Sonnet 5 $0.00002 $0.00094
Haiku 4.5 $0.00001 $0.00047

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

Security

Grade A, and why

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

.agents/commands/make-pr.md · 49 lines

How it starts

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

Your task is to commit staged changes and manage pull requests (PR).

Task

  • Use git-commit Agent Skill to create commits, create a branch, and create-pr Agent Skill to open/change a PR with a meaningful title and description
  • Incorporate provided details or context about the changes
  • Detect whether you need to create a new PR or update an existing one based on context
  • Stage only relevant files - never git add -A without reviewing what would be included
  • When updating, verify the PR description still accurately reflects the changes
  • Use Conventional Commits messages when appropriate

Template Enforcement

MANDATORY: Before creating any PR:

  1. Check for the PR template: Use PR template provided by the create-pr Agent Skill. You MUST follow it.
  2. Read the template completely: Read the entire template file to understand its structure
  3. Follow the template exactly: Structure the PR body to match the template's sections verbatim
    • Use the template headings as-is (including emojis if present)
    • Fill in each section following the guidance provided
    • Do not skip sections or reorder them
  4. DO NOT invent a custom format: Deviation from it is a failure

Process:

  • Load create-pr Agent Skill
  • Read regarding PR template
  • Read template described in Agent Skill
  • Map changes to template sections
  • Create PR body matching template structure
  • Verify sections match before creating/updating PR

PR Description Content Rules

  • DO NOT reference TODO.md, .specs/*.md or .plans/*.md in the PR description. Those belong in specs and plans, not in the git history.
  • DO NOT add an "Implementation Details" or "References" section beyond what the template defines.
  • ONLY fill in the sections defined by the PR template - nothing more.

Constraints

  • Never force-push without explicit user confirmation.
  • Never push directly to main - always use a feature branch.
  • Never skip pre-commit hooks (--no-verify).
  • If a hook fails, fix the underlying issue and create a new commit.

Read the full file on GitHub · 49 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. 4d ago First seen · 49 lines · 10 tokens per session scan A 9dd03b18c1a7

Subscribe to this mod's changes

make-pr is a command published in the GitHub repository sergeyklay/.agents (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 10 tokens to every session and 471 once invoked, about $0.0001 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.