copilot-usage-metrics

Compute GitHub Copilot usage metrics for organizations and enterprises via the GitHub CLI.

1|1|Updated Jun 4, 2024
One-click install
npx skills add https://github.com/dhar174/tiny_village --skill copilot-usage-metrics-dhar174
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: copilot-usage-metrics
Source: https://github.com/dhar174/tiny_village/tree/main/.github/skills/copilot-usage-metrics
Command: npx skills add https://github.com/dhar174/tiny_village --skill copilot-usage-metrics-dhar174

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh.

What problem does it solve?

This skill retrieves and displays GitHub Copilot usage metrics for organizations and enterprises using the GitHub CLI.

Core Features & Use Cases

  • Retrieve aggregated Copilot usage metrics for an organization or enterprise.
  • Retrieve per-user Copilot usage metrics for an organization or enterprise.
  • Supports optional day parameter to fetch metrics for a specific date.

Quick Start

Run one of the provided scripts (get-org-metrics.sh, get-org-user-metrics.sh, get-enterprise-metrics.sh, or get-enterprise-user-metrics.sh) to retrieve Copilot usage metrics for an organization or enterprise, optionally for a specific day.

Frequently Asked Questions about copilot-usage-metrics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get per-user GitHub Copilot usage metrics for my organization?

You retrieve per-user Copilot usage metrics for an organization by running the provided script that calls the GitHub CLI to access organizational Copilot usage endpoints and returns individual user statistics.

Can I track Copilot usage metrics for a specific day?

You can fetch Copilot usage metrics for a specific date by supplying an optional day parameter to the retrieval scripts, which provides day-level granularity for both organizations and enterprises.

Do I need the GitHub CLI installed to retrieve enterprise Copilot metrics?

You must have the GitHub CLI (gh) installed and authenticated because the skill requires it to access Copilot usage endpoints for organizations and enterprises.

What is the difference between aggregated and per-user Copilot metrics?

Aggregated Copilot metrics provide a combined overview of usage across an organization or enterprise, while per-user metrics break down the usage statistics for individual users, both retrieved via the GitHub CLI.

What's the best way to monitor Copilot adoption across an enterprise?

To monitor Copilot adoption across an enterprise, run the provided scripts to retrieve aggregated and per-user metrics via the GitHub CLI, providing comprehensive usage tracking with optional day-level granularity.

Why am I unable to fetch Copilot usage metrics for my organization?

If you cannot fetch Copilot usage metrics, ensure the GitHub CLI (gh) is properly installed and authenticated, as the skill depends entirely on it to access the necessary Copilot usage endpoints.