codex-pr-body

codex-pr-body is a skill for Codex from chemany/Mente. It costs 17 tokens per session (965 once invoked), scanned A, a copy of codex-pr-body, MIT.

A tool for updating the title and description of a GitHub pull request, which is a proposed code change for review.

In plain words
What is it for?
It helps identify the relevant pull request, preserve key details, and rewrite its explanation around why the change was made and what changed.
Why use it?
It keeps the pull request's explanation aligned with the actual change without losing important existing content.

Skill for Codex

Written for Codex: installed under .codex/. Also seen: mentions Codex.

Good fit It helps identify the relevant pull request, preserve key details, and rewrite its explanation around why the change was made and what changed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chemany/mente/codex-pr-body
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 chemany/Mente --skill codex-pr-body
Clone the repo
git clone --depth 1 https://github.com/chemany/Mente

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 codex-pr-body

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chemany/mente/codex-pr-body"><img src="https://agentmods.dev/badge/skills/chemany/mente/codex-pr-body.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 965 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 92% copy Near-identical to another mod 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.00017 $0.00965
Opus 5.5 $0.00007 $0.00386
Sonnet 5.5 $0.00003 $0.00193
Haiku 4.5 $0.00002 $0.00097

Measured 3mo ago against content hash 38d02e70d557, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-pr-body 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 3mo 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.

Origin

This is a copy

92% identical to codex-pr-body — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

kernel/codex/upstream/.codex/skills/codex-pr-body/SKILL.md · 60 lines

How it starts

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

Determining the PR(s)

When this skill is invoked, the PR(s) to update may be specified explicitly, but in the common case, the PR(s) to update will be inferred from the branch / commit that the user is currently working on. For ordinary Git usage (i.e., not Sapling as discussed below), you may have to use a combination of git branch and gh pr view <branch> --repo openai/codex --json number --jq '.number' to determine the PR associated with the current branch / commit.

PR Body Contents

When invoked, use gh to edit the pull request body and title to reflect the contents of the specified PR. Make sure to check the existing pull request body to see if there is key information that should be preserved. For example, NEVER remove an image in the existing pull request body, as the author may have no way to recover it if you remove it.

It is critically important to explain why the change is being made. If the current conversation in which this skill is invoked has discussed the motivation, be sure to capture this in the pull request body.

The body should also explain what changed, but this should appear after the why.

Limit discussion to the net change of the commit. It is generally frowned upon to discuss changes that were attempted but later undone in the course of the development of the pull request. When rewriting the pull request body, you may need to eliminate details such as these when they are no longer appropriate / of interest to future readers.

Avoid references to absolute paths on my local disk. When talking about a path that is within the repository, simply use the repo-relative path.

It is generally helpful to discuss how the change was verified. That said, it is unnecessary to mention things that CI checks automatically, e.g., do not include "ran just fmt" as part of the test plan. Though identifying the new tests that were purposely introduced to verify the new behavior introduced by the pull request is often appropriate.

Make use of Markdown to format the pull request professionally. Ensure "code things" appear in single backticks when referenced inline. Fenced code blocks are useful when referencing code or showing a shell transcript. Also, make use of GitHub permalinks when citing existing pieces of code that are relevant to the change.

Read the full file on GitHub · 60 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. 3mo ago First seen · 60 lines · 17 tokens per session scan A 38d02e70d557

Subscribe to this mod's changes

codex-pr-body is a skill published in the GitHub repository chemany/Mente (11 stars, last pushed 6mo ago), licensed MIT. It adds 17 tokens to every session and 965 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to codex-pr-body, differing in 2 lines, and is treated as a copy.

Related

codex-pr-body compared with skills from other repositories

codex-pr-body next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-pr-bodychemany/MenteSkill116mo agoMITA17Codex
merge-batchdiegosouzapw/OmniRouteSkill91k2d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15ktodayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.8ktodayMITA20Claude Code, Codex
comet-githubrpamis/cometSkill3.3ktodayMITA72Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1ktodayMITA51Claude Code
codex-autoresearchleo-lilinxiao/codex-autoresearchSkill3.3k13d agoMITA39Codex