Token导航 LogoToken导航

Agent Skill · 研究检索

codex-code-review(Codex 代码审查)

codex-code-review 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

codex-code-review 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 49,122。

总安装 661周安装 27GitHub Stars 15下载 214核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:codex-code-review(Codex 代码审查)
来源仓库:https://github.com/nickcrew/claude-ctx-plugin
仓库路径:skills/codex-code-review
安装命令:
npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill codex-code-review
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill codex-code-review

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

Codex 代码审查工具提供代码质量检查和改进建议。适合代码评审、技术债务管理和重构指导场景。codex-code-review 属于研究检索类 Skill,可作为该场景下的辅助能力补充。支持风格检查、潜在 bug 和安全漏洞识别。使用时需结合具体编程语言和项目规范进行调整。建议优先处理高风险问题和影响范围大的修改。

来源仓库内路径:skills/codex-code-review

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill codex-code-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

codex-code-review 怎么安装?

在终端执行 npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill codex-code-review。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

codex-code-review 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

codex-code-review 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

codex-code-review 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

codex-code-review 用的人多吗?

公开数据是累计安装 661 次,近一周安装 27 次,下载 214 次,GitHub 15 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

codex-code-review 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
codex-code-review

Codex 代码审查 · 本页

66115只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Codex Code Review Loop

Overview

This skill orchestrates the complete remediation workflow for code under review by the codex agent. It handles:

  • Requesting reviews from codex using the codex --full-auto c CLI
  • Parsing review output to identify P0 (security/correctness), P1 (reliability), P2-P4 (quality) findings
  • Remediating critical issues through up to 3 review-fix-review cycles
  • Deferring quality improvements to backlog with implementation plans and origin:ai-review labels
  • Monorepo handling for selective file commits when working alongside other agents
  • Circuit breaker escalation after 3 cycles if P0/P1 issues persist

When to Use

Trigger this skill when code requires codex review. Common usage patterns:

  • "codex review this code" — Initiate review loop on current changes
  • "run codex review on my changes" — Same as above
  • "codex review --uncommitted" — Review all uncommitted changes
  • "codex review --commit " — Review specific commit in monorepo
  • Questions about codex (e.g., "how does codex work?") — Do not trigger this skill; answer directly

Do not trigger on questions. Only activate for direct review requests.


The Review Loop: Step by Step

ENTRY: User requests codex review or skill is triggered by "codex review" in a message

┌──────────────────────────┐
│ 1. INVOKE CODEX REVIEW   │ ← Run: codex --full-auto c [--uncommitted|--commit <SHA>|--base <BRANCH>]
└──────┬───────────────────┘   Output goes to .agent/reviews/review-<timestamp>.md
       │
       ▼
┌──────────────────────────┐
│ 2. READ & PARSE REVIEW   │ ← Read markdown file, extract P0/P1/P2-P4 findings and verdict
└──────┬───────────────────┘
       │
       ├─────────────────────────────────────────┐
       │                                         │
       ▼                                         ▼
  ANY P0/P1?              NO         FILE P2-P4 ISSUES → Exit loop
       │                              (via backlog CLI)
       │ YES                         Create issue per finding with
       │                             - label: origin:ai-review
  ┌────────────────┐                - Implementation plan
  │ 3. REMEDIATE   │                - Priority (P2 or P3)
  │ P0/P1 FINDINGS │
  └────┬───────────┘
       │ (amend commit or new changes)
       │
       ▼
  ┌──────────────────────┐
  │ 4. LOOP CHECK        │
  │ Cycle count < 3?     │
  └────┬───────────────┬─┘
       │ YES           │ NO
       │               └─→ SUMMARIZE & ASK USER TO CONTINUE
       │                   (or exit if user declines)
       ▼
  Re-run codex review (step 1, same files/scope)
  Loop back to step 2

Cycle Management

  • Cycle 1: Initial review after implementation
  • Cycle 2: After first remediation
  • Cycle 3: After second remediation
  • After Cycle 3: If P0/P1 remain, stop. Summarize findings and ask user if they want to continue (rare; usually indicates design-level issues)

Decision Tree: Handling Findings

When review shows P0/P1 findings (verdict: REQUEST CHANGES)

  1. Read the codex review markdown file
  2. Extract each P0 and P1 finding with:

- Finding ID and title - File location - Suggested fix

  1. Fix ONLY the cited findings in the code
  2. Do NOT refactor, do NOT introduce new functionality
  3. If a fix requires significant design changes, note this and let codex re-evaluate on next cycle
  4. Amend your commit OR create a new one (user's choice via git config; by default amend to keep one commit at end)
  5. Increment cycle counter and re-run codex review

When review shows P2-P4 findings (verdict: APPROVE or PASS WITH ISSUES)

  1. For each P2/P3 finding, decide:

- Fix now: You have discretion; implement the improvement in the same cycle - Defer: Create a backlog issue with: - Type label: remediation - Severity label: P2 or P3 - Custom label: origin:ai-review - Implementation plan based on codex's suggested approach - Acceptance criteria from the review

  1. Examples: # P2 finding deferred to backlog backlog task create "Code clarity: add docstring to validateInput()" \ -d "Review finding: missing documentation on public function" \ -l remediation -p 2 \ --ac "Add docstring explaining parameter types and return value" \ --plan "Add JSDoc comment above function definition per project style"

When review shows no findings (verdict: APPROVE)

Exit the loop. Code is clean. Proceed to test review (if applicable) or commit for merge.


Monorepo Handling

In a monorepo with multiple agents, be selective about what you commit and what scope you review.

Scenario 1: Only Your Changes

If the working directory has ONLY your changes:

codex --full-auto c --uncommitted

Commit your changes once review loop completes.

Scenario 2: Mixed Changes (You + Other Agents)

If there are untracked or uncommitted changes from other agents:

  1. Commit ONLY your files first: git add <your-files-only> git commit -m "Your commit message"
  2. Note the commit SHA
  3. Run review on your commit: codex --full-auto c --commit <SHA>
  4. Remediate by amending your commit: git add <fixed-files> git commit --amend --no-edit (Preserve the original message; the amend adds the fixes)
  5. Loop back to review as normal

Result: One clean commit with your changes and fixes. Other agents' work remains separate.


File Locations

  • Review output: .agent/reviews/review-<timestamp>.md (relative to project root)
  • One review file per cycle — new file created on each codex --full-auto c invocation
  • Always read the latest file — check the timestamp to ensure you're reading the current cycle's review

Bundled References

See references/codex-cli-reference.md for:

  • Complete codex CLI syntax and invocation patterns
  • How to select --uncommitted vs. --commit vs. --base
  • When to use each mode

See references/review-format.md for:

  • Structure of the review markdown output
  • How to parse P0/P1/P2/P3 sections
  • How to identify the verdict (APPROVE / REQUEST CHANGES / BLOCKED)
  • Example review output

See references/backlog-integration.md for:

  • How to create backlog issues from deferred findings
  • Label and priority conventions
  • Implementation plan templates
  • Examples of issues filed from reviews

See scripts/parse_codex_review.sh for:

  • Helper script to extract findings from review markdown
  • Counts P0/P1/P2/P3 per cycle
  • Quick verdict extraction

Key Rules

  1. All P0/P1 must be fixed before exiting the loop. No exceptions.
  2. P2-P4 can be deferred to backlog or fixed at your discretion.
  3. File one issue per finding — do not batch unrelated P2/P3s into one issue.
  4. Deferred issues must include a plan — codex identified the problem; you provide the structured approach.
  5. Amend commits (not new commits) during remediation so you end with one clean commit.
  6. Max 3 review cycles — after cycle 3, if P0/P1 remain, summarize and ask user to continue.
  7. In monorepos, commit selectively — review and fix only the files you touched.

Escalation: When Circuit Breaker Triggers

After 3 review cycles, if P0/P1 findings persist:

  1. Stop remediating. Do not attempt a 4th cycle.
  2. Produce a structured summary including:

- What was attempted in each cycle - What P0/P1 findings remain - Why they persist (agent assessment — design issue? conflicting requirements? ambiguity in spec?) - Recommended human action

  1. Present this summary to the user and ask how to proceed.

Escalation usually indicates the original task spec needs clarification or the code requires architectural changes beyond remediation scope.


Integration with Other Skills

  • backlog-md: File deferred P2/P3 findings using backlog task create with origin:ai-review label
  • git-ops: Commit handling, amending, and selective staging in monorepos
  • requesting-code-review: Use after codex review loop completes if human code review is also required

Quick Reference: The Full Workflow

1. User: "codex review"
        │
        ▼
2. Invoke: codex --full-auto c --uncommitted
        │
        ▼
3. Read: .agent/reviews/review-<timestamp>.md
        │
        ├─────────────────────────────────────────┐
        ▼                                         ▼
   P0/P1 FOUND?              NO         FILE P2-P4 ISSUES
   ├─ YES: Fix + Loop ────────────────► backlog task create ... --plan "..."
   └─ NO: File P2-P4 → Exit            (each finding = one issue)
        │
        ├─ Cycle 1 → Fix → Review
        ├─ Cycle 2 → Fix → Review
        ├─ Cycle 3 → Fix → Review
        │
        └─ If P0/P1 remain → Summarize + Ask User
                │
                └─► Continue? (rare) / Stop & Escalate

平台分布

Codex

36.1%
按下载量换算77

Claude

27.62%
按下载量换算59

Cursor

19.06%
按下载量换算41

Gemini CLI

7.88%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills