Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ivegamsft/basecoat --skill copilot-usage-analyticsgit clone --depth 1 https://github.com/ivegamsft/basecoatWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ivegamsft/basecoat/copilot-usage-analytics)<a href="https://agentmods.dev/skills/ivegamsft/basecoat/copilot-usage-analytics"><img src="https://agentmods.dev/badge/skills/ivegamsft/basecoat/copilot-usage-analytics/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ivegamsft/basecoat/copilot-usage-analytics"><img src="https://agentmods.dev/badge/skills/ivegamsft/basecoat/copilot-usage-analytics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00083 | $0.00413 |
| Opus 5 | $0.00042 | $0.00206 |
| Sonnet 5 | $0.00017 | $0.00083 |
| Haiku 4.5 | $0.00008 | $0.00041 |
Grade A, and why
copilot-usage-analytics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Copilot Usage Analytics Skill
Estimate per-session Copilot CLI cost, analyze model-routing efficiency, track agent dispatch patterns, and document which GitHub Copilot usage APIs exist.
Reference Files
| File | Contents |
|---|---|
references/api-landscape-detail.md |
Full API source table (metrics/billing/Power BI), response format, model routing guidance table |
references/cost-estimation-guide.md |
6-step estimation workflow, guardrails, agent pairing |
Templates in This Skill
| Template | Purpose |
|---|---|
templates/session-cost-estimate-template.md |
Per-session cost breakdown by dispatch, model, and estimated token usage |
templates/model-routing-recommendation-template.md |
Recommendations for right-sizing model selection per task type |
templates/api-landscape.md |
Reference map of GitHub Copilot usage APIs — what exists, what is missing, and workarounds |
templates/usage-report.md |
Automated-style usage report with Handlebars placeholders for tooling integration |
Pairing
Pair with session-analysis when a user asks for session metrics (top tools, assistant message volume, model changes, average turns). Use this skill to translate those findings into cost estimates, expensive-dispatch ranking, and routing ROI.
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 37 lines · 83 tokens per session scan A ce8c5a32d119
copilot-usage-analytics is a skill published in the GitHub repository ivegamsft/basecoat (4 stars, last pushed today), licensed MIT. It adds 83 tokens to every session and 413 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
status-card-query
Create and maintain agent-authored Paperclip status cards, or compile a prose interest prompt into bounded CompanySearchQuery objects and write the first summary from the assigned Summarizer run.
anti-sleep
Keep a Mac awake with caffeinate during long builds, downloads, or supervised automation runs.
after-action-report
Run a structured after-action review (postmortem, retrospective) on a launch, incident, or completed project to capture timeline, root cause analysis, contributing factors, and actionable lessons. Use this skill whenever the user wants to run a postmortem, retrospective, AAR, or after-action review on any past event.…
email-deliverability
Make sure email actually reaches inboxes. Use this skill when setting up email authentication (SPF, DKIM, DMARC), diagnosing emails landing in spam, planning a domain reputation strategy, monitoring sender reputation, or hardening against email spoofing. Triggers on email deliverability, SPF, DKIM, DMARC, spam folder…
incident-response
Manage active production incidents through detection, triage, mitigation, communication, and resolution with structured roles and decision-making. Use this skill whenever the user has an active incident, a production issue, a service outage, a security incident, or needs to plan incident response procedures. Triggers…
media-asset-management
Plan and run a media pipeline for images, video, and downloadable assets. Use this skill when designing image storage and delivery, choosing formats (WebP, AVIF), setting up responsive images, picking a video host, organizing a brand asset library, or auditing a slow image pipeline. Triggers on image pipeline, asset…