Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

llm-inference-scaling

Skill by sickn33

Explains how to auto-scale LLM inference clusters on Kubernetes with KEDA, GPU-aware Prometheus metrics and spot instance strategies. Aimed at teams running vLLM or TGI pods.

  • Score 90
  • 50k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install llm-inference-scaling

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/llm-inference-scaling ~/.claude/skills/llm-inference-scaling

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install llm-inference-scaling in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This docs-only skill is a guide for scaling LLM inference on Kubernetes. It covers installing the NVIDIA GPU Operator, deploying vLLM with GPU resources, and using KEDA ScaledObjects that scale on Prometheus metrics such as vllm_num_requests_waiting and KV cache usage. It also includes a Redis-based ScaledJob for batch inference, spot instance node affinity, and cluster autoscaler notes for GPU nodes.

It is meant for teams that run fleets of vLLM or TGI pods on Kubernetes, need unpredictable traffic handled automatically, or want to reduce costs with spot or preemptible GPUs. The skill is docs-only, so upstream scripts and templates are not bundled, and the source rates its risk as critical.

Written from the project's SKILL.md and checked against it.

What it can do

  • GPU node setupInstalls the NVIDIA GPU Operator with DCGM and the device plugin enabled.
  • vLLM deploymentDeploys vLLM pods with GPU, memory and CPU requests and limits.
  • KEDA Prometheus scalingScales vLLM replicas on requests waiting and GPU KV cache usage.
  • Redis queue scalingRuns a ScaledJob that adds batch inference workers based on queued jobs.
  • Spot instance strategyPrefers spot GPU nodes with on-demand fallback using node affinity.
  • Cluster autoscaler setupShows how to enable cluster autoscaler for an AWS EKS GPU node group.
  • Scaling metrics queriesLists Prometheus queries for queue depth, KV cache, throughput and P99 time to first token.

What you need

  • Kubernetes cluster with GPU nodes
  • NVIDIA GPU Operator
  • KEDA installed
  • Prometheus with GPU metrics (dcgm-exporter or gpu-operator)
  • Helm 3 or later

Try asking

  • Write a KEDA ScaledObject that scales vLLM on requests waiting in the queue.
  • Create a ScaledJob that runs batch inference workers from a Redis list.
  • Show Prometheus queries for vLLM KV cache usage and time to first token.

Good to know

  • Docs-only; upstream scripts and templates are not bundled.
  • Infrastructure commands can disrupt services, so confirm scope and take backups first.
  • PodDisruptionBudgets do not stop spot preemption or node failure.
  • The source rates this skill's risk as critical.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/llm-inference-scaling/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB

Alternatives to llm-inference-scaling

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

llm-inference-scaling: common questions

Does this skill protect against spot instance evictions?

The source says PodDisruptionBudgets only constrain voluntary disruptions, not spot preemption or node failure. It recommends graceful shutdown to handle evictions.

Which metrics does KEDA scale vLLM on?

The examples scale on vllm_num_requests_waiting and vllm:gpu_cache_usage_perc, both queried from Prometheus.

Does the batch ScaledJob example need GPU resources?

The source says GPU workers need explicit nvidia.com/gpu requests and limits, and the ScaledJob example without them is incomplete.

How do I install llm-inference-scaling?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is llm-inference-scaling free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is llm-inference-scaling safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to llm-inference-scaling?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

llm-inference-scaling Install

Add to stack

Loading.