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.
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-benchmarkRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/KerberosClaw/kc_ai_skills /tmp/kc_ai_skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/kc_ai_skills/llm-benchmark ~/.gemini/antigravity-cli/skills/llm-benchmarkAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
