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 cu-aaii/claude-skills --skill gateway-usagegit clone --depth 1 https://github.com/cu-aaii/claude-skillsWrote 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/cu-aaii/claude-skills/gateway-usage)<a href="https://agentmods.dev/skills/cu-aaii/claude-skills/gateway-usage"><img src="https://agentmods.dev/badge/skills/cu-aaii/claude-skills/gateway-usage/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/cu-aaii/claude-skills/gateway-usage"><img src="https://agentmods.dev/badge/skills/cu-aaii/claude-skills/gateway-usage.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.00039 | $0.01763 |
| Opus 5.5 | $0.00016 | $0.00705 |
| Sonnet 5.5 | $0.00008 | $0.00353 |
| Haiku 4.5 | $0.00004 | $0.00176 |
Grade A, and why
gateway-usage scanned grade A with 1 finding 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **Never** run your own `curl` with the key inline, **never** `echo`/`grep`/`printf` the raw key value, and **never** pass the key as `ANTHROPIC_AUTH_TOKEN="sk-..." ...` inline in a command. Any of those writes the live How it starts
The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cornell AI Gateway usage check
Use this skill whenever a user asks about their Cornell AI Gateway (LiteLLM, api.ai.it.cornell.edu) spend, budget, or remaining usage on their virtual key.
What this skill does
Run the bundled scripts/usage.sh, which:
- Resolves the gateway key from a 4-source order (env, then macOS Keychain, then
cornell-ai-helperconfig.toml, then Cowork plugin mount), so one file works across the Claude Code CLI, a managed Mac, and the Cowork sandbox. - Makes one cheap 1-token completion call to capture the live
x-litellm-*response headers (spend, max budget, per-call cost, gateway version). - Attempts
GET /key/infoas a bonus (some keys may have broader access), but expects and handles a 403 gracefully. On the Cornell gateway, normal end-user keys are restricted tollm_api_routesonly and cannot call/key/info,/user/info, or/spend/logs. Header data is the primary and usually only source. - Prints a clean summary: spend to date, max budget, computed remaining budget, this check's own cost, TPM/RPM limits if present, and the standing billing caveats (flat $0.002/request fee, $10/mo free tier is per TEAM not per key, 90-day key expiry, midnight-UTC reset cadence).
Key-safety rules (do not violate)
The whole point of this skill is that the key stays inside usage.sh and never reaches the chat transcript. To keep it that way:
- Only invoke the skill by running the bundled script. Let the script resolve the key internally.
- Never run your own
curlwith the key inline, neverecho/grep/printfthe raw key value, and never pass the key asANTHROPIC_AUTH_TOKEN="sk-..." ...inline in a command. Any of those writes the live credential into the transcript permanently. - The script already truncates to the last 4 characters (
...XXXX). Preserve that truncation in everything you show the user. If you ever see a fullsk-value in output, stop and warn the user their key is exposed and should be rotated.
What ships with it
2 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.
- 1mo ago First seen · 71 lines · 39 tokens per session scan A a09760a6eef7
gateway-usage is a skill published in the GitHub repository cu-aaii/claude-skills (4 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 1,763 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
ma-playbook
M&A strategy for acquiring companies or being acquired. Due diligence, valuation, integration, and deal structure. Use when evaluating acquisitions, preparing for acquisition, M&A due diligence, integration planning, or deal negotiation.
financial-statement-analysis
Reads a set of financial statements and establishes what changed and why — fluctuation analysis against prior period and against budget, profitability, liquidity, solvency and efficiency ratios, benchmarking, and the non-GAAP measures presented alongside them. Use this to interpret results, review a counterparty's or…
agent-era-pricing
Redesign seat-based pricing for the agent era — when one human runs ten agents, per-seat models collapse. Use when agents are eroding seat counts, when asked to migrate to usage- or outcome-based pricing, to price an agent/API tier, or to defend revenue as customers automate their own usage. Produces a pricing…
collections-email
Write a polite-but-firm payment-reminder / collections email sequence for overdue invoices. Use when asked to write a collections email, a payment reminder, a dunning sequence, or to chase an overdue invoice. Produces a staged sequence — gentle pre-due nudge through escalating overdue reminders to a final notice …
expense-policy
Write a clear company expense & reimbursement policy. Use when asked to write an expense policy, a reimbursement policy, a travel & expense (T&E) policy, or spending guidelines. Produces a practical policy — what's covered, limits by category, the approval and submission process, timelines, and what's not reimbursable…
financial-statement-explainer
Explain a financial statement (P&L, balance sheet, or cash flow) in plain English. Use when asked to explain a P&L / income statement, a balance sheet, a cash flow statement, or to make financials understandable to a non-finance reader. Produces a plain-language walkthrough — what each section means, the line items…