# Codex review

> Codex review is an open-source agent skill for developer tools. Fixes Codex review comments on a PR and audits the branch for the same mistakes. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/arjunrajlaboratory/mycelium/tree/main/skills/codex-review
- **Repository:** https://github.com/arjunrajlaboratory/mycelium
- **GitHub stars:** 73
- **License:** MIT
- **Skill name:** codex-review
- **Collection:** https://github.com/arjunrajlaboratory/mycelium
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/arjunrajlaboratory/mycelium/tree/HEAD/skills/codex-review)
- [License: MIT](https://github.com/arjunrajlaboratory/mycelium/tree/HEAD/skills/codex-review)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Code review](https://ai-powered.com/skills/code-review-flutter): Code review is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-mattpocock): Code review is an open-source agent skill for developer tools.
- [Second opinion](https://ai-powered.com/skills/second-opinion): Second opinion is an open-source agent skill for developer tools.
- [Cc update review](https://ai-powered.com/skills/cc-update-review): Cc update review is an open-source agent skill for developer tools.
- [Harness review](https://ai-powered.com/skills/harness-review-chachamaru127): Harness review is an open-source agent skill for developer tools.
- [Get PR comments](https://ai-powered.com/skills/get-pr-comments): Get PR comments is an open-source agent skill for developer tools.
- [Council multi model](https://ai-powered.com/skills/council-multi-model): Council multi model is an open-source agent skill for developer tools.
- [Conventions codex](https://ai-powered.com/skills/conventions-codex-xiaolai): Conventions codex is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/codex-review
