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-benchmark

Skill by KerberosClaw

Benchmarks local Ollama models on your machine. It checks GPU memory, suggests model sizes, runs repeatable tests and writes a markdown comparison report. Aimed at people choosing between local models.

  • Score 64
  • 80 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install llm-benchmark

Built from the published package, never by AI.

git clone --depth 1 https://github.com/KerberosClaw/kc_ai_skills /tmp/kc_ai_skills && mkdir -p ~/.claude/skills && cp -r /tmp/kc_ai_skills/llm-benchmark ~/.claude/skills/llm-benchmark

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

Step-by-step: install llm-benchmark in Claude Code

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

About

llm-benchmark is an agent skill for testing and comparing local Ollama models. It checks whether Ollama is installed and running, reads available GPU memory with nvidia-smi or rocm-smi, and suggests model sizes based on that VRAM figure. It asks which models to test, reuses existing results stored in benchmark_results.json, and pulls only the models the user approves.

The skill runs a benchmark script on the target machine and then writes a markdown report with token speed tables, answer quality notes, context window analysis, bottleneck analysis and rankings. Before testing, it can stop a local LLM gateway container and restart the Ollama service to clear VRAM, then restore the stopped services afterwards. It is meant for people who want to choose a local model for their own hardware, not for hosted API models.

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

What it can do

  • Environment checkChecks whether Ollama is installed and running, and starts or installs it if needed.
  • GPU and VRAM detectionReads GPU memory with nvidia-smi or rocm-smi and recommends model sizes from it.
  • Existing record reuseSkips models that already have entries in benchmark_results.json.
  • Model pullPulls only the models the user has approved.
  • Benchmark runRuns a repeatable benchmark script on the target machine.
  • Service handlingStops a gateway container before testing and restores it after the benchmark.
  • Markdown reportWrites a comparison report covering speed, quality, context, bottlenecks and rankings.
  • Context window analysisFlags context sizes where KV cache spills to CPU and excludes them from the sweet spot.

What you need

  • Ollama
  • Python 3 with the requests package
  • NVIDIA GPU with nvidia-smi, or AMD GPU with rocm-smi
  • Sudo access to restart the Ollama service
  • Docker Compose, only if a gateway container is used

Try asking

  • Compare my local Ollama models and write a markdown report
  • Which model size should I run based on my GPU VRAM?
  • Benchmark the Ollama models I have installed and skip the tested ones

Good to know

  • Not for hosted API model evaluation or subjective chat quality judging.
  • Restarts the Ollama service with sudo systemctl and may stop and restart a Docker gateway container.
  • Contains placeholder names such as your-llm-gateway that must be replaced before use.
  • The benchmark script is referenced as scripts/benchmark.py and is not included in the source shown.

Security check

C
  • Downloads a script from the internet and runs itIn llm-benchmark/SKILL.md: curl -fsSL https://ollama.com/install.sh | sh
  • Asks for administrator rights (sudo)In llm-benchmark/SKILL.md: sudo

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

Alternatives to llm-benchmark

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

llm-benchmark: common questions

Does llm-benchmark test cloud API models?

No. The skill states it is not for evaluating hosted API models.

What does it check before running a benchmark?

It restarts Ollama to clear VRAM and checks memory use before testing. It also asks the user to confirm hardware and service state before pulling large models or restarting services.

Where are the results saved?

Raw results go to ~/benchmark_results.json and the markdown report is written to ~/model_benchmark.md.

How do I install llm-benchmark?

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

Is llm-benchmark free?

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

Is llm-benchmark safe to use?

It scores 64 of 100. Grades: maintenance A, licence A, quality B. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to llm-benchmark?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

llm-benchmark Install

Add to stack

Loading.