From octo
Integrates GitHub Copilot CLI as a zero-cost provider via `copilot -p` programmatic mode. Useful for multi-LLM workflows requiring research and exploration without additional API costs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/octo:skill-copilot-providerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **Host: Codex CLI** — This skill was designed for Claude Code and adapted for Codex.
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, seeskills/blocks/codex-host-adapter.md.
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)
# 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.
Copilot CLI checks credentials in this precedence order:
COPILOT_GITHUB_TOKEN env var (highest priority — fine-grained PAT with "Copilot Requests" permission)GH_TOKEN env varGITHUB_TOKEN env varcopilot login)gh) authentication fallbackOption 1: Interactive login (recommended for local dev)
copilot login
Option 2: Fine-grained PAT (recommended for CI/automation)
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_*).
| Role | Agent Type | Use Case |
|---|---|---|
| General | copilot | Broad research, code explanation, exploration |
| Research | copilot-research | Research-focused exploration and analysis |
# Programmatic mode (non-interactive)
copilot -p "<prompt>" --no-ask-user
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:
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)
copilot -p prompt = 1 premium request from your monthly allowance/model)🐙 **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
🐙 **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.
npx claudepluginhub nyldn/claude-octopus --plugin octoRuns GitHub Copilot CLI as a read-only sub-agent for code review, research, and second opinions. Invoke via /gco or when Copilot is mentioned.
Delegates tasks to GitHub Copilot CLI non-interactively with multi-model support (Claude, GPT, Gemini), permission controls, output sharing, and session resume. Useful for Copilot delegation requests, model comparisons, or programmatic runs.
Programmatically interact with GitHub Copilot via JSON-RPC across Node.js, Python, Go, and .NET. Provides session management, streaming, custom tools, hooks, and MCP server integration.