/open-horizons-platform:github-copilot-usage-metricsfrom open-horizons-platform
Retrieves GitHub Copilot usage metrics for organizations and enterprises via GitHub CLI and REST API. Supports aggregate and per-user reports with optional date filtering.
Ships in open-horizons-platform. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Collect GitHub Copilot usage metrics at organization or enterprise scope, choose aggregate or per-user scripts, pass an optional YYYY-MM-DD day, and summarize adoption, suggestions, acceptance, and chat activity.
gh) authentication for API access.manage_billing:copilot / read:enterprise.| User asks for | Scope | Detail | Script |
|---|---|---|---|
| Organization aggregate metrics | Organization name | Optional day | get-org-metrics.sh <org> [day] |
| Organization per-user metrics | Organization name | Optional day | get-org-user-metrics.sh <org> [day] |
| Enterprise aggregate metrics | Enterprise slug | Optional day | get-enterprise-metrics.sh <enterprise> [day] |
| Enterprise per-user metrics | Enterprise slug | Optional day | get-enterprise-user-metrics.sh <enterprise> [day] |
Ask for the org name or enterprise slug only when it is not provided and cannot be inferred. Ask whether the user wants aggregate or per-user metrics only when their request is ambiguous.
| Metric family | Present as |
|---|---|
| Active users | Total active users and, for per-user reports, user rows. |
| Code suggestions | Total suggestions, accepted suggestions, and acceptance rate when fields are available. |
| Chat usage | Total chat interactions or available chat activity fields. |
| Date filtering | Specific day in YYYY-MM-DD format, or general/recent metrics when no day is supplied. |
| Trends | Highlight changes only when multiple days are returned or the script output supports comparison. |
YYYY-MM-DD format; otherwise request recent/general metrics.get-org-metrics.sh: aggregated organization metrics.get-org-user-metrics.sh: per-user organization metrics.get-enterprise-metrics.sh: aggregated enterprise metrics.get-enterprise-user-metrics.sh: per-user enterprise metrics.| Symptom | Likely cause | Resolution |
|---|---|---|
403 from API | Missing role, token scope, or enterprise policy. | Check enterprise owner/billing manager access, manage_billing:copilot / read:enterprise, and the Copilot usage metrics policy. |
| No historical data | Requested date before October 10, 2025 or older than 1 year. | Choose a supported date range. |
| Script cannot authenticate | gh is not logged in or token is wrong account. | Run gh auth status and reauthenticate. |
### Copilot usage metrics
**Status:** complete | needs input | blocked
**Scope:** organization | enterprise
**Name:** `<org or enterprise slug>`
**Detail:** aggregate | per-user
**Day:** `<YYYY-MM-DD or recent>`
| Metric | Value |
| --- | --- |
| Active users | `<count>` |
| Acceptance rate | `<percent or unavailable>` |
| Total suggestions | `<count or unavailable>` |
| Chat interactions | `<count or unavailable>` |
### Per-user breakdown
| User | Active | Suggestions | Accepted | Chat interactions |
| --- | --- | --- | --- | --- |
| `<login>` | `<yes/no>` | `<count>` | `<count>` | `<count>` |
**Validation**
- Script: `<script name>`
- API access: pass | fail
YYYY-MM-DD format when provided.403 response is explained with permission, scope, and policy checks.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin open-horizons-platform117 skills in this plugin
/agent-framework-pythonApplies Microsoft Agent Framework Python monorepo conventions to the imported example tree. Use when changing its public API exports, package metadata, tests, or Python implementation./agentsApplies current repository conventions for custom-agent metadata, tool scope, body structure, runtime boundaries, and validation. Use when creating or updating an agent./agent-safetyUse when editing Open Horizons agent runtimes, tools, orchestration, or policy code that requires safety and governance controls./agent-skillsApplies current portable Agent Skill conventions for discovery metadata, progressive disclosure, bundled resources, safety, and validation. Use when creating or updating SKILL.md./azure-agentic-architecture-patternsProvides a decision framework for production multi-agent and AI-native systems on GitHub and Azure AI Foundry. Use this skill when designing model routing, prompt caching, semantic caching, memory, context curation, RAG, tools, MCP, identity, guardrails, evaluation, observability, or cost controls./azure-api-centerDesign Azure API Center as the enterprise inventory and governance plane for APIs, agent tools, OpenAPI definitions, environments, deployments, metadata, linting, and MCP server discovery. Use when building an API or tool catalog, enforcing API standards, registering MCP servers, or making approved tools discoverable to agent builders.Other plugins' skills for the same job