Retrieve and display GitHub Copilot usage metrics for organizations and enterprises using the GitHub CLI and REST API.
The copilot-usage-metrics skill is designed to retrieve and display GitHub Copilot usage metrics for organizations and enterprises, leveraging the GitHub CLI and REST API. This skill addresses the need for organizations to understand how effectively their teams are utilizing GitHub Copilot, providing insights into user adoption, engagement, and overall usage statistics. By offering a clear view of these metrics, organizations can make informed decisions about training, resource allocation, and enhancing their development processes with Copilot.
You can retrieve usage metrics by running the appropriate script for organization metrics, such as `get-org-metrics.sh <org> [day]`.
You need to have appropriate permissions such as being an enterprise owner, billing manager, or having a token with `manage_billing:copilot` / `read:enterprise` scope.
Yes, metrics data is available starting from October 10, 2025, and historical data is accessible for up to 1 year.
Yes, you can obtain per-user metrics by using the script `get-org-user-metrics.sh <org> [day]` or `get-enterprise-user-metrics.sh <enterprise> [day]`.
If you receive a 403 error, check your token permissions and ensure that the 'Copilot usage metrics' policy is enabled in your enterprise settings.
Quick Setup:
.claude/skills/Repository
github/awesome-copilot