← Back to list

codex-cli
by odysseus0
My declarative macOS development environment managed with nix-darwin and home-manager
⭐ 0🍴 0📅 Jan 22, 2026
SKILL.md
name: codex-cli description: Use Codex CLI for web search, code review, and writing review. Triggers on (1) web search requests, (2) code review of git changes, (3) writing/file review. Use for "search the web for...", "review this code", "review my changes", "review this file".
Codex CLI
OpenAI's Codex CLI for web search and reviews. All commands are non-interactive.
Web Search
ChatGPT-tuned agentic search. Default: gpt-5.2 with medium reasoning.
codex exec "your question" -c 'tools.web_search=true' -m gpt-5.2 -c model_reasoning_effort="medium" \
--output-last-message /tmp/codex-result.txt >/dev/null 2>&1 && cat /tmp/codex-result.txt
Code Review (Git Changes)
Default: gpt-5.2-codex with high reasoning.
# Review uncommitted changes (staged + unstaged + untracked)
codex review --uncommitted -c model="gpt-5.2-codex" -c model_reasoning_effort="high"
# Review against a base branch
codex review --base main -c model="gpt-5.2-codex" -c model_reasoning_effort="high"
# Review a specific commit
codex review --commit <sha> -c model="gpt-5.2-codex" -c model_reasoning_effort="high"
# Custom review instructions
codex review --uncommitted "Focus on security issues" -c model="gpt-5.2-codex" -c model_reasoning_effort="high"
Writing/File Review
Review a file for clarity, density, and fluff removal.
codex exec "Review the writing at <filepath>. Provide an improved version in full, then explain each change. Prioritize: removing fluff, increasing information density, improving clarity. No stylistic preferences." \
--skip-git-repo-check --output-last-message /tmp/codex-result.txt >/dev/null 2>&1 && cat /tmp/codex-result.txt
Use your judgment to incorporate high-value changes directly. Briefly summarize what you changed and why.
Reasoning Effort
Override with -c model_reasoning_effort="low|medium|high". Higher = deeper analysis, slower.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon