pr-modernize

pr-modernize is a skill for Codex from markoblogo/abvx-agent-skills. It costs 57 tokens per session (785 once invoked), scanned A, original, MIT.

A workflow for reassessing an old GitHub pull request against the current base code before updating it. It distinguishes a useful change that needs updating from one that needs redesign or is no longer needed.

In plain words
What is it for?
Use it to inspect an outdated pull request, fetch the exact branches, decide whether to modernize, rework, mark obsolete, or report a blocker, and only then rewrite its branch.
Why use it?
A conflict-free rebase only shows that Git can combine histories; it does not show that the proposed change still fits the product. This workflow checks the goal, architecture, reviews, and current code first.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to inspect an outdated pull request, fetch the exact branches, decide whether to modernize, rework, mark obsolete, or report a blocker, and only then rewrite its branch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/markoblogo/abvx-agent-skills/pr-modernize
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 markoblogo/abvx-agent-skills --skill pr-modernize
Clone the repo
git clone --depth 1 https://github.com/markoblogo/abvx-agent-skills

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/markoblogo/abvx-agent-skills/pr-modernize"><img src="https://agentmods.dev/badge/skills/markoblogo/abvx-agent-skills/pr-modernize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 785 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.00057 $0.00785
Opus 5.5 $0.00023 $0.00314
Sonnet 5.5 $0.00011 $0.00157
Haiku 4.5 $0.00006 $0.00078

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

Security

Grade A, and why

pr-modernize 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 1mo 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.

skills/pr-modernize/SKILL.md · 53 lines

How it starts

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

PR Modernize

Reassess the problem before updating the branch. Treat a conflict-free rebase as Git evidence, not proof that the change still belongs in the product.

Inspect

Resolve the PR URL, author, head repository/branch/SHA, actual base, review state and checks. Read the goal, full diff, linked issues and material reviews. Inspect repository instructions and preserve all unrelated working-tree changes.

Fetch the exact head and base. Use a clean isolated worktree when the active checkout is dirty or shared. Record the remote head SHA before any rewrite. Do not assume the base is main or that the PR branch belongs to the user.

Read relevant base changes since divergence and look for a replacement implementation or overlapping PR. Distinguish a mechanical conflict from a changed architecture or obsolete goal.

Decide before rewriting

Return one of:

  • MODERNIZE: the goal is useful and the implementation still fits.
  • REWORK: the goal is useful but needs a different implementation.
  • OBSOLETE: the problem is already solved or no longer worth this change.
  • BLOCKED: source, permission or evidence is unavailable.

For REWORK, continue only if the existing task authorizes that work. For OBSOLETE, explain the evidence and leave the PR open unless the user explicitly authorized closure.

Update safely

Before updating an existing PR branch, inspect auto-merge and merge-queue state. If either can merge it automatically, stop updates unless changing that state is authorized. Never disable it silently or promise no merge while it remains enabled.

For MODERNIZE, preserve the published branch history. Refresh a task-owned existing PR branch by merging its freshly fetched actual base. If repository policy requires linear history or the user explicitly asks for a rebase, prepare the rebased work on a separate local continuation branch; publish that new branch or a replacement PR only when authorized. Leave the original published branch unchanged. Resolve conflicts according to the goal and current invariants, and stop if that would silently change scope.

Read the full file on GitHub · 53 lines

Files

What ships with it

3 files 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. 1mo ago First seen · 53 lines · 57 tokens per session scan A ffd4a3cc9fde

Subscribe to this mod's changes

pr-modernize is a skill published in the GitHub repository markoblogo/abvx-agent-skills (16 stars, last pushed 1mo ago), licensed MIT. It adds 57 tokens to every session and 785 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-10-29.

Related

pr-modernize compared with skills from other repositories

pr-modernize next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-modernizemarkoblogo/abvx-agent-skillsSkill161mo agoMITA57Codex
prYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA47Claude Code
merge-batchdiegosouzapw/OmniRouteSkill91k6d agoMITA46Claude Code
otto-pr-review-loopomnigent-ai/omnigentSkill12ktodayApache-2.0A17Claude Code, Codex
engram-branch-prGentleman-Programming/engramSkill8.4k11d agoMITA37Claude Code, Codex
github-contributordaymade/claude-code-skillsSkill1.6ktodayMITA105Claude Code, Codex
revdiffumputun/revdiffSkill978todayMITA254Claude Code