Skip to content
Skillpedia
General coding53k · #1804

code-mate-codex

Lets your agent analyze and implement code. It's useful for getting coding results or comparing with other tools.

What it does

This tool helps you analyze and implement code. It runs a program called Codex to perform tasks on your programming project.

When to use it

  • ✓When you want the AI to analyze your code.
  • ✓When you ask the AI to make changes to the code.
  • ✓When you want a second opinion from another AI on your code.

Example of what to ask your AI

“Analyze this code and tell me if there are any errors.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-codex/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-codex/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool sets up the environment for the Codex program, sends your instructions, and waits for the result. It shows the final result or informs you if something went wrong.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add CherryHQ/cherry-studio --skill code-mate-codex

Or download just the file:

curl -L https://raw.githubusercontent.com/CherryHQ/cherry-studio/main/resources/code-cli-skills/code-mate-codex/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Codex CLI

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.

FAQ

What is Codex?

Codex is a program that helps programmers analyze and write code.

Do I need to install anything?

Yes, you need to install the Codex CLI in Code Mate to use this tool.

Can the tool change my files?

It only changes your files if you explicitly ask and it's configured to do so. Most of the time, it just analyzes the code without making changes.

Details

Original description by the author

Runs Codex CLI non-interactively for code analysis and implementation tasks. Use when the user asks to delegate repository work to Codex or obtain a second coding-agent result.

repo: CherryHQ/cherry-studio

Popularity

GitHub stars
53k
Ranking position
#1804
License
AGPL-3.0
Updated
10/16/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills