Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/BerriAI/litellm-skillsnpx agentmods add skills/berriai/litellm-skills/upgrade-riskWrote 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/berriai/litellm-skills/upgrade-risk)<a href="https://agentmods.dev/skills/berriai/litellm-skills/upgrade-risk"><img src="https://agentmods.dev/badge/skills/berriai/litellm-skills/upgrade-risk/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/berriai/litellm-skills/upgrade-risk"><img src="https://agentmods.dev/badge/skills/berriai/litellm-skills/upgrade-risk.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.00125 | $0.02183 |
| Opus 5.5 | $0.00050 | $0.00873 |
| Sonnet 5.5 | $0.00025 | $0.00437 |
| Haiku 4.5 | $0.00013 | $0.00218 |
Grade A, and why
upgrade-risk 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 yesterday.
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.
compatibility: Requires curl, git and python3. psql is optional, for reading settings stored in the database. How it starts
The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Upgrade Risk
Tell the user what a LiteLLM upgrade or config change will do to the traffic their proxy serves today. The check is read-only. It never changes the proxy.
Setup
export LITELLM_BASE_URL=https://your-proxy.example.com
export LITELLM_API_KEY=sk-... # proxy admin key
SKILL_DIR=~/.claude/skills/upgrade-risk
If either variable is unset, ask the user to export it in their shell. Do not ask them to paste the key into the chat.
Settings saved from the Admin UI or the API live in the proxy's database, not in config.yaml. The profile reads most of them through the API. To read all of them, ask the user to also export a read-only connection string for the proxy's Postgres database. This needs psql on the machine.
export LITELLM_DATABASE_URL=postgresql://readonly_user:...@db-host:5432/litellm # optional
Ask the user
- The change: a target version (for example
1.110.0), a config change (for example "switchlangfusetolangfuse_otel", or a YAML diff), or both. - Their config.yaml and Helm values, if they can share them with secrets removed. The API exposes only part of
general_settingsand none oflitellm_settings, environment variables or deployment details, so without these files the check is weaker. Say so in the report. - Traffic window in days (default 30).
Step 1: Profile the deployment
python3 $SKILL_DIR/scripts/upgrade_risk.py profile --days 30
The output has the running version, database and cache state, callbacks, models (with provider and non-secret parameter names), guardrails, MCP servers, router and cache settings, and traffic: request and failure counts per endpoint, provider, model group, MCP server and guardrail. Credential values, URLs and hostnames come back as <redacted>.
The proxy merges config.yaml with settings stored in its database, and the profile shows the merged result:
models,config_callbacks,guardrails,mcp_servers,settingsanddb_objects(credentials, agents, vector stores, search tools, prompts, policies) include entries that exist only in the databasegeneral_settingslists each value the API exposes with itssource:dborconfig.yaml. A setting can be set in both places, so a config.yaml change may not take effect while a database value overrides it, and the reversepass_through_endpointslists each custom route and itssourcedb_configis theLiteLLM_Configtable read directly: everygeneral_settings,litellm_settingsandrouter_settingsvalue saved in the database, and the names of stored environment variables. It needsLITELLM_DATABASE_URL. If it saysskippedorerror, list database-onlylitellm_settingsandgeneral_settingsas an unknown in the report
What ships with it
1 file 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.
- yesterday First seen · 154 lines · 125 tokens per session scan A 7c57cf998ee7
upgrade-risk is a skill published in the GitHub repository BerriAI/litellm-skills (114 stars, last pushed yesterday), licensed MIT. It adds 125 tokens to every session and 2,183 once invoked, about $0.0005 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-12-03.
upgrade-risk compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| upgrade-riskBerriAI/litellm-skills | Skill | 114 | yesterday | MIT | A | 125 | Claude Code |
| gke-compute-classesgoogle/skills | Skill | 26k | today | Apache-2.0 | A | 100 | Claude Code, Codex |
| cloud-operator-admin-setupgoogle/skills | Skill | 26k | today | Apache-2.0 | A | 118 | Claude Code, Codex |
| gke-reliabilitygoogle/skills | Skill | 26k | today | Apache-2.0 | A | 85 | Claude Code, Codex |
| gke-workload-securitygoogle/skills | Skill | 26k | today | Apache-2.0 | A | 171 | Claude Code, Codex |
| nemo-automodel-launcher-configNVIDIA/skills | Skill | 4.3k | today | Apache-2.0 | A | 30 | Claude Code |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.3k | today | MIT | A | 78 | Claude Code |