code-mate-github-copilot
What it does
This agent helps you use GitHub Copilot CLI to analyze your code or perform programming tasks. It can answer questions about your project or even write code for you, using Copilot's tools.
When to use it
- ✓When you want to understand a piece of code.
- ✓When you need help writing new code.
- ✓When you want to analyze your project for issues.
Skill link
https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-github-copilot/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
“Copilot, explain this error in my code.”
5 new skills a week. 1 minute to read.
How it works
It runs GitHub Copilot CLI commands in the background. If Copilot isn't installed or set up, it will ask you to do so.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
GitHub Copilot 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 copilot. If it is missing, stop and ask the user to install GitHub Copilot CLI in Code Mate. - Run one non-interactive task:
copilot -p "<prompt>" -s --output-format json --no-ask-user
Pass the prompt as one quoted argument. Parse stdout as JSONL and treat an error event or nonzero exit as failure; the published exit-code contract is incomplete. Never start the interactive UI or an authentication flow.
Authentication And Permissions
If Copilot reports a missing login, subscription, or token configuration, stop and ask the user to configure GitHub Copilot CLI in Code Mate. Never request, read, print, or copy credentials.
--no-ask-user prevents an unattended approval prompt. Keep tools denied by default. When the user explicitly requests workspace changes, add only narrowly scoped --allow-tool entries; never use --allow-all as a shortcut.
Example: ask Copilot to explain a failing test without modifying files, run the command above, and summarize the final JSONL result plus any denied tool request.
FAQ
What is GitHub Copilot CLI?
It's a tool that lets you use the power of GitHub Copilot directly from your command line to assist with coding tasks.
Do I need to install anything?
Yes, you need to have GitHub Copilot CLI installed and configured in your environment for this agent to work.
Can it modify my code?
It can, but only if you explicitly ask, and it will have limited permissions to ensure safety.
Details
Original description by the author
Runs GitHub Copilot CLI programmatically for repository analysis and coding tasks. Use when the user asks to delegate work to Copilot CLI or obtain a Copilot coding-agent result.
repo: CherryHQ/cherry-studio
Popularity
- GitHub stars
- 53k
- Ranking position
- #3378
- 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-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.
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.