codex-review · sateezg — скилл для Claude Code: проверка кода и установка
Скилл codex-review для Claude Code запускает независимую проверку изменений через OpenAI Codex. Агент подключает его по просьбе проверить код, PR или ветку, а также перед коммитом или слиянием крупного изменения.
MIT ★ 195 обновлён 2026-08-10
/plugin marketplace add Sateezg/codex-bridge
/plugin install codex-bridge@codex-bridgeЧто делает codex-review
codex-review передаёт OpenAI Codex diff или файлы проекта для проверки и возвращает замечания по уровням серьёзности с указанием файла и строки. Проверять можно незакоммиченные или подготовленные изменения, ветку относительно main либо отдельный модуль. Для крупного изменения Codex читает нужные файлы сам, а не получает длинный diff целиком.
Проверка проходит в режиме чтения: Codex не меняет рабочее дерево. Скилл просит перепроверить каждое замечание и разделить подтверждённые находки, спорные и те, которые не удалось проверить; исправления автоматически не применяются. Для запуска нужны codex-run, Git и Bash; вызов расходует квоту плана ChatGPT. Перед проверкой несвязанные изменения нужно закоммитить или убрать в stash.
Какие задачи решает
- проверить незакоммиченные изменения перед коммитом
- найти ошибки в сравнении ветки с
main - проверить PR на проблемы безопасности и обработки ошибок
- получить замечания по конкретному модулю с привязкой к строкам
Примеры запросов агенту
- Проверь незакоммиченные изменения и сгруппируй замечания по серьёзности.
- Проверь эту ветку относительно
mainперед слиянием. - Проведи проверку PR и укажи файл и строку для каждого замечания.
Как установить codex-review
1Через маркетплейс плагинов
/plugin marketplace add Sateezg/codex-bridge/plugin install codex-bridge@codex-bridgeКоманда ставит плагин codex-bridge целиком, со всеми его скиллами
2Вручную: положить файлы
~/.claude/skills/codex-review/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/codex-review/
Вручную: положить файлы
.agents/skills/codex-review/SKILL.mdДля всех проектов — ~/.agents/skills/
Вручную: положить файлы
.cursor/skills/codex-review/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Sateezg/codex-bridge skills/codex-review2Вручную: положить файлы
.github/skills/codex-review/SKILL.mdКомандой платформы
gemini skills install https://github.com/Sateezg/codex-bridge --path skills/codex-reviewВручную: положить файлы
.devin/skills/codex-review/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о codex-review
Как установить codex-review в Claude Code?
Выполни /plugin marketplace add Sateezg/codex-bridge и затем /plugin install codex-bridge@codex-bridge. Файл скилла находится по пути ~/.claude/skills/codex-review/SKILL.md.
Что делает codex-review?
Передаёт изменения OpenAI Codex на независимую проверку и группирует замечания по серьёзности, указывая файл и строку. Изменения в рабочем дереве не применяются.
Что нужно для работы codex-review?
Нужны codex-run, Git и Bash. Вызов расходует квоту плана ChatGPT.
Исходный текст
SKILL.md · MIT
---
description: Get an independent code review from OpenAI Codex (GPT-5) on uncommitted changes, a branch diff, a PR, or a specific module — returns findings grouped by severity with file:line references. Use when the user says "review this", "review my changes", "check this PR", "what did I miss", or before they commit or merge something substantial.
---
# Code review by Codex
An independent reviewer that hasn't seen this conversation is genuinely useful:
it won't inherit your assumptions about the change. Use it as a *second* pass, not
a replacement for your own read.
## Pick the scope
```bash
git -C <repo> diff # uncommitted, unstaged
git -C <repo> diff --staged # staged
git -C <repo> diff main...HEAD # whole branch vs main
git -C <repo> diff --stat main...HEAD # size check first
```
Check the size before sending. Under ~1500 changed lines, pipe the diff in
directly. Larger than that, point Codex at the files instead and let it read
selectively — a giant pasted diff degrades the review.
## Run it
Small or medium change — pipe the diff as the prompt body:
```bash
{ echo "Review this diff as a senior engineer on this codebase. Report findings grouped by severity (Critical / Major / Minor / Nit). For each: file:line, what's wrong, and the concrete fix. Focus on correctness, security, error handling, race conditions, and missed edge cases. Skip style unless it hides a bug. If you find nothing at a severity level, say so rather than inventing findings."; echo; git -C <repo> diff main...HEAD; } | codex-run -C <repo> --timeout 1200 -
```
Large change or a whole module — let Codex read the tree itself:
```bash
codex-run -C <repo> --timeout 1800 \
"Review the changes on this branch versus main (run git diff main...HEAD yourself, and read the surrounding files for context). Report findings grouped by severity (Critical/Major/Minor/Nit) with file:line and a concrete fix for each. Prioritise correctness, security, error handling, and missed edge cases."
```
Both run read-only — Codex cannot modify the working tree.
## Handling the results
1. **Verify each finding before repeating it.** Open the cited file:line. Codex
reviews without conversation context and will sometimes flag intentional
behaviour, or cite a line that doesn't say what it claims. A review that
forwards false positives is worse than no review.
2. **Present it as three groups**: confirmed findings (with your verification),
findings you checked and disagree with (say why), and anything you couldn't
verify.
3. **Don't auto-fix.** Show the user the findings and let them choose. If they ask
for fixes, apply them yourself — you have the conversation context.
4. Attribute clearly: these are Codex's findings, and your assessment of them.
## Rules
- Bash timeout ≥ 1200000 ms (20 min) for anything branch-sized.
- Never pass `-s workspace-write` for a review.
- Ask the user to commit or stash unrelated work first, so the diff is clean.
- One review call per scope; spends the user's ChatGPT plan quota.
For a review that also needs follow-up investigation across the repo, use the
`codex-reviewer` subagent instead so the exploration stays out of this context.
© Sateezg · MIT · Sateezg/codex-bridge
Похожие скиллы
Все скиллы по теме «Код-ревью и рефакторинг» →Сначала — codex-review от других авторов.