View Usage
Query spend and token activity on a live LiteLLM proxy. Shows daily usage broken down by user, team, org, tag, job, or model. Use when the user wants to see costs, token counts, request volume, or job-level attribution for a given date range.
Install
npx skills add BerriAI/litellm-skills --skill view-usagegit clone --depth 1 https://github.com/BerriAI/litellm-skills.git /tmp/litellm-skills
mkdir -p ~/.claude/skills
cp -r /tmp/litellm-skills/view-usage ~/.claude/skills/view-usagePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# View Usage Query daily activity and spend data from a live LiteLLM proxy. ## Setup Ask for these if not already known: ``` LITELLM_BASE_URL — e.g. https://my-proxy.example.com LITELLM_API_KEY — proxy admin key ``` API reference: https://docs.litellm.ai/docs/proxy/users#get-user-spend ## Ask the user 1. **View by** — overall / user / team / org / tag / job (default: overall) 2. **Date range** — default to current month if not given 3. **Filter by model?** (optional) 4. **Job tag(s)?** (optional) — for job cost attribution, ask which request tag identifies the job, for example `job:nightly-eval` or `job=batch-import`. ## Job cost attribution LiteLLM attributes per-request costs through request tags. For LLM jobs, prefer tagging requests with a stable job label such as `job:<job-name>` and then query tag APIs: - Use `/tag/daily/activity?tags=<tag>` for daily spend, tokens, request count, and model/provider breakdowns for one or more job tags. - Use `/global/spend/tags?tags=<tag>` for a top-level spend total by tag over a date range. - If the user asks "which jobs cost the most?", call `/global/spend/tags` without a `tags` filter, sort by spend descending, and present the top tags that look like job labels. ## Endpoints ### Overall spend (across all users) ```bash curl -s "$BASE/user/daily/activity?start_date=YYYY-MM-DD&end_date=YYYY-MM-DD&page_size=30" \ -H "Authorization: Bearer $KEY" ``` ### Overall request and token volume
Details
- Skill name
view-usage- Repository
- BerriAI/litellm-skills
- Path
view-usage/SKILL.md- License
- MIT
- Repo updated
- 7 May 2026
FAQ
What does the View Usage skill do?
Query spend and token activity on a live LiteLLM proxy. Shows daily usage broken down by user, team, org, tag, job, or model. Use when the user wants to see costs, token counts, request volume, or job-level attribution for a given date range.
How do I install the View Usage skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add BerriAI/litellm-skills --skill view-usage. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is View Usage popular?
It lives in BerriAI/litellm-skills, which has 109 GitHub stars and 19 forks.
Related skills
Add Agent
109BerriAI/litellm-skills
Create a new AI agent on a live LiteLLM proxy. Asks for agent name, the underlying model, and optional MCP server access, then calls POST /v1/agents.
Add Key
109BerriAI/litellm-skills
Generate a new API key on a live LiteLLM proxy. Asks for alias, scope (user/team), budget, models, and expiry, then calls POST /key/generate. Use when the user wants to create, generate, or provision an API key on a LiteLLM proxy instance.
Add MCP
109BerriAI/litellm-skills
Register a new MCP server on a live LiteLLM proxy. Asks for the server name, transport type, URL, and optional auth, then calls POST /v1/mcp/server.
Wc Clean Sheet Model
200lyndonkl/claude
Computes clean-sheet probability and defensive-returns EV for a team in a specific fixture from team defensive strength (xGA) against opponent attacking strength (xG), then models the STACK CORRELATION that turns a Clean-Sheet Spine (BB2) — GK + k same-team defenders — into a single correlated bet rather than k independent draws. Returns p_cs(team,fixture), a stack_corr_bonus capturing the amplified joint ceiling and shared downside (sign interacts with the rank objective θ — amplify when chasing, discount when protecting), and expected_ga with its conceding-points downside. Use when sizing a
Update User
109BerriAI/litellm-skills
Update an existing user on a live LiteLLM proxy. Ask for the user_id and what to change (budget, role, models, etc.), then call POST /user/update.
Wc Fitness Eval
200lyndonkl/claude
Scores a FIFA World Cup Fantasy candidate squad/plan as risk-adjusted, rank-relative fitness under a stated rank objective (protect / gain / neutral). Sums fixture-scaled player xEV + captaincy uplift, adds clean-sheet correlation and progression-carry, applies an ownership-leverage term (cover chalk when protecting, fade it when gaining), and a variance term whose SIGN flips with the objective (penalty when protecting, reward when chasing) — the selection-pressure dial. Returns one fitness number plus the full decomposition. Use to score the population in the evolution engine, or to evaluate
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.