update-user
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.
How do I install this agent skill?
npx skills add https://github.com/berriai/litellm-skills --skill update-userIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides administrative functionality for updating user profiles on a LiteLLM proxy server. It is a legitimate tool provided by BerriAI. A minor security concern is noted regarding the direct interpolation of user-supplied data into shell commands, which presents an indirect prompt injection surface if the agent does not perform its own validation.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Update User
Update an existing user on a live LiteLLM proxy.
Setup
LITELLM_BASE_URL — e.g. https://my-proxy.example.com
LITELLM_API_KEY — proxy admin key
API reference: https://litellm.vercel.app/docs/proxy/virtual_keys#updating-a-user
Ask the user
- user_id (required) — if they don't have it, list users first:
curl -s "$BASE/user/list?page_size=25" -H "Authorization: Bearer $KEY" - What to change — any combination of:
max_budget(float)user_role(proxy_admin,proxy_admin_viewer,internal_user,internal_user_viewer)models(list)tpm_limit/rpm_limit(int)user_email,user_alias
Run
curl -s -X POST "$BASE/user/update" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "<user_id>",
"max_budget": <value>,
"user_role": "<role>",
"models": [<models>]
}'
Only include the fields being changed.
Output
Show the updated user_id, max_budget, user_role, models.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/berriai/litellm-skills/update-user">View update-user on skillZs</a>