Tooluck logoTooluck
SKILL.md

skill-copilot-provider

Agent skill fromnyldn/claude-octopus

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

How to install skill-copilot-provider

install skill-copilot-provider
# install the claude-octopus pack with the skills CLI
npx skills add nyldn/claude-octopus

# or add only this skill to Claude Code: copy the folder

skills/skill-copilot-provider/

# into

~/.claude/skills/skill-copilot-provider/ (all projects)

.claude/skills/skill-copilot-provider/ (one project)

skills/skill-copilot-provider/SKILL.md

MITFull file
1> **Host: Codex CLI** — This skill was designed for Claude Code and adapted for Codex.
2> Cross-reference commands use installed skill names in Codex rather than `/octo:*` slash commands.
3> 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.
4> For host tool equivalents, see `skills/blocks/codex-host-adapter.md`.
5
6
7# GitHub Copilot Provider Skill
8
9## Overview
10
11GitHub Copilot CLI (GA since Feb 2026) serves as an optional provider in the Claude Octopus
12multi-LLM ecosystem. Integration uses the official `copilot -p` programmatic mode, not
13reverse-engineered API endpoints.
14
15**Core principle:** Copilot supplements existing providers for research and exploration at
16zero additional cost (uses existing GitHub Copilot subscription). Each prompt counts as one
17premium request against your subscription quota.
18
19**Agent types:** `copilot` (general), `copilot-research` (research-focused)
20
21
22## Detection
23
24```bash
25# Check copilot CLI is available
26if ! command -v copilot &>/dev/null; then
27 # Copilot CLI not installed — silently skip
28 return 0
29fi
30```
31
32**Graceful degradation:** When Copilot CLI is unavailable or unauthenticated, silently skip.
33Other providers continue to operate normally.
34
35
36## Authentication
37
38Copilot CLI checks credentials in this precedence order:
39
401. `COPILOT_GITHUB_TOKEN` env var (highest priority — fine-grained PAT with "Copilot Requests" permission)
412. `GH_TOKEN` env var
42…

Excerpt shown under the repository's MIT license.

More skills in claude-octopus

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates