Agent skill

Codex Fix PR

by tbhb in tbhb/vale-ai-tells

Diagnose failing pull request checks, reproduce them locally, make focused fixes, commit them through codex-commit, and refresh the published description when needed.

MITAuto-check passedDevelopment

Install Codex Fix PR

skills CLI
$ npx skills add tbhb/vale-ai-tells --skill codex-fix-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tbhb/vale-ai-tells codex-fix-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tbhb/vale-ai-tells.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/codex-fix-pr .claude/skills/codex-fix-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codex-fix-pr
GitHub stars
115
Token cost
~575 tokens
SKILL.md length
261 words
Files
4 (incl. scripts)
Skills in repo
27
Repo updated
First seen
Licence
MIT

At a glance

Diagnose failing pull request checks, reproduce them locally, make focused fixes, commit them through codex-commit, and refresh the published description when needed.

  • A pull request is red
  • SKILL.md covers Diagnose and reproduce, Choose and commit the fix, Refresh the description when… and Push and continue
  • Runs Shell scripts from its folder; calls bash
  • The user asks Codex to fix CI

What it does

Codex Fix PR is an agent skill from tbhb/vale-ai-tells. Diagnose failing pull request checks, reproduce them locally, make focused fixes, commit them through codex-commit, and refresh the published description when needed. Use whenever a pull request is red, the user asks Codex to fix CI, or codex-watch-pr reports failures.

Its SKILL.md is about 580 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/diagnose.sh`, `scripts/populate-description.sh` and `tokens.json`).

It sits in Development, covering Pull requests and Failing and flaky tests. The repository describes itself as: In today's rapidly evolving landscape, vale-ai-tells is a comprehensive, cutting-edge Vale style package that empowers writers to seamlessly delve into the rich tapestry of AI…. The licence is MIT.

When your agent uses it

  • A pull request is red
  • The user asks Codex to fix CI
  • Codex-watch-pr reports failures

Example prompts

  • “/codex-fix-pr”

Requirements

  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit 4c7abc9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Codex Fix PR loads about 575 tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 261 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~71
When it runs · the whole SKILL.md, loaded when a task matches
~575

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from tbhb/vale-ai-tells at commit 4c7abc9, republished under its MIT licence (© tbhb). 261 words, ~575 tokens.

Download SKILL.mdSave it as .claude/skills/codex-fix-pr/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
codex-fix-pr
description
Diagnose failing pull request checks, reproduce them locally, make focused fixes, commit them through codex-commit, and refresh the published description when needed. Use whenever a pull request is red, the user asks Codex to fix CI, or codex-watch-pr reports failures.

Fix a failing pull request

Use update_plan for diagnosis, reproduction, fix, commit, description refresh, and push. The argument may name a pull request and the chosen commit strategy.

Diagnose and reproduce

Run once:

bash
bash .agents/skills/codex-fix-pr/scripts/diagnose.sh <number>

Stop if the checkout differs from the commit CI tested. For each failure, run the mapped local task before editing. If it passes, inspect the workflow for an environment mismatch, flake, incomplete task mapping, or stale base. Use codex-rebase when the failing combined tree doesn't exist locally.

Fix only the cause. Don't weaken a rule, exclusion, or threshold without user approval. Re-run the reproducer until it passes.

Choose and commit the fix

Honor a strategy supplied by codex-pr. Otherwise, in Default mode ask in the final response whether to create a separate commit or amend and force-push. Don't commit in that turn. After confirmation, invoke codex-commit. For an amendment, ensure its independent message review sees the complete amended commit.

Refresh the description when material

Rebuild the local draft:

bash
bash .agents/skills/codex-fix-pr/scripts/populate-description.sh <number>

If the fix changes what readers need to know, delegate revision to codex-write-pr-description, then delegate a fresh review to codex-review-pr-description. Bound findings at three rounds. The reviewer records the digest after a successful review. Update the pull request only through:

bash
bash .agents/skills/codex-pr/scripts/create-pr.sh

Skip redrafting when the existing description remains accurate, and state that judgment.

Push and continue

Push a separate commit normally. Push an amendment with --force-with-lease, never bare --force. Report the failed check, cause, fix, and new run. If asked to see CI through, use codex-watch-pr and repeat. Stop after three failed rounds on the same check and report each attempt.

© tbhb, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in .claude/skills/codex-fix-pr of tbhb/vale-ai-tells.

  • SKILL.md
  • scripts/diagnose.sh
  • scripts/populate-description.sh
  • tokens.json

Open the folder on GitHubat commit 4c7abc9

Compare with similar skills

Codex Fix PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Codex Fix PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codex Fix PR this skilltbhb/vale-ai-tells115—~575Automated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Iterate PRmeshery/meshery-operator1518 repos~2.2kAutomated safety check: PassApache-2.0
Exposed Bug Fix WorkflowJetBrains/Exposed9.3k—~3.8kAutomated safety check: PassApache-2.0
SkillhoneTencent/SkillHone1681 repos~3.4kAutomated safety check: PassCustom licence
PlotJuggler Ship CheckPlotJuggler/PlotJuggler6.2k—~1.3kAutomated safety check: PassMPL-2.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Iterate PR

    meshery/meshery-operator

    Iterate on a PR until CI passes. An agent skill from meshery/meshery-operator.

    151 GitHub starsUsed in 8 repos~2.2k tokens
    DevelopmentAuto-check passed
  • Exposed Bug Fix Workflow

    JetBrains/Exposed

    Official

    Takes a GitHub or YouTrack issue for the Exposed project through reproduction, a failing test, a fix, validation and a pull request.

    9.3k GitHub stars~3.8k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Skillhone

    Tencent/SkillHone

    Local Issue, pull-request, and Wiki workbench for agent skills.

    168 GitHub starsUsed in 1 repo~3.4k tokens
    DevelopmentAuto-check passed
  • PlotJuggler Ship Check

    PlotJuggler/PlotJuggler

    Runs a gated finish-line checklist before committing a PlotJuggler PJ4 change: build proof, red-test triage, hooks, docs freshness and a diff self-review.

    6.2k GitHub stars~1.3k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • PR Review

    wysaid/android-gpuimage-plus

    Address review comments and CI failures for the current branch's PR

    1.9k GitHub stars~1.4k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed

More from tbhb/vale-ai-tells

All 27 skills in this repo
  • Analyze Session

    tbhb/vale-ai-tells

    Query a Claude Code transcript without reading it into context, then write the retrospective to disk so it remains available after the session ends.

    115 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Codex Analyze Session

    tbhb/vale-ai-tells

    Query a Codex transcript without reading it into context, then write the retrospective to disk so it remains available after the session ends.

    115 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Codex Merge PR

    tbhb/vale-ai-tells

    Squash merge a pull request. An agent skill from tbhb/vale-ai-tells.

    115 GitHub stars~3k tokensUpdated yesterday
    Auto-check passed
  • Codex PR

    tbhb/vale-ai-tells

    Open or update a pull request for the current branch with an independently drafted and reviewed PRAGENTDESC.md.

    115 GitHub stars~846 tokensUpdated yesterday
    Auto-check passed
  • Codex Rebase

    tbhb/vale-ai-tells

    Replay the current branch onto its base and establish that the result is sound.

    115 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Settle the conflicts a merge-backend rebase left behind. An agent skill from tbhb/vale-ai-tells.

    115 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Codex Fix PR

What does Codex Fix PR do?

Diagnose failing pull request checks, reproduce them locally, make focused fixes, commit them through codex-commit, and refresh the published description when needed. Codex Fix PR is an agent skill from tbhb/vale-ai-tells. Diagnose failing pull request checks, reproduce them locally, make focused fixes, commit them through codex-commit, and refresh the published description when needed.

When should I use Codex Fix PR?

Codex Fix PR fits situations like: A pull request is red; the user asks Codex to fix CI; Codex-watch-pr reports failures.

How do I install Codex Fix PR in Claude Code?

Run `npx skills add tbhb/vale-ai-tells --skill codex-fix-pr -a claude-code`. Or copy the skill folder (.claude/skills/codex-fix-pr in tbhb/vale-ai-tells) into .claude/skills/codex-fix-pr in your project. Claude Code loads it when a task matches its description.

How do I install Codex Fix PR in Codex?

Run `npx skills add tbhb/vale-ai-tells --skill codex-fix-pr -a codex`. Or copy the skill folder (.claude/skills/codex-fix-pr in tbhb/vale-ai-tells) into .agents/skills/codex-fix-pr in your project. Codex loads it when a task matches its description.

Can I use Codex Fix PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tbhb/vale-ai-tells --skill codex-fix-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codex-fix-pr, .gemini/skills/codex-fix-pr, .github/skills/codex-fix-pr and .opencode/skills/codex-fix-pr in your project.

What does Codex Fix PR need to run?

Going by SKILL.md and its folder, Codex Fix PR needs a shell for the scripts in its folder and the command-line tools its instructions call (bash). Our summary lists: A Bash shell.

Does Codex Fix PR access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Codex Fix PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Codex Fix PR use?

Codex Fix PR is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Codex Fix PR use?

About 575 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Codex Fix PR?

Skills that share tags, products or a category with Codex Fix PR: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Iterate PR (meshery/meshery-operator, 151 stars), Exposed Bug Fix Workflow (JetBrains/Exposed, 9.3k stars) and Skillhone (Tencent/SkillHone, 168 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codex Fix PR?

tbhb (a GitHub user) maintains it in tbhb/vale-ai-tells, which has 115 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on October 7, 2026.

Source: tbhb/vale-ai-tells on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.