From octo
Integrates GitHub Copilot CLI as optional provider for code research and exploration in multi-LLM workflows using programmatic mode.
npx claudepluginhub nyldn/claude-octopus --plugin octoThis skill uses the workspace's default tool permissions.
GitHub Copilot CLI (GA since Feb 2026) serves as an optional provider in the Claude Octopus
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
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.