본문으로 건너뛰기
cccskills
무료GitHub에 공개

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の意見", "別のモデルで確認".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구OpenAI
설치 방법 보기

포함된 파일(1)

  • SKILL.md3.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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:

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.

    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.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

<What this skill does>

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

s977043/river-review72026년 10월 20일 업데이트

画像・ボタン・フォーム要素に適切なアクセシブルネームがあるか確認する。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

s977043/river-review72026년 10월 20일 업데이트

Ensure ADRs capture context, decision, alternatives, tradeoffs, and follow-ups in a way that prevents future drift.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

s977043/river-review72026년 10월 20일 업데이트

敵対的分析手法を統合したレビューの entry skill。認知バイアス対策の3手法 (Pre-mortem / War Game / Logic Torturing)と、宣言・主張と実態の乖離を突く claim-vs-actual 検出3パターン(Self-Contradiction / Refactor-Claim Audit / Cross-File Leakage)へルーティングし、通常のレビューでは見えない設計の盲点・ 防御の穴・論理の弱点・宣言と実装のズレを可視化する。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

s977043/river-review72026년 10월 20일 업데이트

Review changes to the Agent Skills import/export bridge for path safety, round-trip fidelity, and validation correctness.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

s977043/river-review72026년 10월 20일 업데이트

Checks whether AI-assisted work defines review criteria, accessible context, explicit review loop, human judgment boundary, and feedback capture before delegating to an agent.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

s977043/river-review72026년 10월 20일 업데이트

s977043의 스킬 모두 보기

이 스킬의 문제 신고