commit-pr

commit-pr is a skill for Codex from ZaxbyHub/opencode-swarm. It costs 100 tokens per session (1,513 once invoked), scanned A, original, MIT.

A publication guide for turning completed coding work into commits, GitHub pushes, pull requests, release notes, and CI follow-up. A pull request is a proposed code change submitted for review before merging.

In plain words
What is it for?
Use it before committing, pushing, creating or updating a draft pull request, marking one ready, or completing release and CI tasks.
Why use it?
It helps follow the repository's required publishing process and prevents problems such as opening duplicate pull requests or including unrelated files.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: reads .claude/ paths; installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it before committing, pushing, creating or updating a draft pull request, marking one ready, or completing release and CI tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zaxbyhub/opencode-swarm/commit-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 ZaxbyHub/opencode-swarm --skill commit-pr
Clone the repo
git clone --depth 1 https://github.com/ZaxbyHub/opencode-swarm

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/zaxbyhub/opencode-swarm/commit-pr"><img src="https://agentmods.dev/badge/skills/zaxbyhub/opencode-swarm/commit-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,513 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 9
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 18
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 26
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00100 $0.01513
Opus 5.5 $0.00040 $0.00605
Sonnet 5.5 $0.00020 $0.00303
Haiku 4.5 $0.00010 $0.00151

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

Security

Grade A, and why

commit-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/skills/commit-pr/SKILL.md · 131 lines

How it starts

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

Commit & PR

Use this skill for Codex-side publication work in opencode-swarm.

Source Of Truth

Read and follow ../../../.claude/skills/commit-pr/SKILL.md in full before committing, pushing, opening, or updating a PR.

That Claude skill remains the repository's canonical publish protocol. This Codex-native skill is the adapter layer: it tells Codex which tools to use, how to handle existing PRs, and how to finish the post-open lifecycle without drifting from the repo contract.

If instructions conflict:

  1. AGENTS.md
  2. docs/engineering-invariants.md
  3. ../../../.claude/skills/commit-pr/SKILL.md
  4. this file

Codex Execution Rules

  • Use the available shell execution tool for git, gh, build, test, and CI commands.
  • Use apply_patch for manual file edits.
  • Use the runtime's parallel-execution capability for independent reads, status checks, and non-conflicting repo inspections.
  • Do not stage .Codex/, IDE-local files, or unrelated worktree changes.
  • Do not open a second PR when one already exists for the branch. Update the existing PR instead.

Publish Modes

Infer the mode from the user request and branch state:

  • new-pr: branch is ready to publish and no PR exists yet
  • pr-followup: a PR already exists and you are addressing review feedback or syncing validation
  • closeout: a PR already exists and you are updating body text, waiting on CI, marking ready, or confirming merge prerequisites

Required Follow-Through

Existing PR updates

If the branch already has a PR:

  • inspect unresolved PR feedback surfaces before updating or readying the PR: review threads/comments, requested-changes reviews, CI/check failures, mergeability/conflicts, and whether check data belongs to the current head SHA
  • update the existing PR body instead of creating a new PR
  • refresh ## Summary, ## Invariant audit, and ## Test plan when validation counts, caveats, or evidence changed
  • verify the PR still points at the pushed branch head after any force-push
  • use $swarm-pr-feedback when feedback needs fixes before closeout

Read the full file on GitHub · 131 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. 4d ago Changed · +1 lines 5db4c8143dea
  2. 1mo ago First seen · 130 lines · 100 tokens per session scan A cd38f9e3c277

Subscribe to this mod's changes

commit-pr is a skill published in the GitHub repository ZaxbyHub/opencode-swarm (505 stars, last pushed today), licensed MIT. It adds 100 tokens to every session and 1,513 once invoked, about $0.0004 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-08-30.

Related

Other skills, from other repositories

git-workflow

Use when naming or scoping a branch, writing or fixing a commit message, picking the gitmoji for a commit, untangling history (rebase versus merge versus squash), or cutting a versioned release — the portable git-convention layer for any repo. Covers gitmoji + Conventional Commits, SemVer tags, branch hygiene…

ericrisco/rsc-harness · 127 tokens

git-github-flow

Use for branch prep, clean commits, PR descriptions, GitHub issue triage, changelogs, release notes, review response, merge readiness, or publishing a branch safely.

DominikTobureto/awesome-grok-build · 41 tokens

git-workflow

Git workflow patterns including branching strategies, commit conventions, merge vs rebase, conflict resolution, and collaborative development best practices for teams of all sizes.

hashgraph-online/awesome-codex-plugins · 33 tokens

atomic-git-discipline

Compressed commit message and PR body generator. Cuts noise from both while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious; PR bodies state only what the diff can't show, 120 words max. Use when user says "write a commit", "commit message", "generate…

damusix/atomic-claude · 106 tokens

ship

Release pipeline for already-done local work. Dispatches /ground-state pre-flight, runs the project test suite, drafts a commit message, pushes, and opens a PR with a structured verification summary. Use when local changes are ready to hand off to review — e.g. 'ship this', 'push and open a PR', 'release this work'.…

griffinwork40/agent-afk · 93 tokens

git

Run git version control commands for repository management. Use when the user asks to check status, view history or diffs, stage and commit changes, manage branches, merge or rebase, work with remotes, stash changes, tag releases, cherry-pick commits, bisect regressions, resolve conflicts, manage worktrees or…

bug-ops/zeph · 106 tokens