code-mate-gemini
Lets your agent analyze code and perform programming tasks. It's useful for delegating coding work or comparing results.
What it does
This assistant helps you analyze code projects and perform programming tasks using Gemini CLI. It can check your code, compare results, and run specific commands for you.
When to use it
- ✓When you want the AI to analyze a specific module of your project.
- ✓When you need to compare the result of a coding task between different tools.
- ✓When you want the AI to execute a Gemini CLI command for you.
Example of what to ask your AI
“Analyze the 'user_auth' module in my project and tell me if there are any issues.”
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
Ready-to-paste message
How it works
It sets up your project environment, checks if the Gemini tool is installed, and runs a specific command with your instructions. Then, it shows you the result.
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-geminiOr download just the file:
curl -L https://raw.githubusercontent.com/CherryHQ/cherry-studio/main/resources/code-cli-skills/code-mate-gemini/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
Gemini 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 gemini. If it is missing, stop and ask the user to install Gemini CLI in Code Mate. - Run one task and exit:
gemini -p "<prompt>" --output-format json
Pass the prompt as one quoted argument. Parse the JSON result and treat a JSON error or nonzero exit as failure. Never start interactive Gemini or an authentication flow.
Authentication And Permissions
If Gemini reports missing authentication, project, or provider configuration, stop and ask the user to finish Gemini setup in Code Mate. Never request, read, print, or copy credentials.
Keep headless approval policy at its read-only default. Only when the user explicitly requests workspace changes may the command use the narrowest policy and tool permissions needed; do not enable unrestricted approval.
Example: ask Gemini to review a module without editing, run the command above from the repository, and summarize the parsed response and any reported error.
FAQ
What is Gemini CLI?
It's a command-line tool that allows you to interact with AI models like Gemini for programming tasks.
Do I need to install anything?
Yes, you need to have Gemini CLI installed in your environment. The assistant will let you know if it's missing.
Can the AI make changes to my code?
Generally, no. It's set up to only analyze and report unless you explicitly ask for changes with specific permissions.
Details
Original description by the author
Runs Gemini CLI headlessly for repository analysis and coding tasks. Use when the user asks to delegate work to Gemini CLI or compare its result with another coding agent.
repo: CherryHQ/cherry-studio
Popularity
- GitHub stars
- 53k
- Ranking position
- #1806
- License
- AGPL-3.0
- Updated
- 10/16/2026
Comments
- …
More skills from this repository
code-mate-antigravity
Lets your agent analyze code and perform programming tasks. It's useful for reviewing or improving existing code.
CherryHQ/cherry-studio
code-mate-claude-code
Helps your agent analyze and implement code. It's useful for software development tasks and code reviews.
CherryHQ/cherry-studio
code-mate-codex
Lets your agent analyze and implement code. It's useful for getting coding results or comparing with other tools.
CherryHQ/cherry-studio
code-mate-deepseek-harness
Helps your agent analyze and implement code in repositories. It's useful for bounded development tasks and code analysis.
CherryHQ/cherry-studio
Similar skills
benchmark-optimization-loop
Has your agent improve something's speed in a measured way. It tests multiple versions and chooses the fastest one that still works correctly.
affaan-m/ECC
change-impact
Helps your agent analyze the impact of code changes before making them. It compares the planned vs. actual results afterward, covering paths, data, tests, and documentation. Useful for risky or system-wide changes.
affaan-m/ECC
click-path-audit
Lets your agent trace all user buttons and interactions to find bugs. It finds issues where functions seem to work alone but fail together. Useful when bugs persist even after debugging.
affaan-m/ECC