Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính40k · #7131

copilot-usage-metrics

Skill này làm gì

Công cụ này cho thấy có bao nhiêu người trong công ty hoặc tổ chức của bạn đang dùng GitHub Copilot và họ dùng như thế nào. Nó có thể đưa ra tóm tắt chung hoặc chi tiết theo từng người.

Khi nào nên dùng

  • ✓Kiểm tra mức độ dùng Copilot trong nhóm của bạn.
  • ✓Hiểu Copilot đưa ra bao nhiêu gợi ý.
  • ✓Phân tích việc dùng Copilot vào một ngày cụ thể.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/github/awesome-copilot/blob/main/skills/copilot-usage-metrics/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy cho tôi xem mức sử dụng Copilot của tổ chức “TechCorp” trong ngày 15/3/2024.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ dùng các lệnh (script) đặc biệt để lấy thông tin trực tiếp từ GitHub. Nó hỏi bạn muốn xem tổ chức hay doanh nghiệp nào, và bạn muốn tóm tắt chung hay chi tiết theo từng người dùng.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.
Câu hỏi thường gặp

Tôi có cần quyền đặc biệt để dùng công cụ này không?

Có. Bạn cần quyền quản trị viên trên tài khoản GitHub Enterprise Cloud, và chính sách sử dụng Copilot phải được bật.

Tôi có thể xem loại dữ liệu nào?

Bạn có thể xem số người đã dùng Copilot, tỷ lệ chấp nhận gợi ý, số gợi ý đã đưa ra và số lần tương tác với Copilot chat.

Tôi có thể xem dữ liệu của nhiều năm trước không?

Dữ liệu sử dụng Copilot có từ ngày 10/10/2025 và có thể truy cập trong tối đa một năm.

Chi tiết

Mô tả gốc của tác giả

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

repo: github/awesome-copilot

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7131
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự