Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provides GitHub Copilot CLI task delegation in non-interactive mode with multi-model support (Claude, GPT, Gemini), permission controls, output sharing, and session resume. Use when users ask to hand work to Copilot, compare models, or run Copilot programmatically from Claude Code.
.claude/skills/giuseppe-trisciuoglio-copilot-cli/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 25% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 37% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 35% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 34% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -4% | 0% |
Delegate selected tasks from Claude Code to GitHub Copilot CLI using non-interactive commands, explicit model selection, safe permission flags, and shareable outputs.
This skill standardizes delegation to GitHub Copilot CLI (copilot) for cases where a different model may be more suitable for a task. It covers:
-p / --prompt--model--allow-tool, --allow-all-tools, --allow-all-paths, --allow-all-urls, --yolo)--silent--share--resumeUse this skill only when delegation to Copilot is explicitly requested or clearly beneficial.
Use this skill when:
Trigger phrases:
bash# CLI availability copilot --version # GitHub authentication status gh auth status
If copilot is unavailable, ask the user to install/setup GitHub Copilot CLI before proceeding.
All delegated prompts to Copilot CLI must be in English.
Prompt template:
textTask: <clear objective> Context: <project/module/files> Constraints: <do/don't constraints> Expected output: <format + depth> Validation: <tests/checks to run or explain>
Pick a model based on task type and user preference.
Use exact model names available in the local Copilot CLI model list.
Default to the minimum required capability.
--allow-tool '<tool>' when task scope is narrow--allow-all-tools only when multiple tools are clearly needed--allow-all-paths only if task requires broad filesystem access--allow-all-urls only if external URLs are required--yolo unless the user explicitly requests full permissionsBase pattern:
bashcopilot -p "<english prompt>" --model <model-name> --allow-all-tools --silent
Add optional flags only as needed:
bash# Capture session to markdown copilot -p "<english prompt>" --model <model-name> --allow-all-tools --share # Resume existing session copilot --resume <session-id> --allow-all-tools # Strictly silent scripted output copilot -p "<english prompt>" --model <model-name> --allow-all-tools --silent
After command execution:
--share is used, provide generated markdown pathWhen requested, run the same prompt with multiple models and compare:
Keep the comparison objective and concise.
Input:
textAsk Copilot to refactor this service using GPT-5.2 and return only concrete code changes.
Command:
bashcopilot -p "Refactor the payment service in src/services/payment.ts to reduce duplication. Keep public behavior unchanged, keep TypeScript strict typing, and output a patch-style response." \ --model gpt-5.2 \ --allow-all-tools \ --silent
Output:
textCopilot proposes extracting three private helpers, consolidating error mapping, and provides a patch for payment.ts with unchanged API signatures.
Input:
textUse Copilot CLI with Sonnet to review this module and share the session in markdown.
Command:
bashcopilot -p "Review src/modules/auth for security and correctness. Report only high-confidence findings with severity and file references." \ --model claude-sonnet-4.6 \ --allow-all-tools \ --share
Output:
textReview completed. Session exported to ./copilot-session-<id>.md.
Input:
textContinue the previous Copilot analysis session.
Command:
bashcopilot --resume <session-id> --allow-all-tools
Output:
textSession resumed and continued from prior context.
--share when auditability matters--allow-all-tools, --allow-all-paths, --allow-all-urls, and --yolo increase risk; use only when justifiedFor additional option details, see references/cli-command-reference.md.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 7,113 | 4,900 | -31% | 1 | 1 | 0% | 1,176 | 1,776 | +51% | 0 | 0 | — |
case-02 | fail→fail | 8,691 | 9,314 | +7% | 1 | 1 | 0% | 784 | 2,330 | +197% | 0 | 0 | — |
case-03 | fail→fail | 13,021 | 5,956 | -54% | 1 | 1 | 0% | 2,385 | 1,769 | -26% | 0 | 0 | — |
case-04 | fail→pass | 8,610 | 3,554 | -59% | 1 | 1 | 0% | 1,600 | 2,004 | +25% | 0 | 0 | — |
case-05 | fail→fail | 10,982 | 6,478 | -41% | 1 | 1 | 0% | 857 | 1,890 | +121% | 0 | 0 | — |
case-06 | pass→pass | 7,960 | 3,533 | -56% | 1 | 1 | 0% | 1,359 | 2,054 | +51% | 0 | 0 | — |
case-07 | pass→pass | 4,346 | 3,961 | -9% | 1 | 1 | 0% | 681 | 1,949 | +186% | 0 | 0 | — |
case-08 | pass→pass | 9,889 | 2,963 | -70% | 1 | 1 | 0% | 1,570 | 1,859 | +18% | 0 | 0 | — |
case-09 | fail→pass | 9,603 | 3,009 | -69% | 1 | 1 | 0% | 1,433 | 1,960 | +37% | 0 | 0 | — |
case-10 | fail→pass | 8,121 | 1,944 | -76% | 1 | 1 | 0% | 1,315 | 1,773 | +35% | 0 | 0 | — |
case-11 | fail→pass | 11,336 | 5,268 | -54% | 1 | 1 | 0% | 1,671 | 2,245 | +34% | 0 | 0 | — |
case-12 | fail→pass | 12,136 | 2,351 | -81% | 1 | 1 | 0% | 1,876 | 1,808 | -4% | 0 | 0 | — |
case-13 | fail→pass | 9,404 | 1,829 | -81% | 1 | 1 | 0% | 1,607 | 1,758 | +9% | 0 | 0 | — |
case-14 | fail→fail | 15,074 | 11,819 | -22% | 1 | 1 | 0% | 1,334 | 2,820 | +111% | 0 | 0 | — |
case-15 | pass→pass | 13,046 | 6,982 | -46% | 1 | 1 | 0% | 2,031 | 2,473 | +22% | 0 | 0 | — |
case-16 | fail→fail | 10,014 | 3,125 | -69% | 1 | 1 | 0% | 1,534 | 1,916 | +25% | 0 | 0 | — |
case-17 | pass→pass | 6,981 | 3,829 | -45% | 1 | 1 | 0% | 1,107 | 2,000 | +81% | 0 | 0 | — |
case-18 | fail→pass | 10,597 | 5,416 | -49% | 1 | 1 | 0% | 1,490 | 2,254 | +51% | 0 | 0 | — |
case-19 | pass→pass | 13,551 | 7,539 | -44% | 1 | 1 | 0% | 2,011 | 2,619 | +30% | 0 | 0 | — |
case-20 | pass→pass | 4,991 | 2,452 | -51% | 1 | 1 | 0% | 768 | 1,861 | +142% | 0 | 0 | — |
case-21 | fail→fail | 5,142 | 3,109 | -40% | 1 | 1 | 0% | 871 | 1,713 | +97% | 0 | 0 | — |
case-22 | pass→pass | 7,283 | 5,618 | -23% | 1 | 1 | 0% | 1,309 | 2,485 | +90% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 20 counted toward the lift figure. The other 2 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +32 percentage points is the difference between those two pass rates over the 20 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.