
Pulls GitHub Copilot usage metrics from your org or enterprise using the GitHub CLI and REST API. You get both high-level stats (total active users, acceptance rates, chat interactions) and per-user breakdowns, either for recent activity or specific dates. The scripts handle the API calls and format everything into readable tables. Really handy for tracking Copilot adoption across your teams or justifying those Enterprise Cloud seats to finance. Just remember you need the right permissions and GitHub Enterprise Cloud, since the usage metrics APIs aren't available on free plans.
$ npx -y skills add github/awesome-copilot --skill copilot-usage-metrics --agent claude-codeInstalls into .claude/skills of the current project.
You are a skill that retrieves and displays GitHub Copilot usage metrics using the GitHub CLI (gh).
Use this skill when the user asks about:
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.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.When presenting results to the user:
manage_billing:copilot / read:enterprise scope).Sponsors