anthropic-admin-claude-code-adoptionlisted
Install: claude install-skill WYRE-AI/msp-claude-plugins
# Claude Code Adoption
## Overview
Clients buying Claude Code seats want to know whether they are used and
what they produce. `anthropic_admin_usage_report_claude_code` returns one
record per user (or API key) per UTC day with sessions, lines of code,
commits, PRs, tool acceptance, and per-model token use and estimated
cost. This skill rolls that into an adoption picture.
## Anti-triggers
- **The client's whole API bill** — use
[spend-review](../spend-review/SKILL.md). Claude Code cost here is an
estimate for Claude Code activity only.
## Key Concepts
- **One day per call.** `starting_at` is a single UTC date
(`YYYY-MM-DD`). A month is one call per day, each paged with `page` /
`next_page` (`limit` up to 1000).
- **Actor.** `actor.type` is `user_actor` (with `email_address`) or
`api_actor` (with `api_key_name`). Report them separately; an API-key
actor is automation, not a person.
- **Core metrics:** `num_sessions`, `lines_of_code.added` /
`.removed`, `commits_by_claude_code`, `pull_requests_by_claude_code`.
- **Tool actions:** accepted and rejected counts per tool (edit, write,
and so on). Acceptance rate = accepted / (accepted + rejected). A low
rate points at onboarding or prompt habits, not at the product.
- **Estimated cost** is per model in `model_breakdown[].estimated_cost`,
in **cents**.
- `customer_type` is `api` or `subscription`; `subscription_type` is
`team` or `enterprise` for subscription orgs. Local and remote (web)
sessions arrive