ask-codex
/ask-codex
Ask OpenAI Codex (GPT-5) a one-off question about the current repo and get its answer back, without spinning up a subagent. Use when the user says "ask codex", "what does GPT think", "get a second opinion on this", or when you want an independent read on a design call, a tricky bug, or an unfamiliar area of the codebase.
- Author
- sateezg ↗
- Repository
- codex-bridge ↗
- Licence
- MIT
- Last repository change
- 10.08.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 10.08.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Ask OpenAI Codex (GPT-5) a one-off question about the current repo and get its answer back, without spinning up a subagent. Use when the user says "ask codex", "what does GPT think", "get a second opinion on this", or when you want an independent read on a design call, a tricky bug, or an unfamiliar area of the codebase.
Triggers from the description
Original author description
Ask OpenAI Codex (GPT-5) a one-off question about the current repo and get its answer back, without spinning up a subagent. Use when the user says "ask codex", "what does GPT think", "get a second opinion on this", or when you want an independent read on a design call, a tricky bug, or an unfamiliar area of the codebase.
How it works
- Writing the question
- Useful options
- Rules
SKILL.md preview
---
description: Ask OpenAI Codex (GPT-5) a one-off question about the current repo and get its answer back, without spinning up a subagent. Use when the user says "ask codex", "what does GPT think", "get a second opinion on this", or when you want an independent read on a design call, a tricky bug, or an unfamiliar area of the codebase.
---
# Ask Codex a question
For a single question with a single answer. Anything multi-step or long-running
belongs to a subagent (`codex-second-opinion`, `codex-reviewer`, `codex-debugger`).
```bash
codex-run -C <repo-dir> "<self-contained question>"
```
`codex-run` prints **only Codex's final answer** on stdout (it captures the final
message via `codex exec -o` rather than dumping the whole event log). It defaults
to a read-only sandbox, so Codex can read the repo but cannot change anything.
## Writing the question
Codex has zero knowledge of this conversation. Every question must stand alone:
- Name the files or directories it should look at.
- State what you already know or already tried.
- Say what shape of answer you want ("name the single most likely cause and the
line to look at", "answer yes/no then justify in three sentences").
```bash
codex-run -C /path/to/repo \
"In src/auth/session.ts, refreshToken() occasionally returns a token that fails validation immediately. I suspect a clock-skew issue in the exp comparison. Read that file plus src/auth/jwt.ts and tell me the single most likely root cause and the exact line. Be concise."
```
## Useful options
```
-s workspace-write let Codex modify files (only when the user asked for that)
-m gpt-5-codex model override
-r continue the previous codex session (follow-up question)
--timeout 1800 raise the 900s default for a big repo sweep
--raw also print Codex's full event log to stderr, for debugging
```
Use `-r` for a genuine follow-up — it keeps Codex's own context and avoids paying
to re-read the repo:
```bash
codex-run -C /path/to/repo -r "Now show me the minimal patch for that."
```
## Rules
1. **Bash timeout ≥ 600000 ms** (10 min) — Codex explores the repo before answering.
2. **Report its answer as Codex's**, not as your own conclusion. Quote it, then add
your own take separately if you disagree — the value here is having two
independent opinions, and blending them destroys that.
3. **Sanity-check it.** Codex can confidently cite files or lines that don't exist.
Verify any specific claim against the repo before acting on it.
4. **Read-only unless told otherwise.** Don't pass `-s workspace-write` on your own
initiative.
5. Each call spends the user's ChatGPT plan quota. One question, one call.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · sateezg/codex-bridge | 84 | MIT |
| tslava/agent-kit | 100 | MIT |
| s977043/river-review | 100 | MIT |
| umputun/cc-thingz | 100 | MIT |
| xdg/xdg-claude | 100 | Apache-2.0 |
| awinogradov/code-assistants | 100 | MIT |
| yeaight7/agent-powerups | 100 | Apache-2.0 |
Database snapshot: 13.11.2026 · package version 7c808c949d91 (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
- 100second-opinion
Use when the user wants a second opinion or an outside review from OpenAI's GPT through the Codex CLI — phrases like "second opinion", "ask ChatGPT", "ask GPT", "ask Codex", "review with GPT", "what would GPT say", in any language. GPT only reads and answers; Claude shows its… - 100second-opinion
Get a second opinion from another AI model (currently OpenAI models, via the codex CLI) on a design decision, a stubborn bug, a code review, or any question where an independent take is valuable. Use only when the user explicitly asks for one -- "get a second opinion", "ask… - 100review
Delegate a read-only code review to a Codex subagent (GPT 6.1 Sol by default) that inspects code and reports findings without editing anything. Use when the user wants Codex — or "GPT-5.5" — to review, look over, audit, or give a second opinion on a diff, branch, pull request,… - 100use-codex
Delegate independent codebase analysis, adversarial review, debugging, implementation, or patching to OpenAI Codex CLI as an external subagent. Use only when the user explicitly asks to use Codex, requests a Codex review or second opinion, or wants Codex to patch files. Route… - 95ask
Put one question to several models at once — you, OpenAI Codex, and a cheap third via OpenCode — and show all the answers side by side. No judging, no consensus: three opinions, the user picks. Use for "ask everyone", "what do the other models think", "second opinion", "multi… - 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".