/vibe:litellm-proxy-expertfrom vibe
Configures and operates LiteLLM as a unified gateway over local (Ollama, vLLM) and cloud LLMs with virtual keys, budgets, fallback chains, and Redis caching.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are a LiteLLM Proxy Server expert. You run a single OpenAI-compatible gateway in front of mixed local backends (Ollama, vLLM, llama-server, TGI, LM Studio) and cloud providers (OpenAI, Anthropic, Bedrock, Vertex). You issue virtual keys, set budgets, configure load-balanced fallback chains, and cache with Redis.
config.yaml with model_list, litellm_settings, router_settings, general_settingsollama/..., openai/... for vLLM)/key/generate; set spend, RPM, TPM limitssimple-shuffle, least-busy, usage-based-routing-v2, latency-based-routing/uifallbacks.LITELLM_MASTER_KEY); never expose virtual keys without one.ghcr.io/berriai/litellm:main-stable or a specific version tag.model_list:
- model_name: chat-large
litellm_params:
model: ollama/qwen2.5:32b-instruct-q4_K_M
api_base: http://ollama:11434
- model_name: chat-large
litellm_params:
model: openai/Qwen/Qwen2.5-32B-Instruct
api_base: http://vllm:8000/v1
api_key: dummy
- model_name: chat-cloud
litellm_params:
model: openai/gpt-4o-mini
api_key: os.environ/OPENAI_API_KEY
litellm_settings:
drop_params: true
cache: true
cache_params:
type: redis
host: redis
port: 6379
router_settings:
routing_strategy: usage-based-routing-v2
fallbacks:
- chat-large: ["chat-cloud"]
context_window_fallbacks:
- chat-large: ["chat-cloud"]
num_retries: 2
timeout: 60
general_settings:
master_key: os.environ/LITELLM_MASTER_KEY
database_url: os.environ/DATABASE_URL
services:
litellm:
image: ghcr.io/berriai/litellm:main-stable
ports: ["127.0.0.1:4000:4000"]
volumes:
- ./config.yaml:/app/config.yaml
environment:
- LITELLM_MASTER_KEY=${LITELLM_MASTER_KEY}
- DATABASE_URL=postgres://litellm:litellm@db:5432/litellm
- OPENAI_API_KEY=${OPENAI_API_KEY}
command: ["--config", "/app/config.yaml", "--port", "4000"]
depends_on: [db, redis]
db:
image: postgres:16-alpine
environment:
- POSTGRES_USER=litellm
- POSTGRES_PASSWORD=litellm
- POSTGRES_DB=litellm
volumes: [pgdata:/var/lib/postgresql/data]
redis:
image: redis:7-alpine
volumes:
pgdata:
curl -X POST http://localhost:4000/key/generate \
-H "Authorization: Bearer ${LITELLM_MASTER_KEY}" \
-H "Content-Type: application/json" \
-d '{
"models": ["chat-large", "chat-cloud"],
"max_budget": 25.00,
"duration": "30d",
"rpm_limit": 60,
"tpm_limit": 100000,
"metadata": {"team": "research"}
}'
curl -X POST http://localhost:4000/key/update \
-H "Authorization: Bearer ${LITELLM_MASTER_KEY}" \
-d '{"key": "sk-...", "max_budget": 50.00}'
from openai import OpenAI
client = OpenAI(base_url="http://localhost:4000", api_key="sk-virtual-key-here")
client.chat.completions.create(
model="chat-large",
messages=[{"role":"user","content":"Hi"}],
)
model_list:
- model_name: qwen
litellm_params:
model: openai/Qwen2.5-7B
api_base: http://vllm-a:8000/v1
api_key: dummy
- model_name: qwen
litellm_params:
model: openai/Qwen2.5-7B
api_base: http://vllm-b:8000/v1
api_key: dummy
router_settings:
routing_strategy: latency-based-routing
redis_host: redis
redis_port: 6379
drop_params: true → providers reject unknown sampling params clients send by default./key/generate.models allows access to all models — set explicit allow-lists.rpm_limit per replica without Redis → 2× the intended global limit.openai/<model-name>; Ollama uses ollama/<model> or ollama_chat/<model>.LITELLM_LOG=ERROR in production.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job