Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
glebis avatar

Vision Bench

  • 146 installs
  • 339 repo stars
  • Updated August 4, 2026
  • glebis/claude-skills

Benchmark vision model accuracy, latency, and failure modes on labeled image sets before shipping multimodal features to production users.

About

vision-bench equips Claude Code to run structured vision model evaluations—accuracy, latency, cost, and failure modes—on fixed image sets so teams can ship multimodal features with measured quality instead of anecdotal prompts.

  • Dataset-driven vision model evaluation
  • Latency and cost comparison across providers
  • Failure-mode and hallucination checks
  • Regression tracking between model versions
  • Reports for ship/no-ship decisions

Vision Bench by the numbers

  • 146 all-time installs (skills.sh)
  • Ranked #3,425 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/glebis/claude-skills --skill vision-bench

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs146
repo stars339
Last updatedAugust 4, 2026
Repositoryglebis/claude-skills

What it does

Benchmark vision model accuracy, latency, and failure modes on labeled image sets before shipping multimodal features to production users.

Files

SKILL.mdMarkdownGitHub ↗

Vision Bench — LLM Image Evaluation

Compare images by scoring them with one or more vision LLM judges against structured rubric criteria.

Quick Start

# Install dependencies
pip install pyyaml openai anthropic mistralai

# Score a single image
python bench.py image.png --criteria photorealism --judge gemini-2.5-flash

# Compare two AI-generated images
python bench.py img_a.png img_b.png \
  --criteria text_to_image \
  --prompt "a fox in a snowy forest" \
  --judge gpt-4o

# Multi-judge consensus
python bench.py img.png \
  --criteria portrait \
  --judges gpt-4o gemini-2.5-flash claude-opus-4-5-20251022

# OpenRouter models (any vision-capable model)
python bench.py img_a.png img_b.png \
  --criteria artistic_style \
  --judges "openrouter/meta-llama/llama-4-maverick" "openrouter/mistralai/pixtral-large-2411"

# List all presets
python bench.py --list-presets

# Save report to file
python bench.py img.png --criteria chart_analysis --save report.md

Presets

PresetUse Case
text_to_imageCompare AI image generators (Midjourney, DALL-E, Flux)
photorealismHow convincingly an image looks like a photo
artistic_styleStyle consistency, composition, color harmony
portraitAI-generated portrait quality and realism
product_photoE-commerce product image quality
document_ocrDocument text extraction and layout understanding
chart_analysisChart and data visualization comprehension
invoiceFinancial document field extraction accuracy
ui_screenshotApp/web screenshot understanding
scientificScientific/medical image accuracy
alt_textAccessibility image description quality

Custom criteria: pass any .yaml file as --criteria path/to/my.yaml.

Judge Providers

PrefixProviderExample
gpt-, o1, o3, o4OpenAIgpt-4o
claude-Anthropicclaude-sonnet-4-5-20251022
gemini-Google Geminigemini-2.5-flash
pixtral-, mistral-, ministral-Mistralpixtral-12b-2409
openrouter/OpenRouter (any model)openrouter/meta-llama/llama-4-maverick

API Keys

Keys are loaded from secrets.enc.yaml (SOPS + age encrypted) with fallback to environment variables.

Supported keys: OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, OPENROUTER_API_KEY

To encrypt your own keys:

sops --config .sops.yaml --encrypt --input-type yaml --output-type yaml secrets.yaml > secrets.enc.yaml

Output Formats

--output markdown (default) · --output json · --output table

Files

  • bench.py — CLI entry point
  • judge.py — Multi-provider LLM judge logic
  • report.py — Report generation
  • vault.py — SOPS secrets decryption
  • criteria/ — 11 YAML preset files
  • .sops.yaml — Age key config for encryption
  • secrets.enc.yaml — Encrypted API keys

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.