code-mate-claude-code
What it does
This tool runs Claude Code to analyze or create code. It can be used for programming tasks you would delegate to a colleague.
When to use it
- ✓When you want the AI to analyze code in a project.
- ✓When you ask the AI to implement a specific feature.
- ✓When you want to compare the AI's result with another program.
Skill link
https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-claude-code/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
“Claude, analyze this code and tell me if there are any errors.”
5 new skills a week. 1 minute to read.
code-mate-claude-code: full guide
Sometimes you are working with one AI agent and want a second one to take a task. You might want a fresh look at a bug, a feature built in a separate run, or a result to compare against what your main agent produced. Doing that by hand means opening another tool, pointing it at the right folder and copying text back and forth.
This skill removes that handoff. Your agent starts Claude Code in the background, in your project folder, gives it your instructions and brings back the text answer. It is meant for people who already use an agent such as Cursor, Codex or Claude and want to delegate repository work to Claude Code. It needs Claude Code installed and set up inside Code Mate.
Use cases
Get a second opinion on a bug
Your agent says a login function is fine, but users still get logged out after an hour. You ask Claude Code to read the session handling files and report likely causes. You then compare its answer with your first agent's view.
Compare two implementations
You need a CSV export feature. One agent builds it in your main branch. You ask Claude Code to write its own version from the same description, then compare which handles empty rows and special characters more cleanly before choosing one.
Hand off a read-only code audit
You inherited a folder with 200 files and no notes. You ask Claude Code to scan it and list unused functions and unclear parts. By default it only reads files, so you get a report without any change to your code.
Step by step
- 1Install Claude Code through Code Mate and finish its setup, including login. Without this the skill only reports that setup is missing.
- 2Put the skill folder in ~/.claude/skills/code-mate-claude-code-cherryhq/ (or your project's .claude/skills/) so your agent can find it.
- 3Open your agent inside the project you want analyzed, so the right folder is used as the working location.
- 4Ask clearly for delegation, for example: 'Use Claude Code to review the payment module and list risks.' Say whether you want only analysis or also changes.
- 5Read the text answer that comes back, then compare it with your own agent's result or apply the suggestions yourself.
Example
What to ask
“Delegate to Claude Code: look at the src/billing folder and tell me why invoice totals are sometimes off by one cent. Do not change any files.”
What you get
Claude Code ran in your project and returned a text report. It pointed to a rounding step in the tax calculation that rounds each line item before summing. It suggested rounding once at the end. No files were modified, since you asked for analysis only.
Tips
- ✓Say in your request whether Claude Code may edit files. The default is read-only, so if you want changes you must ask for them clearly.
- ✓Run the skill from the correct project folder. If the working location is wrong, the answer will describe the wrong code or find nothing.
- ✓The skill returns a text answer only. For long tasks, ask for a short summary with file names so the result is easy to check against your own agent's output.
Alternatives
- code-review
Pick this when you want your changes checked against your repo's coding standards and the original spec before merging, rather than a general delegated analysis.
- diffs
Pick this when you want to see exactly what changed after an agent edits files, as a shareable diff instead of a written summary.
- executing-plans
Pick this when you already have a written plan and want your current agent to carry it out step by step with tests, without a second agent.
Questions and answers
Do I need a separate Claude account to use this skill?
Claude Code must be installed and set up inside Code Mate. If it needs login or configuration, the skill tells you to finish that setup first. The material does not describe account details beyond this.
Can I use this to compare Claude Code with another AI agent?
Yes. The skill is meant for cases where you delegate work to Claude Code or compare its result with another coding agent. You run the same request in both and judge the answers yourself.
Does it work on any folder on my computer?
It runs Claude Code in the project location it sets for your task. Open your agent in the project you want examined, and ask for work on that folder, so the right files are read.
How it works
The tool sets the correct location for your project and runs Claude Code with your instructions. It expects a text response and shows you the result.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Claude Code
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 claude. If it is missing, stop and ask the user to install Claude Code in Code Mate. - Run one task and exit:
claude -p "<prompt>" --output-format json
Pass the prompt as one quoted argument. Parse the JSON result and report stderr and the exit status on failure. Never start the interactive REPL or /login flow.
Authentication And Permissions
If Claude reports missing login, API credentials, or provider configuration, stop and ask the user to finish Claude Code setup in Code Mate. Never request, read, print, or copy credentials.
Keep tool access read-only by default. Add only the smallest necessary --allowedTools entries when the task explicitly requires tools, and grant edit or shell tools only when the user explicitly requested workspace changes. Do not use a permission-bypass mode.
Example: for a review request, ask Claude to inspect the current repository without changing files, run the command above, then summarize the parsed JSON result.
FAQ
What happens if Claude Code is not installed?
The tool will inform you that Claude Code needs to be installed in Code Mate.
What if the AI needs login or configuration?
The tool will ask you to complete the Claude Code setup in Code Mate.
Can the tool change my files?
By default, it only reads your files. It will only make changes if you explicitly ask and with the correct permissions.
Details
Original description by the author
Runs Claude Code non-interactively for code analysis and implementation tasks. Use when the user asks to delegate repository work to Claude Code or compare its result with another coding agent.
repo: CherryHQ/cherry-studio
Popularity
- GitHub stars
- 53k
- Ranking position
- #3374
- 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-codex
53kLets your agent analyze and implement code. It's useful for getting coding results or comparing with other tools.
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.