Przejdź do treści
Biblioteka skilli
Programowanie · Przegląd i audyt

codex-review

/codex-review

Uruchamia przegląd zmian przez Codex CLI i poprawia je w pętli, aż kod będzie czysty, także jako drugą opinię o commicie.

Repozytorium
skill-codex ↗
Licencja
MIT
Ostatnia zmiana repozytorium
07.06.2026

Ocena i bezpieczeństwo

95/ 100Klasa: dobry
Format20 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 07.06.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Uruchamia przegląd zmian przez Codex CLI i poprawia je w pętli, aż kod będzie czysty, także jako drugą opinię o commicie.

Wyzwalacze z opisu

codex reviewhave codex checkrun codex on thatcodex loopreview with codex
Oryginalny opis (EN)

Run OpenAI Codex CLI to review code changes and iterate until clean. Use this skill whenever the user says "codex review", "have codex check", "run codex on that", "codex loop", "review with codex", or asks you to get a second opinion on your commit from Codex/OpenAI. Also use when the user mentions wanting an automated review loop, cross-model review, or peer review from another AI on committed code.

Jak działa

  1. Why this exists
  2. The review loop
  3. Disagreeing with Codex
  4. Command reference
  5. Edge cases
Sekcje z nagłówków SKILL.md, w oryginale · 82 linii, 561 słów
Podgląd SKILL.md
---
name: codex-review
description: Run OpenAI Codex CLI to review code changes and iterate until clean. Use this skill whenever the user says "codex review", "have codex check", "run codex on that", "codex loop", "review with codex", or asks you to get a second opinion on your commit from Codex/OpenAI. Also use when the user mentions wanting an automated review loop, cross-model review, or peer review from another AI on committed code.
---

# Codex Code Review

Review code changes using OpenAI's Codex CLI (`codex review`), then address any issues Codex raises, commit fixes, and re-review until Codex is satisfied.

## Why this exists

Getting a second pair of AI eyes on code catches things the author (Claude) missed. The loop ensures issues are actually resolved rather than just acknowledged.

## The review loop

### Step 1: Run the initial review

```bash
codex review --commit HEAD 2>/dev/null
```

- `2>/dev/null` suppresses thinking tokens on stderr — only show review output.
- If the user specifies a different commit, use that SHA instead of HEAD.
- The review runs in read-only mode by default (no sandbox flags needed).

### Step 2: Parse and assess the review

Read Codex's output and categorize each issue:

- **Actionable**: Real bugs, logic errors, security issues, missing edge cases — things worth fixing.
- **Stylistic/opinion**: Naming preferences, comment suggestions, minor restructuring — skip these unless the user has asked for thoroughness.
- **False positives**: Misunderstandings of the codebase, outdated advice, or things that don't apply — note these but don't act on them.

Present a summary to the user:
- How many issues Codex found
- Which ones you plan to address (and why)
- Which ones you're skipping (and why)

Wait for the user to confirm before making changes. They may want to override your assessment.

### Step 3: Fix and commit

Address the actionable issues. Commit the fixes as a new commit (not an amend) with a message like:

```
Address Codex review feedback

- Fix [brief description of fix 1]
- Fix [brief description of fix 2]
```

### Step 4: Re-review

Run `codex review --commit HEAD 2>/dev/null` again on the new fix commit to verify the issues are resolved.

- If Codex finds new issues in the fix commit, repeat from Step 2.
- If Codex is clean (no actionable issues), report success to the user.
- Cap at 3 iterations to avoid infinite loops. If issues persist after 3 rounds, present the remaining issues to the user and ask how to proceed.

## Disagreeing with Codex

Codex is a peer, not an authority. If Codex suggests something you know is wrong:

1. State your disagreement clearly to the user with evidence.
2. Optionally follow up via exec to discuss:
   ```bash
   echo "This is Claude following up. I disagree with [X] because [evidence]. What's your take?" | codex exec --skip-git-repo-check resume --last 2>/dev/null
   ```
3. Let the user make the final call.

## Command reference

| Action | Command |
|--------|---------|
| Review HEAD commit | `codex review --commit HEAD 2>/dev/null` |
| Review specific commit | `codex review --commit <SHA> 2>/dev/null` |
| Review uncommitted changes | `codex review --uncommitted 2>/dev/null` |
| Review against base branch | `codex review --base main 2>/dev/null` |
| Custom review instructions | `codex review --commit HEAD "Focus on security" 2>/dev/null` |

## Edge cases

- **No recent commit**: If the user asks for a review but hasn't committed yet, suggest `codex review --uncommitted` instead.
- **Large commits**: For commits touching many files, Codex may hit token limits. If the review seems truncated or shallow, mention this to the user and suggest reviewing file-by-file.
- **Timeout**: `codex review` can take 30-90 seconds. Use a 120s timeout on the bash call. If it times out, retry once before reporting failure.

Wersje

RepozytoriumWynikLicencja
Ta strona · ferrants/skill-codex95MIT
augchan42/inkstone100MIT
ClickHouse/ClickHouse100Apache-2.0
FrancoStino/opencode-skills-collection100MIT
closedloop-ai/claude-plugins100Apache-2.0
arjunrajlaboratory/mycelium100MIT
jscraik/Agent-Skills100Apache-2.0
LeeJuOh/claude-code-zero100MIT
LiHongwei-cn/lihongwei-cn100MIT

Migawka bazy z 28.10.2026 · wersja paczki 6bd2d8ccc2df (skrót SHA-256 całej paczki)

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100ask-codex
    Zbiera drugą opinię lub niezależny przegląd od Codex (OpenAI) przez lokalne CLI: notatka projektowa, pull request, diff lub decyzja do zweryfikowania innym modelem.
  • 100codex
    Uruchamia OpenAI Codex CLI przez AWS Bedrock nieinteraktywnie, by uzyskać drugą opinię, przejrzeć diff lub zlecić zadanie.
  • 100ask-codex
    Deleguje do OpenAI Codex CLI (codex exec, codex resume) analizę kodu, refaktoryzację lub automatyczną edycję i krytycznie ocenia wynik jak drugi model AI.
  • 95codex-exec
    Uruchamia Codex CLI w trybie nieinteraktywnym: wykonuje zadania, generuje kod albo daje drugą opinię i zwraca wynik strukturalny.
  • 100codex-plan-review
    Wysyła bieżący plan implementacji do Codex po niezależną drugą opinię i pozwala iterować plan przed jego wykonaniem.
  • 100codex-loop
    Naprawia kod Elixir i Phoenix w ograniczonej pętli przegląd, poprawka, weryfikacja, aż przegląd Codex CLI wróci bez uwag, przed otwarciem pull requesta.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.