# github-copilot

A skill that calls GitHub Copilot API to check billing, assign seats to users and teams, and pull usage metrics.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 103 installs · ★ 81 repo stars
- Author: okou-ai
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/okou-ai/okou-skills/tree/HEAD/github-copilot/SKILL.md
- Updated: 2026-11-02
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/github-copilot

## What it does

The skill sends requests to your organization's GitHub Copilot API via `curl`. You can see seat breakdown, grant or revoke access for individual users or entire teams, and review activity metrics. Metrics are only available when you have five or more active users.

All requests need the `GITHUB_TOKEN` environment variable with organization permissions. The skill works with Copilot Business or Enterprise; the free tier does not support this API. Metrics are retained for up to one hundred days.

Examples target `https://api.github.com/orgs/your-org-name`: you replace the organization, team, and user names with your own. To add or remove people, the skill writes a temporary JSON to `/tmp/github_copilot_request.json` and passes it to `curl`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add okou-ai/okou-skills --skill github-copilot -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/github-copilot/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/github-copilot/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add okou-ai/okou-skills --skill github-copilot -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/github-copilot/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add okou-ai/okou-skills --skill github-copilot -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/github-copilot/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install okou-ai/okou-skills github-copilot
```

2. **Manually: put the files in place**
- File: `.github/skills/github-copilot/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add okou-ai/okou-skills --skill github-copilot -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/okou-ai/okou-skills --path github-copilot
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/github-copilot/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add okou-ai/okou-skills --skill github-copilot -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/okou-ai/okou-skills/tree/HEAD/github-copilot/SKILL.md

## When to use it
- check how many Copilot seats are occupied in your organization
- assign Copilot to multiple users with one command
- revoke access from a team or specific individuals
- review activity and acceptance metrics
- see when a user with a seat was last active

## Example prompts
- Show Copilot billing for organization `acme-corp`
- Assign Copilot seats to `alice` and `bob` in organization `acme-corp`
- How many active Copilot users did `acme-corp` have last week?

## Similar
- [suggest-awesome-github-copilot-skills](https://affpapa.org/en/nevibecode/skills/suggest-awesome-github-copilot-skills.md) — skill · 8900 installs
- [github-copilot-starter](https://affpapa.org/en/nevibecode/skills/github-copilot-starter.md) — skill · 8900 installs
- [github-traffic](https://affpapa.org/en/nevibecode/skills/github-traffic.md) — skill · 3800 installs
- [GitDealFlow — GitHub signals for startup investors](https://affpapa.org/en/nevibecode/mcp/gitdealflow-github-signals-for-startup-investors.md) — MCP server · ★ 7 repo stars
- [open-sourcing](https://affpapa.org/en/nevibecode/skills/open-sourcing.md) — skill · 1900 installs
- [windsurf-license-management](https://affpapa.org/en/nevibecode/skills/windsurf-license-management.md) — skill · 1 install

From the same set: [okou-ai/okou-skills](https://affpapa.org/en/nevibecode/by/okou-ai/okou-skills.md) — 5 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
