Skip to content
Skill

Codex review

Fixes Codex review comments on a PR and audits the branch for the same mistakes

Codex review is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
73
Last commit
License
MIT
Listing updated

Similar skills

About Codex review

This skill handles Codex review feedback on a pull request in a single pass. For each flagged comment it names the underlying error pattern, applies the targeted fix, then searches the whole branch diff for other instances of that pattern so the next review round does not surface them one at a time. It then runs the project's relevant tests and linters and drafts a reply summarizing the fix and the audit scope.

The workflow locates the PR from a number, URL or the current branch, and pulls Codex comments from inline review comments, review summaries and conversation comments. It only treats comments from a Codex author login as findings, and skips threads already resolved where the repository exposes that state. Posting the reply and any re-trigger of Codex review requires user confirmation first.

It expects the GitHub CLI (gh) and a git checkout of the PR branch, plus the project's own test and lint commands. It is not meant for general code review without Codex feedback.

When your agent uses it

Address Codex review comments on a pull request. Use when the user asks to respond to Codex, fix what Codex flagged, handle an @codex comment, or supplies a Codex review link. Generalize each comment into an error pattern, audit the whole branch for other instances, fix and test them, then draft a reply. Confirm before posting or re-triggering review. Do not use for a general code or scientific review without Codex feedback.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (10 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the mycelium plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add arjunrajlaboratory/mycelium
/plugin install mycelium@mycelium

Or copy only this skill to ~/.claude/skills/codex-review:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/arjunrajlaboratory/mycelium.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/codex-review &&
cp -R "$tmp/skills/codex-review" ~/.claude/skills/codex-review &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/codex-review inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/codex-review to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/arjunrajlaboratory/mycelium.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/codex-review &&
cp -R "$tmp/skills/codex-review" ~/.agents/skills/codex-review &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/codex-review inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/codex-review to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/arjunrajlaboratory/mycelium.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/codex-review &&
cp -R "$tmp/skills/codex-review" ~/.cursor/skills/codex-review &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/codex-review inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/arjunrajlaboratory/mycelium.git --path skills/codex-review

Or copy the folder to ~/.gemini/skills/codex-review yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/codex-review:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/arjunrajlaboratory/mycelium.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/codex-review &&
cp -R "$tmp/skills/codex-review" ~/.copilot/skills/codex-review &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/codex-review inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/arjunrajlaboratory/mycelium.git

Then copy mycelium/skills/codex-review into your agent's skills folder as codex-review. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Codex comment collection
Gathers Codex-authored comments from inline reviews, review summaries and PR conversation.
Error pattern generalization
Turns each flagged line into a reusable description of the underlying mistake.
Branch-wide audit
Searches the branch diff for other instances of the same pattern and fixes them.
Test and lint verification
Runs the project's relevant tests and linters on the touched files after changes.
Confirmed reply posting
Drafts a summary reply and posts it to GitHub only after user approval.
Recurring pattern logging
Records repeated error patterns to the project's learnings file for later conventions.

Good for

  • Fix all open Codex review comments on my pull request
  • Check the branch for other places with the same bug Codex flagged
  • Reply to Codex's review with a summary of what changed
  • Turn a Codex comment about swallowed exceptions into a branch-wide fix

Codex review FAQ

What does the skill need to run?

It uses the GitHub CLI (gh) to read PR comments and a git checkout of the PR branch. It runs the project's own tests and linters, so those need to be available in the repository.

Does Codex review post to GitHub automatically?

No. It shows the drafted reply, including whether it adds an @codex review trigger, and only posts after the user confirms.

How does Codex review decide which comments are from Codex?

It matches the author login case-insensitively for 'codex', and asks the user to confirm candidate bot authors rather than including all bot comments.

When should Codex review not be used?

It is not for general code or scientific review without Codex feedback. The skill points to a separate review skill for that case.

How do I install Codex review in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/codex-review to use it in all your projects, or to .claude/skills/codex-review in one project. Or install the mycelium plugin, which includes it: /plugin marketplace add arjunrajlaboratory/mycelium, then /plugin install mycelium@mycelium.

Does Codex review run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Codex review?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Codex review?

The closest alternatives to Codex review are Code review, Code review, Second opinion, Cc update review and Harness review.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from arjunrajlaboratory/mycelium

  1. Sets up and maintains a living repo layer where an agent records decisions, learnings

    • Open source
    • 73 GitHub stars
    • Developer tools
  2. Guides an agent through repository-aware computational analysis with validation checks

    • Open source
    • 73 GitHub stars
    • Knowledge and memory
  3. Guides changes to the Mycelium plugin itself across Claude Code and Codex hosts

    • Open source
    • 73 GitHub stars
    • Developer tools
  4. Turns a project learning into a passing test that guards it from regressing

    • Open source
    • 73 GitHub stars
    • Developer tools
  5. Brainstorms research ideas and new analysis angles through persona-based subagents

    • Open source
    • 73 GitHub stars
    • Knowledge and memory
  6. Adds new datasets to a Mycelium project with metadata, provenance and manifest entries

    • Open source
    • 73 GitHub stars
    • Knowledge and memory