operate-benchmark-lab

operate-benchmark-lab is a skill for Claude Code, Codex from understudylabs/understudy-agent-tools. It costs 109 tokens per session (3,740 once invoked), scanned A, original, MIT.

An operator guide for the full benchmark process: turning captured examples into tests, reviewing them, running model experiments, and reading the results. A benchmark is a repeatable set of tasks used to compare how well models perform.

In plain words
What is it for?
Use it to build benchmarks from traces, review and calibrate evaluations, queue prompt experiments, check whether an executor is running, and read rigor reports.
Why use it?
It keeps the separate preparation, review, queueing, execution, and reporting steps understandable. It also clarifies that adding a run to a queue does not start it or spend money until an executor collects it.

Skill for Claude CodeCodex

Part of the understudy plugin — 43 skills, 1 command shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/understudylabs/understudy-agent-tools/operate-benchmark-lab
Any agent
npx skills add understudylabs/understudy-agent-tools --skill operate-benchmark-lab
Clone the repo
git clone --depth 1 https://github.com/understudylabs/understudy-agent-tools

Made for: Claude Code, Codex.

Or install understudy, the plugin that ships this one along with the rest of its 43 skills, 1 command.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for operate-benchmark-lab

README.md
[![agentmods](https://agentmods.dev/badge/skills/understudylabs/understudy-agent-tools/operate-benchmark-lab.svg)](https://agentmods.dev/skills/understudylabs/understudy-agent-tools/operate-benchmark-lab)
Your own site
<a href="https://agentmods.dev/skills/understudylabs/understudy-agent-tools/operate-benchmark-lab"><img src="https://agentmods.dev/badge/skills/understudylabs/understudy-agent-tools/operate-benchmark-lab.svg" alt="Measured on agentmods" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,740 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00109 $0.03740
Opus 5 $0.00055 $0.01870
Sonnet 5 $0.00022 $0.00748
Haiku 4.5 $0.00011 $0.00374

Measured 3d ago against content hash 804c8553bb45, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

operate-benchmark-lab scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/operate-benchmark-lab/SKILL.md · 257 lines

How it starts

The opening of the file, as written. The whole thing — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Operate the benchmark lab

The operator's manual for the whole benchmark/experiment lifecycle a coding agent can drive end to end. Two interfaces over the same sidecar files: the benchmarks MCP server (preferred for agents — same validation code as the hub API) and the CLI verbs. Execution always happens in a separate executor process; the MCP server and hub never run models. Command matrix, artifact map, and daemon details in reference.md; the tool table and agent loop in docs/agent-operator-surface.md.

Resolve CLI

Prefer the installed understudy binary. If it is unavailable inside a repo checkout, run through the package script:

npm run build
node dist/bin.js benchmarks mcp --root <dir>

MCP registration (Claude Code ~/.claude.jsonmcpServers): { "understudy-benchmarks": { "type": "stdio", "command": "understudy", "args": ["benchmarks", "mcp"] } } — default root ~/.understudy/benchmarks; add --root per extra directory.

Safety Gates

  • Queueing is not executing. queue_run / understudy runs queue only writes a request file. Model rollouts spend gateway money only when an executor picks the request up; say which executor will, before queueing.
  • Trust posture, not per-call dialogs. Spend-adjacent shapes (multi-arm or multi-rollout runs, implicit all-task runs, experiment approval/verdict patches) consult the one-time posture in ~/.understudy/trust.json (understudy trust set, levels local_sandbox < bounded_experiments < hosted_ops). At bounded_experiments+ they proceed with a visible one-line notice (arm count, rough cost) — surface that notice to the user, then keep moving. Below that, the guard returns the one action to offer (understudy trust set bounded_experiments); confirm: true after explicit in-chat consent stays a per-call escape hatch. There is NO default spend cap: the posture's allow_spend_usd_per_run is an opt-in generous stop-loss (warn at 1x with a recorded spend_warning; hard stop only at 2x with spend_stop).
  • Local arms are machine-aware. On predicted OOM (onboarding profile / memory probe) or a serve failure, the executor runs the arm on the gateway base model and records it — arm_fallback event plus fallback_reason on every row. Report the fallback; never present a fallen-back arm as a local measurement.
  • One executor per benchmark dir. Before starting runs execute --watch, check for a live claim (claimed_by on the request, executor_version on events) — a stale watcher built before a feature landed is the classic corruption hazard; new requests carry requires:[...] so old executors skip them with run_unsupported instead of running them bare.
  • Reviews and feedback are append-only ledgers; never edit reviews.jsonl/feedback.jsonl lines in place. Generated tasks are born accepted (review-policy default_decision: "accept") — reviews.jsonl carries explicit overrides only. apply_auto_accepts matters only for benchmarks opted into default_decision: "pending", and is itself the explicit user action — invoke it only when the developer asked.
  • Honest reporting only: anomaly rows (rollout_timeout, app_replay_unobserved, structural sentinels) are excluded from aggregates but reported, never fabricated as scores. Overlapping CIs are a tie.
  • Verifier-only changes regrade, never rerun. When only the verifier group changed (gold, contract, rubric, metric config — a MINOR bump), re-score the existing trajectories; queueing fresh rollouts for a verifier fix wastes gateway money and destroys comparability. Rerun is reserved for env-group (MAJOR) changes.
  • Fixture-test every verifier before trusting it. One known-valid result must pass and one plausible-but-wrong result must fail. A verifier that has never rejected a wrong answer has not been tested; do not regrade or calibrate against it.

Read the full file on GitHub · 257 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 257 lines · 109 tokens per session scan A 804c8553bb45

Subscribe to this mod's changes

operate-benchmark-lab is a skill published in the GitHub repository understudylabs/understudy-agent-tools (16 stars, last pushed 4d ago), licensed MIT. It adds 109 tokens to every session and 3,740 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens