Command Palette

Search for a command to run...

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

agentbench

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

Benchmark your OpenClaw agent across 40 real-world tasks. Tests file creation, research, data analysis, multi-step workflows, memory, error handling, and tool…

modbenderот modbender★ 21 звезда на GitHub

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

AgentBench for OpenClaw

Benchmark your OpenClaw agent's general capabilities across 40 real-world tasks spanning 7 domains.

Commands

When the user says any of these, follow the corresponding instructions:

  • /benchmark — Run the full benchmark suite (all 40 tasks)
  • /benchmark --fast — Run only easy+medium tasks (19 tasks)
  • /benchmark --suite <name> — Run one domain only
  • /benchmark --task <id> — Run a single task
  • /benchmark --strict — Tag results as externally verified scoring
  • /benchmark-list — List all tasks grouped by domain
  • /benchmark-results — Show results from previous runs
  • /benchmark-compare — Compare two runs side-by-side

Flags are combinable: /benchmark --fast --suite research

Running a Benchmark

Step 1: Discover Tasks

Read task.yaml files from the tasks/ directory in this skill:

tasks/{suite-name}/{task-name}/task.yaml

Each task.yaml contains: name, id, suite, difficulty, mode, user_message, input_files, expected_outputs, expected_metrics, scoring weights.

Filter by --suite or --task if specified. If --fast is set and --task is not, filter to only tasks where difficulty is "easy" or "medium".

Profile is "fast" if --fast was specified, otherwise "full".

List discovered tasks with count and suites.

Step 2: Set Up Run Directory

Generate a run ID from the current timestamp: YYYYMMDD-HHmmss

Read suite_version from skill.json in this skill directory.

Create the results directory:

agentbench-results/{run-id}/

Announce: Starting AgentBench run {run-id} | Profile: {profile} | Suite version: {suite_version} | Tasks: {count}

Step 3: Execute Each Task

For each task:

  1. Set up workspace:

    • Create /tmp/agentbench-task-{task-id}/ as workspace
    • Copy input files from tasks/{suite}/{task}/inputs/ to the workspace (if inputs/ exists)
    • If the task directory contains a setup.sh: run bash tasks/{suite}/{task}/setup.sh {workspace-path}
    • For file-unchanged validators: compute checksums of specified files after setup, before task execution
  2. Announce: Running: {task.name} [{task.suite}] (difficulty: {task.difficulty})

  3. Record start time (milliseconds): date +%s%3N

  4. Execute the task yourself directly:

    • Read the task's user_message and execute it as if a real user sent you the request
    • Work ONLY within the workspace directory
    • If input files are listed, read them from the workspace
    • Execute naturally — use the appropriate tools (read, write, edit, exec, web_search, web_fetch, etc.)
    • Create any output files in the workspace directory
    • When done, write a brief execution-trace.md to the workspace:
      • What you understood the task to be
      • What approach you took
      • What files you created or modified
      • Any difficulties or decisions you made
  5. Record end time and compute duration

  6. Collect metrics:

    • total_time_ms: end - start
    • tool_calls_total: count how many tool calls you made during this task
    • errors: count any tool call failures
    • planning_ratio: estimate the fraction of time spent reading/thinking vs producing output (approximate is fine)
  7. Layer 0 — Automated Structural Checks (compute directly): After task execution, check the workspace. For each entry in expected_outputs:

    • file-exists: Check if file exists. 30 points if found, 0 if not.
    • content-contains: Read file, check each required section keyword (case-insensitive). Points proportional to matches found. Pool: 40 points.
    • word-count-range: Count words. In range = 30 points. Within 2x range = 15 points. Outside = 0.
    • git-log-contains: Check git log for expected strings. 30 points if all found, proportional otherwise.
    • directory-structure: Check all paths exist. 30 points if all present, proportional for partial.
    • command-output-contains: Run command, check output contains all strings. 30 points if match, 0 if not.
    • file-unchanged: Compare checksum against pre-execution checksum. 30 points if unchanged, 0 if modified.
    • link-consistency: Scan files for link syntax consistency. 30 points if consistent, 15 if mostly consistent (>70% one style), 0 if mixed.
    • Normalize total to 0-100.
  8. Layer 1 — Metrics Analysis (compute directly): If task has expected_metrics:

    • Tool calls within expected range: 40 points
    • Tool calls within 2x range: 20 points
    • Outside 2x range: 0 points
    • Planning ratio within expected range: 30 points
    • Planning ratio outside but within 2x: 15 points
    • Way off: 0 points
    • Zero errors: 30 points
    • 1-2 errors: 15 points
    • 3+ errors: 0 points
    • Normalize to 0-100. If no metrics available, score as 50.
    • Token estimate is tracked for reporting but NOT scored.
  9. **Layer 2 — Behavio

Полный SKILL.md на GitHub

Установить agentbench в Claude Code и Claude Desktop

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

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

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

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

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

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

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

README.mdlib/metrics.shskill.jsontasks/data-analysis/cross-reference/inputs/inventory.csvtasks/data-analysis/cross-reference/inputs/orders.csvtasks/data-analysis/cross-reference/task.yamltasks/data-analysis/find-anomalies/inputs/sales-data.csvtasks/data-analysis/find-anomalies/task.yamltasks/data-analysis/log-pattern-detection/setup.shtasks/data-analysis/log-pattern-detection/task.yamltasks/data-analysis/multi-format-reconciliation/setup.shtasks/data-analysis/multi-format-reconciliation/task.yamltasks/data-analysis/summary-statistics/inputs/survey-results.csvtasks/data-analysis/summary-statistics/task.yamltasks/error-handling/cascading-failures/setup.shtasks/error-handling/cascading-failures/task.yamltasks/error-handling/corrupted-input/inputs/data.jsontasks/error-handling/corrupted-input/task.yamltasks/error-handling/impossible-request/task.yamltasks/error-handling/misleading-error-message/setup.shtasks/error-handling/misleading-error-message/task.yamltasks/error-handling/missing-dependency/task.yamltasks/error-handling/partial-recovery/setup.shtasks/error-handling/partial-recovery/task.yamltasks/file-creation/data-spreadsheet/inputs/raw-records.txttasks/file-creation/data-spreadsheet/task.yamltasks/file-creation/linked-project-scaffold/inputs/architecture.mdtasks/file-creation/linked-project-scaffold/task.yamltasks/file-creation/migration-script/setup.shtasks/file-creation/migration-script/task.yamltasks/file-creation/pitch-deck-outline/inputs/startup-info.txttasks/file-creation/pitch-deck-outline/task.yamltasks/file-creation/project-proposal/inputs/project-brief.txttasks/file-creation/project-proposal/task.yamltasks/file-creation/project-scaffold/setup.shtasks/file-creation/project-scaffold/task.yamltasks/file-creation/skill-graph-creation/inputs/skill-requirements.mdtasks/file-creation/skill-graph-creation/task.yamltasks/file-creation/skill-graph-refactor/setup.shtasks/file-creation/skill-graph-refactor/task.yaml

FAQ

Что делает скилл agentbench?

Benchmark your OpenClaw agent across 40 real-world tasks. Tests file creation, research, data analysis, multi-step workflows, memory, error handling, and tool efficiency. Not a coding benchmark — measures your agent setup and config.

Как установить скилл agentbench?

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

Скилл agentbench запускает скрипты?

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

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

Сравнить agentbench с