cli-llm-routing
Installation
SKILL.md
cli-llm-routing
How to actually invoke Codex and Gemini. The "never call the REST API directly" rules are global Hard Rules — this skill documents the supported invocation paths.
Codex CLI
Always use codex-smart, which wraps codex with the local ChatGPT OAuth login at ~/.codex.
# Standard exec
codex-smart exec --dangerously-bypass-approvals-and-sandbox --skip-git-repo-check -o /tmp/codex-output.md "prompt"
# Hard architecture problems — use o3 for max reasoning
codex-smart exec -c model='"o3"' --dangerously-bypass-approvals-and-sandbox --skip-git-repo-check -o /tmp/codex-output.md "prompt"
# Live web / latest docs / fresh data
codex-smart --search exec --dangerously-bypass-approvals-and-sandbox --skip-git-repo-check -o /tmp/codex-output.md "prompt"