Skip to content
Skills Library
Programming · Review & audit

ask-codex

/ask-codex

Get a second opinion or independent review from Codex (OpenAI) via the local Codex CLI. Use when the user wants Codex to review a design memo, PR, diff, or decision, or to cross-check an approach from another model. Also trigger on "Codexに聞いて", "Codexと相談", "Codexにレビュー", "Codexの意見", "別のモデルで確認".

Licence
MIT
Last repository change
28.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Get a second opinion or independent review from Codex (OpenAI) via the local Codex CLI. Use when the user wants Codex to review a design memo, PR, diff, or decision, or to cross-check an approach from another model. Also trigger on "Codexに聞いて", "Codexと相談", "Codexにレビュー", "Codexの意見", "別のモデルで確認".

Triggers from the description

Codexに聞いてCodexと相談CodexにレビューCodexの意見別のモデルで確認
Original author description

Get a second opinion or independent review from Codex (OpenAI) via the local Codex CLI. Use when the user wants Codex to review a design memo, PR, diff, or decision, or to cross-check an approach from another model. Also trigger on "Codexに聞いて", "Codexと相談", "Codexにレビュー", "Codexの意見", "別のモデルで確認".

How it works

  1. Purpose
  2. How Codex is invoked
  3. Steps
  4. Guardrails
Original SKILL.md headings · 67 lines, 450 words
SKILL.md preview
---
name: ask-codex
description: Get a second opinion or independent review from Codex (OpenAI) via the local Codex CLI. Use when the user wants Codex to review a design memo, PR, diff, or decision, or to cross-check an approach from another model. Also trigger on "Codexに聞いて", "Codexと相談", "Codexにレビュー", "Codexの意見", "別のモデルで確認".
allowed-tools: Bash, Read
---

## Purpose

Delegate a focused question or review to **Codex** (OpenAI's CLI) and relay
its answer back to the user as an independent, attributed second opinion.

This skill does not replace your own judgment — it gathers Codex's view so the
user can compare it against yours (and against other reviewers such as
Antigravity).

## How Codex is invoked

The repository ships a project-local Codex config (`.codex/config.toml`) and a
wrapper script. Always call Codex through the script so the project config and
working directory are correct:

```bash
npm run codex:exec -- "<prompt>"
```

This runs `codex exec` non-interactively (`CODEX_HOME=.codex`, `-C <repo root>`)
and prints Codex's answer to stdout. Codex runs in the repo, so it can read
files itself — reference paths in the prompt instead of pasting large files.

## Steps

1. **Frame the prompt.** Turn the user's request into a single self-contained
   prompt for Codex. Include:
   - the role ("You are a senior reviewer of River Review …"),
   - the file paths Codex should read (e.g. `docs/development/1255-…md`,
     `runners/core/review-runner.mjs`),
   - the specific questions to answer, numbered,
   - a request to be concise and to state a clear conclusion.
2. **Run Codex** with a generous timeout (design reviews can take minutes).
   Set the timeout on the Bash tool call itself (e.g. `timeout: 600000` ms) —
   do **not** prefix the command with `timeout 600`: macOS ships no GNU
   `timeout` binary, so that prefix fails with `command not found`.

   ```bash
   npm run codex:exec -- "<prompt>"
   ```

3. **Handle authentication failure.** If the output contains
   `401 Unauthorized` / `Missing bearer` / `Reconnecting...`, Codex is not
   authenticated. Do **not** retry blindly. Tell the user to authenticate
   themselves in this session (these are interactive / secret-bearing and you
   cannot run them for them):
   - `! CODEX_HOME="$(git rev-parse --show-toplevel)/.codex" codex login`
     (the `CODEX_HOME` prefix is required — a bare `codex login` writes
     credentials to `~/.codex` and the project-local config keeps failing), or
   - set `OPENAI_API_KEY` in the environment (warn that pasting a key into chat
     leaves it in history; prefer env/keychain).
     Then offer to re-run once authenticated.
4. **Relay faithfully.** Quote or summarize Codex's answer and **attribute it to
   Codex** ("Codex の見解:"). Keep Codex's conclusion distinct from your own. If
   you disagree, say so separately — do not silently overwrite its opinion.
5. **Persist when useful.** For design decisions, offer to record Codex's
   verdict in the relevant memo / issue / PR so it is not lost.

## Guardrails

- Never paste secrets or `.env` contents into the Codex prompt.
- Codex executes in `workspace-write` sandbox; treat its file edits as
  proposals to review, not as automatically trusted changes.
- This skill is for **advisory** review. Decisions and commits stay with the
  user and with you.

Versions

RepositoryScoreLicence
This page · s977043/river-review100MIT
tslava/agent-kit100MIT
umputun/cc-thingz100MIT
xdg/xdg-claude100Apache-2.0
awinogradov/code-assistants100MIT
yeaight7/agent-powerups100Apache-2.0
sateezg/codex-bridge84MIT

Database snapshot: 13.11.2026 · package version 139ea4ca64b1 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90codex
    Ask OpenAI's Codex CLI for help — a second opinion, a code review or a delegated task. Use when the user says "/codex", "ask Codex", "have Codex do it" or "second opinion".
  • 95codex-review
    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…
  • 100codex
    Run OpenAI Codex CLI (via AWS Bedrock) non-interactively to get a second opinion, review a diff, or delegate a task. Use when the user asks to "run codex", "ask codex", or get a Codex review/answer.
  • 100codex-review
    Get an independent second opinion from OpenAI Codex CLI on a plan, diff, spec, or Claude's last response. Use when the user asks to "get a second opinion", "have codex review", "cross-check with codex", or wants adversarial review of Claude's output. Argument is one of…
  • 100codex-review
    Get a second-opinion code review from OpenAI Codex via the `codex-run` CLI — dispatch it, wait on it correctly, verify what it found, and post it only when a human says so. Use ONLY when the user names Codex explicitly: "review this with codex", "codex review", "codex-review",…
  • 100cross-review
    One-shot second-opinion review of a real diff by a DIFFERENT model (Claude, Codex or Antigravity) — advisory only, board-recorded. Triggers on: cross review, second opinion, ask another model to review, pre-merge check from codex.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.