本文へスキップ
Skillpedia
分析とスプレッドシート40k · #7131

copilot-usage-metrics

できること

このツールは、会社や組織で何人がGitHub Copilotを使っていて、どのように使っているかを表示します。全体の概要を表示することも、ユーザーごとの詳細を表示することもできます。

使う場面

  • ✓チーム内でCopilotがどの程度使われているかを確認するとき。
  • ✓Copilotがどれくらいの提案を出しているかを把握したいとき。
  • ✓特定の日のCopilotの利用状況を分析するとき。

スキルのリンク

https://github.com/github/awesome-copilot/blob/main/skills/copilot-usage-metrics/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/github/awesome-copilot/blob/main/skills/copilot-usage-metrics/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“組織「TechCorp」の2024年3月15日のCopilot利用状況を表示してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールは専用のコマンド(スクリプト)を使い、GitHubから直接情報を取得します。どの組織またはエンタープライズを対象にするか、また全体の概要とユーザーごとの詳細のどちらを表示するかを確認してきます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.
よくある質問

このツールを使うには、特別な権限が必要ですか?

はい。GitHub Enterprise Cloudのアカウントで管理者権限が必要で、Copilotの利用ポリシーが有効になっている必要があります。

どのようなデータを見られますか?

Copilotを使った人数、提案の承諾率、提案の数、Copilotチャットのやり取りの回数などを確認できます。

何年も前のデータを見ることはできますか?

Copilotの利用データは2025年10月10日から利用可能で、最大1年間さかのぼって確認できます。

詳細

作者による元の説明

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

repo: github/awesome-copilot

人気

GitHubのスター
40k
ランキング
#7131
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル