account-hygiene
Periodic hygiene review of a client's 1Password account for QBRs and license true-ups: reconciling active and suspended seats…
Claude API spend and token usage for a client's Anthropic organization: the daily cost report, the Messages usage report, and the beta cost and usage analytics, with breakdowns by workspace, model, API key, and person; month-over-month comparison, per-client chargeback when
Claude Code
$ npx -y skills add wyre-ai/msp-claude-plugins --skill spend-review --agent claude-code
Codex
$ npx skills add wyre-ai/msp-claude-plugins --skill spend-review -a codex -y
Cursor
$ npx skills add wyre-ai/msp-claude-plugins --skill spend-review -a cursor -y
Gemini CLI
$ npx skills add wyre-ai/msp-claude-plugins --skill spend-review -a gemini-cli -y
GitHub Copilot
$ npx skills add wyre-ai/msp-claude-plugins --skill spend-review -a github-copilot -y
OpenCode
$ npx skills add wyre-ai/msp-claude-plugins --skill spend-review -a opencode -y
Windsurf
$ npx skills add wyre-ai/msp-claude-plugins --skill spend-review -a windsurf -y
name: "Anthropic Admin Spend Review" description: > Claude API spend and token usage for a client's Anthropic organization: the daily cost report, the Messages usage report, and the beta cost and usage analytics, with breakdowns by workspace, model, API key, and person; month-over-month comparison, per-client chargeback when clients are split by workspace, spike investigation, and rate-limit headroom. All tools are read-tier. when_to_use: >- 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.
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.
[claude-code-adoption](../claude-code-adoption/SKILL.md).
[key-and-audit-review](../key-and-audit-review/SKILL.md) (admin-gated).
| 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.
1. `anthropic_admin_organization_get` - confirm the org. 2. `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`. 3. Repeat for the prior month. Report total, change, and the workspaces that moved most. 4. For the top movers, `anthropic_admin_analytics_cost` over the same range with `group_by: ["model"]` or `["actor"]` and `order_by: "amount"` to name what drove the change.
1. `anthropic_admin_workspaces_list` (add `include_default: true`) to map `workspace_id` to client names. 2. `anthropic_admin_cost_report` grouped by `workspace_id` for the billing period. 3. Sum per workspace, convert cents to dollars once at the end, and list spend with `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.
1. `anthropic_admin_cost_report` daily for the last 30 days to find the day. 2. `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. 3. `anthropic_admin_analytics_usage` for the same window grouped by `actor` to name the person or key. 4. If the key looks wrong, hand off to [key-and-audit-review](../key-and-audit-review/SKILL.md).
1. `anthropic_admin_rate_limits_list`, optionally `model`, for org limits. 2. `anthropic_admin_workspace_rate_limits_list` with `include_inherited: true` for a workspace about to take more load. 3. Compare against peak per-minute usage from `anthropic_admin_usage_report_messages` with `bucket_width: "1m"` over the busiest hour. Report the gap, not just the limit.
`anthropic_admin_analytics_cost` for that.
is three calls.
and plan fees that are not token usage. Call the figure "API usage cost", not "the invoice".
last day.
One command to supercharge Claude Code for MSP workflows. Then restart Claude Code. That's it. Documentation: wyre-ai.github.io/msp-claude-plugins
Periodic hygiene review of a client's 1Password account for QBRs and license true-ups: reconciling active and suspended seats…
1Password MCP fundamentals through Conduit: the region plus two independent credential halves (Events Reporting token, Users API…
How to review a departing or departed user's 1Password footprint with the read-only tools: confirm the seat is suspended, find…
Triage of 1Password sign-in attempts for one client account: pulling the sign-in feed over a window, grouping failures by user,…
3CX's live-operations surface: read-only visibility into active calls, recordings, voicemail, department and queue membership,…
3CX's read-only directory surface: resolving a caller by email or by exact extension, searching the PBX's own phonebooks,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.