본문으로 건너뛰기
cccskills
무료GitHub에 공개

skill-copilot-provider

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구GitHub
설치 방법 보기

포함된 파일(2)

  • SKILL.md4.7 KB
  • agents/openai.yaml177 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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

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

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Starter: interpret a council run's verdict artifacts — quorum, dissent, cross-lab validity, and what to do next

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

nyldn/claude-octopus4.3천2026년 10월 19일 업데이트

Starter: frame a decision as a multi-model debate — picks sides, seats providers, and launches /octo:debate with a well-formed motion

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

nyldn/claude-octopus4.3천2026년 10월 19일 업데이트

Multi-AI requirements scoping using available external providers (Double Diamond Define phase). Priority triggers: octo define, octo scope, co-define, co-scope. DO NOT use for implementation, research, review/validation, or built-in commands.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

nyldn/claude-octopus4.3천2026년 10월 19일 업데이트

Multi-AI validation, scoring, and review using available external providers (Double Diamond Deliver phase)

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

nyldn/claude-octopus4.3천2026년 10월 19일 업데이트

Multi-AI implementation using available external providers (Double Diamond Develop phase). DO NOT use for simple code edits, reading/reviewing code, built-in commands, or trivial single-file changes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

nyldn/claude-octopus4.3천2026년 10월 19일 업데이트

Multi-AI research using available external providers (Double Diamond Discover phase)

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

nyldn/claude-octopus4.3천2026년 10월 19일 업데이트

nyldn의 스킬 모두 보기

이 스킬의 문제 신고