Back to list
GantisStorm

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📅 Jan 24, 2026

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

FlagPurpose
execNon-interactive execution mode
-m gpt-5.2Model selection
--reasoning-effort highReasoning effort (minimal, low, medium, high, xhigh)
--sandbox read-onlyPrevent file modifications
--sandbox workspace-writeAllow writes within workspace
--ask-for-approval neverNon-interactive mode
--searchEnable web search
-C DIRSet 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: true for Bash calls
  • Always append 2>&1 to 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

Score

Total Score

55/100

Based on repository quality metrics

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

Reviews

💬

Reviews coming soon