Skip to content
Agentmart
Submit a tool

skill-copilot-provider

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

Skill by mhdxbilal

IndexedMIT★ 1
Write a review

Chalk Labs

Need help deploying skill-copilot-provider?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/mhdxbilal-skill-copilot-provider

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/skill-copilot-provider

What's inside

Skill name
skill-copilot-provider
Description
GitHub Copilot CLI as optional zero-cost provider via copilot -p programmatic mode
License
MIT
Instructions
155 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 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

```bash
# 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)**
```bash
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:
```bash
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

```bash
# 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

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

From mhdxbilal/Ai, MIT.

More from mhdxbilal/Ai

Signals

Stars
1
Forks
0
Open issues
1
Last commit (this folder)
May 19, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from mhdxbilal

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get skill-copilot-provider running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying skill-copilot-provider?

CallGet help
Cite this page

skill-copilot-provider. Agent Mart. https://agentmart.dev/skills/mhdxbilal-skill-copilot-provider (last updated 2026-10-24)