skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
berriai/litellm-skills124 installs

delete-model

Delete a model from a live LiteLLM proxy. Asks for the model name or model_id and confirms before calling POST /model/delete. Use when the user wants to remove, delete, or unregister a model from a LiteLLM proxy instance.

How do I install this agent skill?

npx skills add https://github.com/berriai/litellm-skills --skill delete-model
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides administrative tools to manage and delete models from a LiteLLM proxy instance. It uses standard command-line tools for API interaction and data parsing, following safe practices by requiring user confirmation before performing destructive actions.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

Delete Model

Remove a model from a live LiteLLM proxy.

Setup

LITELLM_BASE_URL  — e.g. https://my-proxy.example.com
LITELLM_API_KEY   — proxy admin key

Ask the user

  1. Model name or model_id — if they give a name, look up the ID first:
    curl -s "$BASE/model/info" -H "Authorization: Bearer $KEY" | python3 -c "
    import sys,json
    for m in json.load(sys.stdin).get('data',[]):
      print(m['model_info']['id'], m['model_name'])
    "
    
  2. Confirm — show the model name and ask for confirmation before deleting.

Run

curl -s -X POST "$BASE/model/delete" \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{"id": "<model_id>"}'

Output

Show the success message. Warn the user that any keys scoped to this model name will start getting errors.

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/delete-model">View delete-model on skillZs</a>