/ai-org-admin:spend-reviewfrom ai-org-admin
Reviews Claude API spend and token usage for an Anthropic organization: daily costs, usage reports, chargeback by workspace, spike investigation, and rate-limit headroom.
Ships in ai-org-admin. 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.
None: SKILL.md is the whole skill.
A client's Claude API bill is driven by tokens, split across workspaces, models, and keys. This skill turns the Admin API's cost and usage reports into the numbers an MSP needs: last month's total, who or what drove it, how it compares to the month before, and what to charge back to whom.
| Question | Tool | Notes |
|---|---|---|
| What did the org spend per day, per workspace? | anthropic_admin_cost_report | group_by: ["workspace_id"] or ["description"]; daily buckets only, 31 per page |
| Which models, keys, or workspaces used the tokens? | anthropic_admin_usage_report_messages | group_by on model, api_key_id, workspace_id, service_tier and more |
| Spend per person, product, model, or key? | anthropic_admin_analytics_cost | Beta; group_by includes actor, api_key_id, product, cost_type; max 31 days per call |
| Tokens and requests per person or team? | anthropic_admin_analytics_usage | Beta; same limits; order_by total_tokens or requests |
| How much headroom before 429s? | anthropic_admin_rate_limits_list, anthropic_admin_workspace_rate_limits_list | Requests and tokens per minute by model group |
Every cost figure here is in cents, as a decimal string. The cost
report's currency: "USD" names the currency, not the unit: "123.45" is
$1.23. Divide by 100 before you write a dollar amount, and sum the strings
as decimals rather than floats when the total goes on an invoice.
anthropic_admin_organization_get - confirm the org.anthropic_admin_cost_report for the month: starting_at the 1st at
00:00:00Z, ending_at the 1st of the next month (exclusive),
limit: 31, group_by: ["workspace_id"]. Page next_page if
has_more.anthropic_admin_analytics_cost over the same
range with group_by: ["model"] or ["actor"] and order_by: "amount"
to name what drove the change.anthropic_admin_workspaces_list (add include_default: true) to map
workspace_id to client names.anthropic_admin_cost_report grouped by workspace_id for the billing
period.workspace_id: null (the default workspace) on its own line.
Unattributed spend is a finding: keys in the default workspace should
move to a client workspace.anthropic_admin_cost_report daily for the last 30 days to find the
day.anthropic_admin_usage_report_messages for that day with
bucket_width: "1h" and group_by: ["api_key_id", "model"] to find
the hour, key, and model.anthropic_admin_analytics_usage for the same window grouped by
actor to name the person or key.anthropic_admin_rate_limits_list, optionally model, for org limits.anthropic_admin_workspace_rate_limits_list with
include_inherited: true for a workspace about to take more load.anthropic_admin_usage_report_messages with bucket_width: "1m" over
the busiest hour. Report the gap, not just the limit.anthropic_admin_cost_report cannot group by API key or person. Use
anthropic_admin_analytics_cost for that.ending_at is exclusive. A month ending at ...-31T00:00:00Z drops the
last day.What SKILL.md sets; muted values are Claude Code's defaults
When reviewing what a client spent on the Claude API, preparing chargeback or a billing reconciliation, explaining a spend spike, or checking rate-limit headroom before a rollout. Use when: anthropic spend, claude api cost, anthropic bill, anthropic usage report, token usage, chargeback by workspace, anthropic cost spike, anthropic rate limits, or 429 from claude api.
Three short reads, in order
anthropic-admin, api-cost, token-usage, chargeback, rate-limits
npx claudepluginhub wyre-ai/msp-claude-plugins --plugin ai-org-admin5 skills in this plugin
/api-patternsAnthropic Admin API PatternsAnthropic Admin MCP fundamentals: the Conduit X-Anthropic-Admin-Key header and the sk-ant-admin key it carries, one key = one Anthropic organization, the 19 read-only tools and which three are admin-gated in Conduit, the two pagination styles (ID cursors and page tokens), response truncation, the cents-not-dollars cost units, time-range limits, and how vendor errors and 429s come back. Every other Anthropic Admin skill assumes these patterns.
/claude-code-adoptionAnthropic Admin Claude Code AdoptionClaude Code adoption and value reporting for a client's Anthropic organization: the per-user daily Claude Code usage report (sessions, lines added and removed, commits, pull requests, tool accept/reject counts, tokens and estimated cost per model), how to roll days up into a month, and how to set it against seat inventory to find unused seats. All tools are read-tier.
/key-and-audit-reviewAnthropic Admin Key and Audit ReviewSecurity review of a client's Anthropic organization from the two admin-gated surfaces: the API key inventory (status, workspace scope, creator, principal, expiry, partial hint; never the secret) and the compliance activity feed (sign-ins, membership and role changes, key lifecycle events). Covers key hygiene checks, leaver key sweeps, and incident-response timelines. Every tool here needs the admin tier in Conduit.
/seat-inventoryAnthropic Admin Seat InventorySeat and access inventory for a client's Anthropic organization: members and their organization roles, pending and expired invites, workspaces and per-workspace membership, and how to turn them into a seat count, an admin-role review, and an offboarding check against the client's leaver list. All tools are read-tier.
Other plugins' skills for the same job