agentleFS
YumenoYumeno/add_codexcli/.agents/skills/ask-codex/SKILL.md

ask-codex

Skill0 starsChanged 54 days agoMITView on GitHub

Codex CLIに設計判断、バグ調査、実装方針などのセカンドオピニオンを求める。ユーザーが「Codexに聞いて」「ask-codex」など、Codex CLIへの問い合わせを明示した場合に使う。ファイルやdiffを渡す場合はask-codex-with-contextを使う。

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Codex CLIに質問する

ユーザーの質問を改変せず、wrapperへ渡す。現在の作業ディレクトリを前提にせず、この SKILL.md のディレクトリ直下の scripts/ を絶対パスへ解決する。

手順

  1. 質問が空なら内容を確認する。
  2. OSに合うwrapperを、シェル演算子や出力リダイレクトを組み合わせず、単独のコマンドとして実行する。
  3. Windowsでは次を使う。
powershell -ExecutionPolicy Bypass -NoProfile -File "<解決したscripts>\codex-wrapper.ps1" -Prompt "質問"
  1. Linux/macOSでは次を使う。
bash "<解決したscripts>/codex-wrapper.sh" --prompt "質問"
  1. wrapperが返す失敗sentinelをCodexの回答として扱わず、呼び出し失敗として提示する。
  2. 成功時は回答を「Codex CLIの回答」として引用し、必要なら自身の見解との差分を短く補足する。

wrapperはCodex CLIの -SandboxMode を既定の read-only で呼ぶ。明示的にmodeを渡そうとしない。

モデルをユーザーが指定した場合だけ -Model / --model を追加する。モデル名を推測しない。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.