← スキル一覧に戻る

codex-cli
by GantisStorm
The Pair Planning Framework: A pluggable multi-agent planning framework for Claude Code. Swap planning engines (Claude, RepoPrompt, Codex) while keeping the same discovery agents and execution patterns.
⭐ 3🍴 0📅 2026年1月24日
SKILL.md
name: codex-cli description: Reference for Codex CLI usage patterns. Consult before calling codex via Bash.
Codex CLI Reference
Quick reference for Codex CLI commands.
Basic Command
codex exec "[prompt]" -m gpt-5.2 --reasoning-effort high --sandbox read-only --ask-for-approval never 2>&1
Common Flags
| Flag | Purpose |
|---|---|
exec | Non-interactive execution mode |
-m gpt-5.2 | Model selection |
--reasoning-effort high | Reasoning effort (minimal, low, medium, high, xhigh) |
--sandbox read-only | Prevent file modifications |
--sandbox workspace-write | Allow writes within workspace |
--ask-for-approval never | Non-interactive mode |
--search | Enable web search |
-C DIR | Set working directory |
Session Continuation
# Resume a previous session
codex resume [session-id] "[prompt]" --sandbox read-only --ask-for-approval never 2>&1
Note: Session IDs are returned in Codex output.
Bash Execution Notes
- Use
dangerouslyDisableSandbox: truefor Bash calls - Always append
2>&1to capture all output - Use timeout of 300000ms (5 min) or longer for complex tasks
Safety Requirements
NEVER use these flags:
--dangerously-bypass-approvals-and-sandbox- FORBIDDEN--sandbox danger-full-access- FORBIDDEN
Troubleshooting
Timeout: Complex analysis may take 5-10 minutes. Use longer timeout values.
Authentication: Codex CLI must be authenticated via codex login.
Flag errors: Run codex --help to verify correct flag usage.
More Information
- CLI reference:
codex --help - Official docs: https://github.com/openai/codex
スコア
総合スコア
55/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です