Best fit
- "Ask Codex to review this change"
- "Use my Codex subscription from Claude Code"
- Need a second model to inspect a bug, review a diff, or propose an implementation
sonichi/sutando
Bash wrapper around the local Codex CLI for non-interactive runs from inside Sutando (bridges, cron, scripts). For interactive code review or task hand-off from this Claude Code session, prefer the official `/codex:*` plugin commands; this skill is the file-bridge-compatible path that `discord-bridge.py` invokes for team-tier sandboxed delegation.
npx skills add https://github.com/sonichi/sutando --skill "skills/claude-codex"Source checked Jul 28, 2026·Refresh due Oct 26, 2026
Reorganized from the pinned upstream SKILL.md
According to the pinned SKILL.md from sonichi/sutando: Delegate work from Claude Code to the local codex CLI. This skill assumes Codex is already authenticated on this machine. It does not mint, extract, or transfer credentials.
npx skills add https://github.com/sonichi/sutando --skill "skills/claude-codex"Best fit
Bring this context
Expected outputs
Key source sections
Sections are extracted automatically from the pinned SKILL.md and link back to the source.
bash "$SKILLDIR/scripts/codex-run.sh" --review --uncommitted -- "Prioritize bugs and missing tests"
bash "$SKILLDIR/scripts/codex-run.sh" --review --base main -- "Focus on regressions and security"
The safe, read-only way to get a Codex review of a GitHub PR. Fetches the diff with gh pr diff (READ-ONLY — no checkout, never mutates git state or fails on a dirty tree), inlines it into codex exec --sandbox read-only, and wraps the whole thing in codex-bounded.sh so a slow/wed…
"Ask Codex to review this change"
If you don't see /codex: slash-commands available, install the plugin in this Claude Code session:
SkillSignal prompt templates
These prompts were written by SkillSignal from the source structure; they are not upstream text.
Task-start prompt
Confirm source fit, inputs, and outputs before acting.
Use claude-codex to help me with: [specific task]. Context: [files, data, or background]. Constraints: [environment, scope, and prohibited actions]. Before acting, check the pinned SKILL.md and explain which sections apply, what inputs are still missing, and what you will deliver.
Source-guided execution
Make the Agent explicitly follow the key extracted sections.
Apply the pinned claude-codex source to [task]. Pay particular attention to these source sections: “Safer review of current uncommitted changes”, “Review against a base branch”, “PR review — scripts/review-pr.sh (read-only, bounded)”, “When to Use”, “When NOT to Use”. Preserve the important decision at each step. Mark facts not covered by the source as “needs confirmation” instead of inventing them. Then verify the result against my acceptance criteria: [criteria].
Result-review prompt
Check omissions, permissions, and source drift before delivery.
Review the current claude-codex result: (1) does it satisfy the original task; (2) were any applicable steps or limits in the pinned SKILL.md missed; (3) did it perform any unauthorized file, command, network, or data action; and (4) which conclusions remain unverified? List issues first, then fix only what the source or user authorization supports.
Output checklist
The task matches the purpose documented in the SKILL.md.
The source section “Safer review of current uncommitted changes” has been checked.
The source section “Review against a base branch” has been checked.
The source section “PR review — scripts/review-pr.sh (read-only, bounded)” has been checked.
The source section “When to Use” has been checked.
Inputs, constraints, and acceptance criteria are explicit.
Unverified facts, compatibility, and outcome claims are clearly marked.
Any file, command, network, or data action has been reviewed.
Choose a different workflow
Multi-agent orchestration using dmux (tmux pane manager for AI agents). Patterns for parallel agent workflows across Claude Code, Codex, OpenCode, and other harnesses. Use when running multiple agent sessions in parallel or coordinating multi-agent development workflows.
A separate implementation from affaan-m/ECC; compare its source, maintenance signals, and permission requirements.
Open source detailMulti-agent orchestration using dmux (tmux pane manager for AI agents). Patterns for parallel agent workflows across Claude Code, Codex, OpenCode, and other harnesses. Use when running multiple agent sessions in parallel or coordinating multi-agent development workflows.
A separate implementation from affaan-m/ECC; compare its source, maintenance signals, and permission requirements.
Open source detailChoose between the local Codex CLI and Gemini CLI from Claude Code. Use for automatic model selection when the user wants the best local delegate for code review, repo-wide analysis, planning, or implementation.
A separate implementation from sonichi/sutando; compare its source, maintenance signals, and permission requirements.
Open source detailFAQ
Delegate work from Claude Code to the local codex CLI. This skill assumes Codex is already authenticated on this machine. It does not mint, extract, or transfer credentials.
The catalog detected this source-specific install command: npx skills add https://github.com/sonichi/sutando --skill "skills/claude-codex". Inspect the command and pinned source before running it.
codex, claude code
Quality breakdown
Based on traceable docs and repository signals; stars are not treated as quality.
Compare before choosing
These links are selected from shared tasks, functions, stacks, platforms, and same-name variants. Compare the source owner, documentation, permissions, and maintenance signals.
Multi-agent orchestration using dmux (tmux pane manager for AI agents). Patterns for parallel agent workflows across Claude Code, Codex, OpenCode, and other harnesses. Use when running multiple agent sessions in parallel or coordinating multi-agent development workflows.
Multi-agent orchestration using dmux (tmux pane manager for AI agents). Patterns for parallel agent workflows across Claude Code, Codex, OpenCode, and other harnesses. Use when running multiple agent sessions in parallel or coordinating multi-agent development workflows.
Choose between the local Codex CLI and Gemini CLI from Claude Code. Use for automatic model selection when the user wants the best local delegate for code review, repo-wide analysis, planning, or implementation.
Use when the user says "review this", "check my code", or wants feedback on changes. Reviews for correctness, quality, security, and coding standards.
Turn ambiguous or high-impact product and engineering changes into scoped, verifiable acceptance criteria before or alongside implementation. Use when a user asks to clarify a feature, define acceptance criteria, de-risk a security/data/migration/integration change, prepare implementation requirements for another agent, or make a complex request testable. Do not trigger for trivial edits, straightforward fixes, active debugging, code review, or implementation requests whose acceptance conditions
Delegate work from Claude Code to the local codex CLI. This skill assumes Codex is already authenticated on this machine. It does not mint, extract, or transfer credentials.
Usage: /claude-codex [prompt]
ARGUMENTS: $ARGUMENTS
--goal to invoke Codex's /goal mode/codex:review, /codex:adversarial-review, or /codex:rescue from the openai/codex-plugin-cc plugin. They're the discoverable, versioned path./codex:status is the right surface.If you don't see /codex:* slash-commands available, install the plugin in this Claude Code session:
/plugin marketplace add openai/codex-plugin-cc
/plugin install codex@openai-codex
/reload-plugins
/codex:setup
This skill stays as the non-interactive bash-wrapper path — invoked by discord-bridge.py's team-tier ===SUTANDO SYSTEM INSTRUCTIONS=== block (codex exec --sandbox read-only on Discord tasks from non-owner senders), cron-fired jobs that need a one-shot codex call, and similar file-bridge workflows where a plugin slash-command can't reach.
codex review --uncommitted for code review.codex exec for analysis, planning, or implementation prompts.-C "$PWD" unless the user asked for another directory.workspace-write sandbox or stricter. Do not use bypass flags unless the user explicitly asks.codex login status
bash "$SKILL_DIR/scripts/codex-run.sh" --check
# General delegation
bash "$SKILL_DIR/scripts/codex-run.sh" -- "Inspect src/task-bridge.ts for race conditions"
# Safer review of current uncommitted changes
bash "$SKILL_DIR/scripts/codex-run.sh" --review --uncommitted -- "Prioritize bugs and missing tests"
# Review against a base branch
bash "$SKILL_DIR/scripts/codex-run.sh" --review --base main -- "Focus on regressions and security"
# Save the last Codex message to a file
bash "$SKILL_DIR/scripts/codex-run.sh" --output-last-message results/codex-review.txt -- "Review the current workspace"
# Spec-driven one-shot build (Codex /goal mode)
bash "$SKILL_DIR/scripts/codex-run.sh" --goal -- "$(cat path/to/spec.md)"
scripts/review-pr.sh <N> (read-only, bounded)The safe, read-only way to get a Codex review of a GitHub PR. Fetches the diff with
gh pr diff <N> (READ-ONLY — no checkout, never mutates git state or fails on a dirty
tree), inlines it into codex exec --sandbox read-only, and wraps the whole thing in
codex-bounded.sh so a slow/wedged review can't grind unbounded.
bash "$SKILL_DIR/scripts/review-pr.sh" 1754 # default --max 240 --stall 60
bash "$SKILL_DIR/scripts/review-pr.sh" 1754 --max 300 # longer cap for a big diff
Prints Codex's verdict to stdout. Exit 0 = verdict produced; 124 = hit the --max
cap; 125 = stalled (no output for --stall s); other non-zero = gh/codex error.
Timing: codex exec is agentic — even with the diff inlined it may explore related
code, so a real review often takes 100s+ (147s observed on #1754). Keep --max ≥180;
do NOT drop it near 120 or you'll kill legitimate reviews. This is the path the team-tier
===SUTANDO SYSTEM INSTRUCTIONS=== block runs to auto-review a non-owner PR-review request
(owner-ping only on failure).
scripts/codex-bounded.shGeneric stall-watchdog + wall-clock cap for any (sandboxed) delegation. --stall N kills the
process tree after N seconds of total output SILENCE (the "never going to finish" signal —
a healthy codex streams as it works); --max M is the absolute backstop (--max 0 disables
it, stall-only). Exit 125 = stalled, 124 = max cap. Used by review-pr.sh and by the
discord-bridge team/other-tier codex exec delegation so a sandboxed run can't grind forever.
bash "$SKILL_DIR/scripts/codex-bounded.sh" --stall 90 --max 240 -- <command...> < /dev/null
/goal mode (--goal)Wraps Codex's interactive /goal slash-command for non-interactive use. The flag prepends
/goal to the prompt and forces --full-auto so Codex can write files unattended.
Reach for it when:
--goal in parallel with Claude's own
build for cross-check).Skip it when:
/goal is one-shot and does not self-correct on failure.--review --uncommitted for diffs or a plain prompt for general delegation.--goal (e.g., /claude-codex --goal Build a self-playing demo), strip the prefix and route the remaining text through --goal mode:PROMPT="${ARGUMENTS#--goal }"
bash "$SKILL_DIR/scripts/codex-run.sh" --goal -- "$PROMPT"
bash "$SKILL_DIR/scripts/codex-run.sh" -- "$ARGUMENTS"