Agent skill

GitHub Copilot CLI Delegation

by CherryHQ in CherryHQ/cherry-studio

Runs GitHub Copilot CLI non-interactively on a repository task and reads its JSONL output, denying tools by default so nothing changes unless you ask.

AGPL-3.0Auto-check passedAgent Workflows

Install GitHub Copilot CLI Delegation

skills CLI
$ npx skills add CherryHQ/cherry-studio --skill code-mate-github-copilot -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install CherryHQ/cherry-studio code-mate-github-copilot --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/CherryHQ/cherry-studio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/resources/code-cli-skills/code-mate-github-copilot .claude/skills/code-mate-github-copilot && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-mate-github-copilot
GitHub stars
52k
Token cost
~365 tokens
SKILL.md length
179 words
Files
1
Skills in repo
30
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Runs GitHub Copilot CLI non-interactively on a repository task and reads its JSONL output, denying tools by default so nothing changes unless you ask.

  • Works in 3 steps: Set the Bash working directory to the… → Check availability with command -v… → Run one non-interactive task
  • Delegating a code explanation or analysis task to Copilot CLI
  • SKILL.md covers Run and Authentication And Permissions
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

To obtain a Copilot coding-agent result, this skill has the agent call `copilot -p` with JSON output and a no-ask-user flag from the project directory you named, under a finite timeout of about 10 minutes. Availability is checked first with `command -v copilot`; if it is missing, the agent stops and asks you to install it in Code Mate.

Stdout is parsed as JSONL. An error event or a nonzero exit means failure, and since the published exit codes are incomplete, the event stream carries the real verdict. The `--no-ask-user` flag avoids a stuck approval prompt, tools stay denied, and only when you request workspace edits are narrowly scoped `--allow-tool` entries added, never `--allow-all`. A missing login, subscription or token ends the run with a request that you configure Copilot CLI yourself.

When your agent uses it

  • Delegating a code explanation or analysis task to Copilot CLI
  • Collecting a Copilot coding-agent result to compare with another agent
  • Letting Copilot edit specific files under tightly scoped tool permissions

Example prompts

  • “Ask Copilot CLI to explain why the checkout test fails, without modifying any files.”
  • “Have Copilot update the changelog script, allowing only the tools it needs, and report any denied requests.”
  • “Run Copilot on the repo in ./services/api and give me its final answer.”

Requirements

  • GitHub Copilot CLI installed through Code Mate
  • A Copilot login and subscription

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  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 copilot. If it is missing, stop and ask the user to install GitHub Copilot CLI in Code Mate.
  3. Run one non-interactive task

What it can do on your machine

Read from SKILL.md and the folder at commit dd0767e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

GitHub Copilot CLI Delegation loads about 365 tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 179 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~365

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from CherryHQ/cherry-studio at commit dd0767e, republished under its AGPL-3.0 licence (© CherryHQ). 179 words, ~365 tokens.

Download SKILL.mdSave it as .claude/skills/code-mate-github-copilot/SKILL.md (or your agent's skills folder).
name
code-mate-github-copilot
description
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.

GitHub Copilot 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 copilot. If it is missing, stop and ask the user to install GitHub Copilot CLI in Code Mate.
  3. Run one non-interactive task:
bash
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.

© CherryHQ, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in resources/code-cli-skills/code-mate-github-copilot of CherryHQ/cherry-studio.

Open the folder on GitHubat commit dd0767e

Compare with similar skills

GitHub Copilot CLI Delegation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

GitHub Copilot CLI Delegation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
GitHub Copilot CLI Delegation this skillCherryHQ/cherry-studio52k—~365Automated safety check: PassAGPL-3.0
Do Issueathola/claude-night-market342—~1.5kAutomated safety check: PassMIT
Badstephenleo/bmad-autonomous-development107—~7.7kAutomated safety check: PassMIT
Reviewgetsentry/sentry-react-native1.8k—~1.9kAutomated safety check: PassMIT
Open Source Maintainernumman-ali/n-skills1.1k—~1.8kAutomated safety check: PassApache-2.0
Comment SickoComfy-Org/ComfyUI_frontend2.1k—~1.1kAutomated safety check: PassGPL-3.0

Similar skills

  • Do Issue

    athola/claude-night-market

    Implements GitHub or GitLab issues via parallel subagents with review gates between task batches.

    342 GitHub stars~1.5k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Bad

    stephenleo/bmad-autonomous-development

    BMad Autonomous Development — orchestrates parallel story implementation pipelines.

    107 GitHub stars~7.7k tokensUpdated 5 mo ago
    Agent WorkflowsAuto-check passed
  • Review

    getsentry/sentry-react-native

    Official

    Three-axis review of the branch diff — Standards (this repo's documented standards + public API/bridge surface), Spec (the originating Linear/GitHub issue or PR), and Correctness (runtime bugs + the…

    1.8k GitHub stars~1.9k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Open Source Maintainer

    numman-ali/n-skills

    End-to-end GitHub repository maintenance for open-source projects.

    1.1k GitHub stars~1.8k tokensUpdated 25 days ago
    Agent WorkflowsAuto-check passed
  • Comment Sicko

    Comfy-Org/ComfyUI_frontend

    Dispatches the comment-sicko subagent to hunt gratuitous comments in a PR/diff, triages its raw findings, and posts a polite, professional writeup.

    2.1k GitHub stars~1.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Akb Ingest

    dnotitia/akb

    Ingest whatever you point at into an AKB vault — a local file, a web URL, a GitHub PR/release/commit, a Confluence page, or a Jira issue.

    161 GitHub stars~2k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from CherryHQ/cherry-studio

All 30 skills in this repo
  • Office File Transform

    CherryHQ/cherry-studio

    Derives new files from a selected part of a spreadsheet, Word document, PDF or slide deck, such as a cell range, paragraph, page or slide, without ever modifying the source file.

    52k GitHub stars~4.7k tokensUpdated today
    Auto-check passed
  • GitHub Issue Creator

    CherryHQ/cherry-studio

    Creates GitHub issues for the current repository by choosing the matching issue template and following its format, with a permission check for engineering tasks.

    52k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Cherry Studio PR Review

    CherryHQ/cherry-studio

    Reviews Cherry Studio branches, pull requests, commits, files and docs against the project's own architecture, naming, API-boundary and UI rules, report-only by default.

    52k GitHub stars~3.9k tokensUpdated today
    Auto-check passed
  • Cherry Studio Regression Tests

    CherryHQ/cherry-studio

    Runs Cherry Studio's critical-path regression suite as deterministic Playwright E2E tests through a GitHub workflow on macOS and Windows runners.

    52k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Antigravity CLI Runner

    CherryHQ/cherry-studio

    Runs the Antigravity CLI headlessly with the agy command to analyze a repository or carry out a coding task, then checks its JSON result and the diff.

    52k GitHub stars~531 tokensUpdated today
    Auto-check passed
  • Kimi Code Delegation

    CherryHQ/cherry-studio

    Delegates one bounded repository task to Kimi Code in non-interactive prompt mode and reads back the final result from its JSON event stream.

    52k GitHub stars~504 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about GitHub Copilot CLI Delegation

What does GitHub Copilot CLI Delegation do?

Runs GitHub Copilot CLI non-interactively on a repository task and reads its JSONL output, denying tools by default so nothing changes unless you ask. To obtain a Copilot coding-agent result, this skill has the agent call `copilot -p` with JSON output and a no-ask-user flag from the project directory you named, under a finite timeout of about 10 minutes. Availability is checked first with `command -v copilot`; if it is missing, the agent stops and asks you to install it in Code Mate.

When should I use GitHub Copilot CLI Delegation?

GitHub Copilot CLI Delegation fits situations like: delegating a code explanation or analysis task to Copilot CLI; collecting a Copilot coding-agent result to compare with another agent; letting Copilot edit specific files under tightly scoped tool permissions.

How do I install GitHub Copilot CLI Delegation in Claude Code?

Run `npx skills add CherryHQ/cherry-studio --skill code-mate-github-copilot -a claude-code`. Or copy the skill folder (resources/code-cli-skills/code-mate-github-copilot in CherryHQ/cherry-studio) into .claude/skills/code-mate-github-copilot in your project. Claude Code loads it when a task matches its description.

How do I install GitHub Copilot CLI Delegation in Codex?

Run `npx skills add CherryHQ/cherry-studio --skill code-mate-github-copilot -a codex`. Or copy the skill folder (resources/code-cli-skills/code-mate-github-copilot in CherryHQ/cherry-studio) into .agents/skills/code-mate-github-copilot in your project. Codex loads it when a task matches its description.

Can I use GitHub Copilot CLI Delegation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add CherryHQ/cherry-studio --skill code-mate-github-copilot -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-mate-github-copilot, .gemini/skills/code-mate-github-copilot, .github/skills/code-mate-github-copilot and .opencode/skills/code-mate-github-copilot in your project.

What does GitHub Copilot CLI Delegation need to run?

SKILL.md names no scripts, command-line tools or credentials: GitHub Copilot CLI Delegation is instructions for the agent only. Our summary lists: GitHub Copilot CLI installed through Code Mate; A Copilot login and subscription.

Does GitHub Copilot CLI Delegation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is GitHub Copilot CLI Delegation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does GitHub Copilot CLI Delegation use?

GitHub Copilot CLI Delegation is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does GitHub Copilot CLI Delegation use?

About 365 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to GitHub Copilot CLI Delegation?

Skills that share tags, products or a category with GitHub Copilot CLI Delegation: Do Issue (athola/claude-night-market, 342 stars), Bad (stephenleo/bmad-autonomous-development, 107 stars), Review (getsentry/sentry-react-native, 1.8k stars) and Open Source Maintainer (numman-ali/n-skills, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains GitHub Copilot CLI Delegation?

CherryHQ (a GitHub organization) maintains it in CherryHQ/cherry-studio, which has 52,407 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 7, 2026.

Source: CherryHQ/cherry-studio on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.