code-mate-codex
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.
Skill link
https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-codex/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Analyze this code and tell me if there are any errors.”
5 new skills a week. 1 minute to read.
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.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Codex CLI
Run
- Set the Bash working directory to the exact project the user named and set a finite timeout, normally 10 minutes.
- Check availability with
command -v codex. If it is missing, stop and ask the user to install Codex CLI in Code Mate. - 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
- #3375
- License
- AGPL-3.0
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
code-mate-antigravity
53kLets your agent analyze code and perform programming tasks. It's useful for reviewing or improving existing code.
code-mate-claude-code
53kHelps your agent analyze and implement code. It's useful for software development tasks and code reviews.
code-mate-deepseek-harness
53kHelps your agent analyze and implement code in repositories. It's useful for bounded development tasks and code analysis.
code-mate-gemini
53kLets your agent analyze code and perform programming tasks. It's useful for delegating coding work or comparing results.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.