cxreview

cxreview is a command for Claude Code, Codex from qqabcv520/my-claude-marketplaces. It costs 30 tokens per session (725 once invoked), scanned A, original, MIT.

A command for asking Codex CLI to review code changes in three situations: uncommitted work, one commit, or a branch comparison.

In plain words
What is it for?
Use it to choose a review mode and inspect the relevant workspace changes, commit, or branch diff.
Why use it?
It gives a repeatable way to request checks for code quality, bugs, security problems, and possible improvements.

Command for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also runs codex exec. Also seen: names the AskUserQuestion tool; mentions Codex.

Part of the codex plugin — 1 skill, 1 command shipped together

Good fit Use it to choose a review mode and inspect the relevant workspace changes, commit, or branch diff.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/qqabcv520/my-claude-marketplaces/cxreview
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.

Clone the repo
git clone --depth 1 https://github.com/qqabcv520/my-claude-marketplaces

Made for: Claude Code, Codex.

Or install codex, the plugin that ships this one along with the rest of its 1 skill, 1 command.

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 cxreview

README.md
[![agentmods](https://agentmods.dev/badge/commands/qqabcv520/my-claude-marketplaces/cxreview/github.svg)](https://agentmods.dev/commands/qqabcv520/my-claude-marketplaces/cxreview)
Your own site
<a href="https://agentmods.dev/commands/qqabcv520/my-claude-marketplaces/cxreview"><img src="https://agentmods.dev/badge/commands/qqabcv520/my-claude-marketplaces/cxreview/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 cxreview

Your own site · 80×15
<a href="https://agentmods.dev/commands/qqabcv520/my-claude-marketplaces/cxreview"><img src="https://agentmods.dev/badge/commands/qqabcv520/my-claude-marketplaces/cxreview.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 725 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.00030 $0.00725
Opus 5 $0.00015 $0.00362
Sonnet 5 $0.00006 $0.00145
Haiku 4.5 $0.00003 $0.00072

Measured 12d ago against content hash 878bb2db6b49, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

cxreview 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 12d 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.

plugins/codex/commands/cxreview.md · 77 lines

What it actually says

Codex Code Review

使用 Codex CLI 对代码进行深度审查。

执行流程

Step 1: 确定审查模式

如果用户没有提供参数,使用 AskUserQuestion 询问审查模式:

请选择代码审查模式:
1. 未提交变更 - 审查当前工作区的未提交改动
2. 特定 commit - 审查某个具体的 commit
3. 分支对比 - 对比当前分支与基础分支的所有变更

Step 2: 根据模式调用 Codex

模式 1:未提交变更

mkdir -p tmp
REVIEW="tmp/codex-review-$RANDOM.txt"
codex exec -o "$REVIEW" "Review the uncommitted changes in this repository. Run git diff and git diff --cached to see all changes. Provide a code review covering: code quality, potential bugs, security issues, and improvement suggestions." --full-auto &> /dev/null

模式 2:特定 commit

mkdir -p tmp
REVIEW="tmp/codex-review-$RANDOM.txt"
codex exec -o "$REVIEW" "Review commit <sha>. Run git show <sha> to see the changes. Provide a code review covering: code quality, potential bugs, security issues, and improvement suggestions." --full-auto &> /dev/null

模式 3:分支对比

mkdir -p tmp
REVIEW="tmp/codex-review-$RANDOM.txt"
codex exec -o "$REVIEW" "Review all changes between the current branch and <base-branch>. Run git diff <base-branch>...HEAD to see the diff. Provide a code review covering: code quality, potential bugs, security issues, and improvement suggestions." --full-auto &> /dev/null

Step 3: 读取并展示审查结果

cat "$REVIEW"

将审查结果完整展示给用户,包括:

  • 代码质量问题
  • 潜在 bug
  • 安全风险
  • 改进建议

参数解析

当用户提供参数时,直接解析并执行:

  • /codex:cxreview uncommitted → 执行模式 1(未提交变更审查)
  • /codex:cxreview commit abc123 → 执行模式 2,将 <sha> 替换为 abc123
  • /codex:cxreview branch feature/my-feature → 执行模式 3(询问 base branch)
  • /codex:cxreview branch feature/my-feature --base develop → 执行模式 3,将 <base-branch> 替换为 develop

使用示例

/codex:cxreview
/codex:cxreview uncommitted
/codex:cxreview commit a1b2c3d
/codex:cxreview branch feature/login --base main
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. 12d ago First seen · 77 lines · 30 tokens per session scan A 878bb2db6b49

Subscribe to this mod's changes

cxreview is a command published in the GitHub repository qqabcv520/my-claude-marketplaces (2 stars, last pushed 5mo ago), licensed MIT. It adds 30 tokens to every session and 725 once invoked, about $0.0002 per session on Opus 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-08-31.