MR
Mayur Rathi
@github
⭐ 34.1k GitHub stars

Copilot-Usage-Metrics

Copilot-Usage-Metrics is an productivity AI skill with a core value of Retrieve and display GitHub Copilot usage metrics for organizations and enterprises using the GitHub CLI and REST API. It helps developers solve real-world problems in the productivity domain, boosting efficiency, automating repetitive tasks, and optimizing workflows.

Retrieve and display GitHub Copilot usage metrics for organizations and enterprises using the GitHub CLI and REST API.

Last verified on: 2026-07-14

Quick Facts

Category productivity
Works With Claude, GitHub Copilot
Source github/awesome-copilot
Stars ⭐ 34.1k
Last Verified 2026-07-14
Risk Level Low
mkdir -p ./skills/copilot-usage-metrics && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/copilot-usage-metrics/SKILL.md -o ./skills/copilot-usage-metrics/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# Copilot Usage Metrics


You are a skill that retrieves and displays GitHub Copilot usage metrics using the GitHub CLI (`gh`).


When to use this skill


Use this skill when the user asks about:

- Copilot usage metrics, adoption, or statistics

- How many people are using Copilot in their org or enterprise

- Copilot acceptance rates, suggestions, or chat usage

- Per-user Copilot usage breakdowns

- Copilot usage on a specific date


How to use this skill


1. Determine whether the user wants **organization** or **enterprise** level metrics.

2. Ask for the org name or enterprise slug if not provided.

3. Determine if they want **aggregated** metrics or **per-user** metrics.

4. Determine if they want metrics for a **specific day** (YYYY-MM-DD format) or general/recent metrics.

5. Run the appropriate script from this skill's directory.


Available scripts


Organization metrics


- `get-org-metrics.sh <org> [day]` — Get aggregated Copilot usage metrics for an organization. Optionally pass a specific day in YYYY-MM-DD format.

- `get-org-user-metrics.sh <org> [day]` — Get per-user Copilot usage metrics for an organization. Optionally pass a specific day.


Enterprise metrics


- `get-enterprise-metrics.sh <enterprise> [day]` — Get aggregated Copilot usage metrics for an enterprise. Optionally pass a specific day.

- `get-enterprise-user-metrics.sh <enterprise> [day]` — Get per-user Copilot usage metrics for an enterprise. Optionally pass a specific day.


Formatting the output


When presenting results to the user:

- Summarize key metrics: total active users, acceptance rate, total suggestions, total chat interactions

- Use tables for per-user breakdowns

- Highlight trends if comparing multiple days

- Note that metrics data is available starting from October 10, 2025, and historical data is accessible for up to 1 year


Important notes


- These API endpoints require **GitHub Enterprise Cloud**.

- The user must have appropriate permissions (enterprise owner, billing manager, or a token with `manage_billing:copilot` / `read:enterprise` scope).

- The "Copilot usage metrics" policy must be enabled in enterprise settings.

- If the API returns 403, advise the user to check their token permissions and enterprise policy settings.

🎯 Best For

  • Claude users
  • GitHub Copilot users
  • Knowledge workers
  • Remote teams
  • Professionals

💡 Use Cases

  • Using Copilot-Usage-Metrics in daily workflow
  • Automating repetitive productivity tasks

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Copilot-Usage-Metrics to Your Work

    Provide context for your task — paste source material, describe your audience, or share existing work to guide the AI.

  4. 4

    Review and Refine

    Edit the AI output for accuracy, tone, and completeness. Add human insight where the AI lacks context.

❓ Frequently Asked Questions

How do I install Copilot-Usage-Metrics?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/copilot-usage-metrics/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Not reading the full skill

Skills contain important context and edge cases beyond the quick start.

🔗 Related Skills