Codex CLI

SkillProductivity

Your AI can delegate code analysis and coding tasks to Codex and use the results Codex returns. This is useful when you want repository work handed off to Codex, or when you want a second coding agent's result alongside your AI's own work.

Available today. Use it from your connected AI after setup.

After adding the skill, ask your AI to delegate a coding or code analysis task to Codex, such as work in a repository. Your AI will run Codex and use the results it produces.

Then ask your AI: use the Codex CLI skill

What your AI can do with it

  • Delegate code analysis tasks to Codex
  • Delegate coding and implementation tasks to Codex
  • Get a second coding agent's result on the same repository work
  • Run Codex tasks without a back-and-forth session

What this skill tells your AI

The instructions your AI receives, as published by cherryhq/cherry-studio in resources/code-cli-skills/code-mate-codex/SKILL.md and read by ahel’s review.

Run

  1. Set the Bash working directory to the exact project the user named and set a finite timeout, normally 10 minutes.
  2. Check availability with command -v codex. If it is missing, stop and ask the user to install Codex CLI in Code Mate.
  3. Run one task and exit:
codex exec "<prompt>" --json

Pass the prompt as one quoted argument. Parse stdout as JSONL, preserve event order, and use the final agent message as the result. Treat an error event or nonzero exit as failure. Never start interactive codex or codex login.

Authentication And Permissions

If Codex reports missing login or API configuration, stop and ask the user to finish Codex setup in Code Mate. Never request, read, print, or copy credentials.

Use --sandbox read-only unless the user explicitly requested workspace changes. For an approved edit, use only the narrowest suitable sandbox and working directory; never add --dangerously-bypass-approvals-and-sandbox. Add --skip-git-repo-check only when the user intentionally selected a non-Git directory.

Example: for a review request, append --sandbox read-only, ask Codex not to modify files, and summarize the final JSONL message plus any reported errors.

Signals

GitHub stars
52k
Forks
5k
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
code-mate-codex
Source
github.com/cherryhq/cherry-studio
Codex CLI (code-mate-codex): Skill · ahel