skill-copilot-provider
- Repo stars 3,406
- Author updated Live
- Author repo claude-octopus
- Domain
- Engineering
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @nyldn · no license declared
- Token usage
- Lean
- Setup complexity
- Guided setup
- External API key
- Required · GitHub
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No special requirements
- Permissions
-
- Read-only
- Write / modify
- Shell exec
- Env read
- Network behavior
- External requests
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: skill-copilot-provider
description: GitHub Copilot CLI as optional zero-cost provider via copilot -p programmatic mode GitHub Copilo…
category: engineering
runtime: no special runtime
---
# skill-copilot-provider output preview
## PART A: Task fit
- Use case: GitHub Copilot CLI as optional zero-cost provider via copilot -p programmatic mode 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. requires GitHub API key. Works with Claude Code, Cursor, Cline ….
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “Overview / Detection / Authentication” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “GitHub Copilot CLI as optional zero-cost provider via copilot -p programmatic mode 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. requires GitHub API key. Works with Claude Code, Cursor, Cline …”.
- **02** When the source has headings, the agent prioritizes “Overview / Detection / Authentication” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files, run shell commands, read environment variables; may access external network resources; requires GitHub API keys.
## Running Rules
- read files, write/modify files, run shell commands, read environment variables; may access external network resources; requires GitHub API keys.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source mentions slash commands such as `/octo`, `/model`; use them first when your agent supports command triggers.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files, run shell commands, read environment variables.
Start with a small task and check whether the result follows “Overview / Detection / Authentication”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: skill-copilot-provider
description: GitHub Copilot CLI as optional zero-cost provider via copilot -p programmatic mode GitHub Copilo…
category: engineering
source: nyldn/claude-octopus
---
# skill-copilot-provider
## When to use
- GitHub Copilot CLI as optional zero-cost provider via copilot -p programmatic mode GitHub Copilot CLI (GA since Feb 20…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “Overview / Detection / Authentication” and keep inference separate from source facts.
- read files, write/modify files, run shell commands, read environment variables; may access external network resources; requires GitHub API keys.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "skill-copilot-provider" {
input -> user goal + target files + boundaries + acceptance criteria
context -> Overview / Detection / Authentication
rules -> SKILL.md triggers / order / output contract
runtime -> no special runtime | read files, write/modify files, run shell commands, read environment variables | may access external network resources
guardrails -> requires GitHub API keys + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} 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 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:
COPILOT_GITHUB_TOKENenv var (highest priority — fine-grained PAT with "Copilot Requests" permission)GH_TOKENenv varGITHUB_TOKENenv var- OAuth token from system keychain (via
copilot login) - 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)
- Create a fine-grained PAT at https://github.com/settings/personal-access-tokens/new
- Enable the "Copilot Requests" permission
- 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
| Role | Agent Type | Use Case |
|---|---|---|
| General | copilot |
Broad research, code explanation, exploration |
| Research | copilot-research |
Research-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
🟡 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
- Zero additional cost — Uses existing GitHub Copilot subscription (Pro, Pro+, Business, Enterprise)
- Premium request quota — Each
copilot -pprompt = 1 premium request from your monthly allowance - Graceful degradation — When unavailable, silently skip with no errors or warnings
- No provider cascade — If unavailable, the role is reassigned to another provider
- Model selection — Copilot CLI selects the model internally (default: Claude Sonnet 4.5, configurable via
/model) - 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.
Decide Fit First
Design Intent
How To Use It
Boundaries And Review