Skill Copilot Provider
GitHub Copilot CLI as optional zero-cost provider via copilot -p programmatic mode
MCP get_skill({ skillId: "github-copilot-provider-skill-10464765" })Use this skill with your agent
Create a free account and connect via MCP
> **Host: Codex CLI** ā This skill was designed for Claude Code and adapted for Codex. > Cross-reference commands use installed skill names in Codex rather than `/octo:*` slash commands. > Use the active Codex shell and subagent tools. Do not claim a provider, model, or host subagent is available until the current session exposes it. > For host tool equivalents, see `skills/blocks/codex-host-adapter.md`. # GitHub Copilot Provider Skill ## Overview GitHub Copilot CLI (GA since Feb 2026) serves as an optional provider in the Claude Octopus multi-LLM ecosystem. Integration uses the official `copilot -p` programmatic mode, not reverse-engineered API endpoints. **Core principle:** Copilot supplements existing providers for research and exploration at zero additional cost (uses existing GitHub Copilot subscription). Each prompt counts as one premium request against your subscription quota. **Agent types:** `copilot` (general), `copilot-research` (research-focused) ## Detection ```bash # Check copilot CLI is available if ! command -v copilot &>/dev/null; then # Copilot CLI not installed ā silently skip return 0 fi ``` **Graceful degradation:** When Copilot CLI is unavailable or unauthenticated, silently skip. Other providers continue to operate normally. ## Authentication Copilot CLI checks credentials in this precedence order: 1. `COPILOT_GITHUB_TOKEN` env var (highest priority ā fine-grained PAT with "Copilot Requests" permission) 2. `GH_TOKEN` env var 3. `GITHUB_TOKEN` env var 4. OAuth token from system keychain (via `copilot login`) 5. GitHub CLI (`gh`) authentication fallback ### Setup **Option 1: Interactive login (recommended for local dev)** ```bash copilot login ``` **Option 2: Fine-grained PAT (recommended for CI/automation)** 1. Create a fine-grained PAT at https://github.com/settings/personal-access-tokens/new 2. Enable the "Copilot Requests" permission 3. Set the env var: ```bash export COPILOT_GITHUB_TOKEN="github_pat_..." ``` **Option 3: Reuse existing `gh` auth** If `gh auth login` is already configured, Copilot CLI will use it automatically. **Note:** Classic PATs (`ghp_*`) are NOT supported. Use fine-grained PATs (`github_pat_*`). ## Available Roles | Role | Agent Type | Use Case | |------|-----------|----------| | **General** | `copilot` | Broad research, code explanation, exploration | | **Research** | `copilot-research` | Research-focused exploration and analysis | ### Dispatch ```bash # Programmatic mode (non-interactive) copilot -p "<prompt>" --no-ask-user ``` ## Provider Indicators When Copilot is active in a multi-provider workflow: ``` Providers: š“ Codex CLI - Implementation š” Gemini CLI - Security review š¢ Copilot CLI - Research perspective šµ Claude - Synthesis ``` Indicator legend: - š“ = Codex CLI - š” = Gemini CLI - š¢ = Copilot CLI - š£ = Perplexity - šµ = Claude ## Doctor Integration The `/octo:doctor` providers check reports Copilot availability and auth method: ``` Providers: ā Copilot CLI installed (auth: keychain) ``` When unauthenticated: `ā Copilot CLI installed but not authenticated` When missing: `ā¹ Copilot CLI not installed (optional)` ## Integration Notes 1. **Zero additional cost** ā Uses existing GitHub Copilot subscription (Pro, Pro+, Business, Enterprise) 2. **Premium request quota** ā Each `copilot -p` prompt = 1 premium request from your monthly allowance 3. **Graceful degradation** ā When unavailable, silently skip with no errors or warnings 4. **No provider cascade** ā If unavailable, the role is reassigned to another provider 5. **Model selection** ā Copilot CLI selects the model internally (default: Claude Sonnet 4.5, configurable via `/model`) 6. **Multi-model access** ā Copilot subscription includes access to Claude, GPT, and Gemini models ## Example Workflows ### Research with Copilot ``` š **CLAUDE OCTOPUS ACTIVATED** - Multi-provider research mode š Discover Phase: Researching WebSocket authentication patterns Providers: š“ Codex CLI - Technical implementation analysis š” Gemini CLI - Ecosystem research š¢ Copilot CLI - Research perspective šµ Claude - Strategic synthesis ``` ### Copilot Unavailable (Graceful Degradation) ``` š **CLAUDE OCTOPUS ACTIVATED** - Multi-provider research mode š Discover Phase: Researching WebSocket authentication patterns Providers: š“ Codex CLI - Technical implementation analysis š” Gemini CLI - Ecosystem research šµ Claude - Strategic synthesis ``` When Copilot is not detected, it is silently omitted from the provider list.
Related Skills
More skills in Data, AI & Research
Ablation Planner
Use when main results pass result-to-claim (`claim_supported = yes` or `partial`) and ablation studies are needed for paper submission. A secondary Codex agent designs ablations from a reviewer's perspective; the local executor reviews feasibility and implements.
Ablation Planner
Use when main results pass result-to-claim (claim_supported=yes or partial) and ablation studies are needed for paper submission.
About
Provides information about the bitwize-music plugin, its version, and its creator. Use when the user asks about the plugin, its purpose, version, or capabilities.
Ab Test Analysis
Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop recommendations. Use when evaluating experiment results, checking if a test reached significance, interpreting split test data, or deciding whether to ship a variant.
Academic Search
Search and analyze academic literature. Find papers, understand research methodologies, and synthesize academic findings for research projects.
Adaptyv
How to use the Adaptyv Bio Foundry API and Python SDK for protein experiment design, submission, and results retrieval. Use this skill whenever the user mentions Adaptyv, Foundry API, protein binding assays, protein screening experiments, BLI/SPR assays, thermostability assays, or wants to submit protein sequences for experimental characterization. Also trigger when code imports `adaptyv`, `adaptyv_sdk`, or `FoundryClient`, or references `foundry-api-public.adaptyvbio.com`.
Explore Other Categories
Skills from other categories with shared topics
Find the latest synthesis file (created within last 10 minutes)
Thorough research across multiple sources ā use for complex topics needing broad synthesis
1. Product type search ā what design patterns fit this product?
Design UI/UX systems with style guides, palettes, typography, and component specs for new interfaces
AI Debate Hub Skill v4.8
Structured four-way AI debates between Claude, Sonnet, Gemini, and Codex ā use for critical decisions