์ธํ„ฐํŽ˜์ด์Šค๋Š” ํ˜„์ง€ํ™”๋˜์–ด ์žˆ์œผ๋ฉฐ, Skill ์†Œ๊ฐœ์™€ ์„ค๋ช… ๋ฌธ์„œ๋Š” ์„ ํƒํ•œ ์–ธ์–ด๋กœ AI๊ฐ€ ์ž๋™ ๋ฒˆ์—ญํ•ฉ๋‹ˆ๋‹ค. ์ฝ”๋“œยท๋ช…๋ น์–ดยท๊ฒฝ๋กœยท์ „๋ฌธ ์šฉ์–ด๋Š” ์›๋ฌธ์„ ์œ ์ง€ํ•˜๋ฉฐ ์›์ž‘์ž ๋ฌธ์„œ๊ฐ€ ์šฐ์„ ํ•ฉ๋‹ˆ๋‹ค.
Skills ๋‘˜๋Ÿฌ๋ณด๊ธฐ
๊ฐœ๋ฐœ ๋ฐ ์—”์ง€๋‹ˆ์–ด๋ง ยท SKILL.md

skill-copilot-provider

skill-copilot-provider

GitHub Copilot CLI as optional zero-cost provider via copilot -p programmatic mode

Independent GitHub snapshot ยท Automated classification ยท Original documentation governs

Skill ๋ฌธ์„œ

GitHub

name: skill-copilot-provider disable-model-invocation: true version: 2.0.0 aliases: [copilot-provider, github-copilot, copilot] description: GitHub Copilot CLI as optional zero-cost provider via copilot -p programmatic mode trigger: | EXPLICITLY USE when user says: "copilot provider" or "add copilot" or "github copilot" or "use copilot" DO NOT activate for general copilot IDE usage or copilot chat in editor. paths:

  • "**/.github/copilot*"
  • "**/.copilot*"

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

# 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)

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:
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

RoleAgent TypeUse Case
GeneralcopilotBroad research, code explanation, exploration
Researchcopilot-researchResearch-focused exploration and analysis

Dispatch

# 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
๐ŸŸก Antigravity CLI - Security review
๐ŸŸข Copilot CLI - Research perspective
๐Ÿ”ต Claude - Synthesis

Indicator legend:

  • ๐Ÿ”ด = Codex CLI
  • ๐ŸŸก = Antigravity CLI
  • ๐ŸŸข = Copilot CLI
  • ๐ŸŸฃ = Perplexity
  • ๐Ÿ”ต = Claude

Doctor Integration

The octopus 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 โ€” Octopus uses Copilot's auto selector by default; pin OCTOPUS_COPILOT_MODEL to pass an explicit --model value
  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
๐ŸŸก Antigravity 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
๐ŸŸก Antigravity CLI - Ecosystem research
๐Ÿ”ต Claude - Strategic synthesis

When Copilot is not detected, it is silently omitted from the provider list.

์ €์žฅํ•œ Skills