Labsco
github logo

copilot-usage-metrics

✓ Official36,200

by github · part of github/awesome-copilot

Retrieve and display GitHub Copilot usage metrics for organizations and enterprises. Supports both organization-level and enterprise-level metrics queries, with optional filtering by specific date (YYYY-MM-DD format) Provides aggregated metrics (total active users, acceptance rates, suggestions, chat interactions) and per-user breakdowns via separate commands Requires GitHub Enterprise Cloud, appropriate token permissions ( manage_billing:copilot or read:enterprise scope), and the "Copilot...

🔥🔥✓ VerifiedFreeQuick setup
🧩 One of 7 skills in the github/awesome-copilot package — works on its own, and pairs well with its siblings.

Retrieve and display GitHub Copilot usage metrics for organizations and enterprises. Supports both organization-level and enterprise-level metrics queries, with optional filtering by specific date (YYYY-MM-DD format) Provides aggregated metrics (total active users, acceptance rates, suggestions, chat interactions) and per-user breakdowns via separate commands Requires GitHub Enterprise Cloud, appropriate token permissions ( manage_billing:copilot or read:enterprise scope), and the "Copilot...

Inspect the full instructions your agent will receiveExpand

This is the exact playbook injected into your agent when the skill activates — shown here so you can audit it before installing. You don't need to read it to use the skill.

by github

Retrieve and display GitHub Copilot usage metrics for organizations and enterprises. Supports both organization-level and enterprise-level metrics queries, with optional filtering by specific date (YYYY-MM-DD format) Provides aggregated metrics (total active users, acceptance rates, suggestions, chat interactions) and per-user breakdowns via separate commands Requires GitHub Enterprise Cloud, appropriate token permissions ( manage_billing:copilot or read:enterprise scope), and the "Copilot... npx skills add https://github.com/github/awesome-copilot --skill copilot-usage-metrics Download ZIPGitHub36.2k

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

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.