Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

benchmark-fetcher

БесплатноЗапускает вложенные скриптыНе проверен

Fetch benchmark performance data from 6 leaderboard websites using Playwright MCP and update model manifests with the latest scores. Supports SWE-bench…

aicodingstackот aicodingstack★ 31 звезда на GitHub17 установок в других каталогах

Об этом скилле

Benchmark Fetcher Skill

Automate the fetching of benchmark performance data from leaderboard websites and update model manifests with the latest scores using advanced browser automation.

Overview

This skill extends benchmark data collection by automating visits to 6 major AI model leaderboard websites, extracting performance scores, and updating model manifests in manifests/models/ with the latest benchmark data.

Key Features:

  • Automated Data Collection: Uses Playwright MCP to visit and extract data from 6 leaderboard websites
  • Intelligent Model Mapping: Maps website model names to manifest IDs using configurable mappings
  • Always Overwrite: Updates manifests with latest benchmark values
  • Error Resilient: Retry logic with exponential backoff and graceful degradation
  • Comprehensive Reporting: Detailed completion reports with unmapped models and update statistics

Supported Benchmarks

Benchmark Website Manifest Field Format
SWE-bench https://www.swebench.com sweBench Percentage (0-100)
TerminalBench https://www.tbench.ai/leaderboard/terminal-bench/2.0 terminalBench Decimal (0-1)
MMMU https://mmmu-benchmark.github.io/#leaderboard mmmu, mmmuPro Percentage (0-100)
SciCode https://scicode-bench.github.io/leaderboard/ sciCode Percentage (0-100)
LiveCodeBench https://livecodebench.github.io/leaderboard.html liveCodeBench Percentage (0-100)
WebDevArena https://web.lmarena.ai/leaderboard webDevArena Percentage (0-100)

Note: TerminalBench uses a decimal format (0-1 scale), while all other benchmarks use percentage format (0-100 scale).

Usage

Fetch All Benchmarks

Update all model manifests with latest benchmark data from all 6 websites:

node .claude/skills/benchmark-fetcher/scripts/fetch-benchmarks.mjs

Fetch Specific Benchmarks

Update only specific benchmarks:

# Fetch only SWE-bench and TerminalBench
node .claude/skills/benchmark-fetcher/scripts/fetch-benchmarks.mjs --benchmarks swebench,terminalBench

# Fetch only LiveCodeBench
node .claude/skills/benchmark-fetcher/scripts/fetch-benchmarks.mjs --benchmarks liveCodeBench

Fetch for Specific Models

Update benchmarks for specific models only:

# Update only Claude Sonnet 4.5 and GPT-4o
node .claude/skills/benchmark-fetcher/scripts/fetch-benchmarks.mjs --models claude-sonnet-4-5,gpt-4o

Dry Run Mode

Preview what would be updated without actually modifying manifests:

node .claude/skills/benchmark-fetcher/scripts/fetch-benchmarks.mjs --dry-run

Model Name Mapping

How Mapping Works

Each benchmark website uses different naming conventions for models. The references/model-name-mappings.json file maps website-specific model names to manifest IDs.

Example mapping:

{
  "swebench": {
    "websiteModels": {
      "Claude Sonnet 4.5": "claude-sonnet-4-5",
      "GPT-4o": "gpt-4o",
      "Gemini 2.5 Pro": "gemini-2-5-pro"
    }
  }
}

Mapping Strategy

The mapper uses a 3-tier fallback strategy:

  1. Exact match (case-sensitive): "Claude Sonnet 4.5" → "claude-sonnet-4-5"
  2. Case-insensitive match: "claude sonnet 4.5" → "claude-sonnet-4-5"
  3. Fuzzy match (normalized): "Claude-Sonnet-4.5" → "claude-sonnet-4-5"

Normalization: Removes spaces, hyphens, and special characters for fuzzy matching.

Adding New Mappings

When the script reports unmapped models, add them to references/model-name-mappings.json:

{
  "swebench": {
    "websiteModels": {
      "New Model Name": "new-model-id"
    }
  }
}

Data Extraction Process

High-Level Workflow

  1. Load Configuration: Read mappings, load all model manifests
  2. Initialize Browser: Start Chrome DevTools MCP browser instance
  3. Visit Websites: Sequentially visit each benchmark website
  4. Extract Data: Parse leaderboard tables from page snapshots
  5. Map Models: Match website model names to manifest IDs
  6. Update Manifests: Overwrite benchmark values in manifest files
  7. Generate Report: Show updates, failures, and unmapped models

Website-Specific Extractors

Each benchmark has a dedicated extractor function in scripts/lib/benchmark-extractors.mjs:

  • extractSWEBench() - Extracts SWE-bench Verified scores
  • extractTerminalBench() - Extracts TerminalBench 2.0 accuracy (decimal format)
  • extractMMMU() - Extracts both MMMU and MMMU Pro scores
  • extractSciCode() - Extracts SciCode benchmark scores
  • extractLiveCodeBench() - Extracts LiveCodeBench Pass@1 scores
  • extractWebDevArena() - Extracts WebDevArena scores

Special Cases

TerminalBench Format:

  • Website displays percentages (42.8%)
  • Must store as decimal: 0.428 (not 42.8)
  • Extractor handles conversion automatically

MMMU Dual Benchmarks:

  • Single website has both MMMU and MMMU Pro
Полный SKILL.md на GitHub

Установить benchmark-fetcher в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdreferences/model-name-mappings.jsonscripts/fetch-benchmarks.mjsscripts/lib/benchmark-extractors.mjsscripts/lib/config.mjsscripts/lib/manifest-updater.mjsscripts/lib/model-name-mapper.mjsscripts/lib/report-generator.mjs

FAQ

Что делает скилл benchmark-fetcher?

Fetch benchmark performance data from 6 leaderboard websites using Playwright MCP and update model manifests with the latest scores. Supports SWE-bench, TerminalBench, SciCode, LiveCodeBench, MMMU, MMMU Pro, and WebDevArena benchmarks.

Как установить скилл benchmark-fetcher?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл benchmark-fetcher запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить benchmark-fetcher с