boxel: Command for Claude Code

.claude/commands/run-ai-assistant-eval.md

run-ai-assistant-eval is a command for Claude Code from cardstack/boxel. It costs 78 tokens per session (2,980 once invoked), scanned A, original, MIT.

A command that runs an evaluation card against one or more AI models through the real assistant and records each result. An evaluation card contains a task and the criteria used to judge its success.

In plain words
What is it for?
Use it to compare models on a defined assistant task, watch the browser-based run if needed, and record whether each model met the card's criteria.
Why use it?
It avoids informal or incomplete model testing by asking for the required choices, running each selected model once, and saving the results for review. Each run uses real time and may incur provider charges.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

This is cardstack/boxel's own configuration. It tells Claude Code how to work on boxel itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything boxel configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cardstack/boxel. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cardstack/boxel/main/.claude/commands/run-ai-assistant-eval.md
Clone the repo
git clone --depth 1 https://github.com/cardstack/boxel

Made for: Claude Code.

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 run-ai-assistant-eval

README.md
[![agentmods](https://agentmods.dev/badge/commands/cardstack/boxel/run-ai-assistant-eval/github.svg)](https://agentmods.dev/commands/cardstack/boxel/run-ai-assistant-eval)
Your own site
<a href="https://agentmods.dev/commands/cardstack/boxel/run-ai-assistant-eval"><img src="https://agentmods.dev/badge/commands/cardstack/boxel/run-ai-assistant-eval/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for run-ai-assistant-eval

Your own site · 80×15
<a href="https://agentmods.dev/commands/cardstack/boxel/run-ai-assistant-eval"><img src="https://agentmods.dev/badge/commands/cardstack/boxel/run-ai-assistant-eval.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,980 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00078 $0.02980
Opus 5.5 $0.00031 $0.01192
Sonnet 5.5 $0.00016 $0.00596
Haiku 4.5 $0.00008 $0.00298

Measured yesterday against content hash eff39df9066d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

run-ai-assistant-eval scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

answer comes back — no `curl` of the stack, no `pnpm eval:setup`, no run. The
.claude/commands/run-ai-assistant-eval.md · 227 lines

How it starts

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

Run an AI assistant evaluation end to end: $ARGUMENTS

The first token is the EvaluationCard URL, for example https://localhost:4201/user/evals/Evaluation/hello-world. The second, optional, token is a comma-separated list of models as the picker names them ("Claude Sonnet 4.6,GPT-5.5").

Every model run spends real money and takes minutes. Run each model once per session. Never rerun a model whose result you have not read, and never loop. A plan that repeats runs, as the skill-change-eval skill's does, runs each repeat as its own session once the previous one is judged.

1. Ask what to run

Ask before anything else. The only work that comes first is reading the files the options are built from, named below. Nothing else happens until the answer comes back — no curl of the stack, no pnpm eval:setup, no run. The preflight is step 2 for a reason: starting it first burns time on a run that may not be the one the user wanted, and a stack that is down is worth reporting after the choice, not instead of it.

Look at $ARGUMENTS. Ask with one AskUserQuestion call carrying every question it leaves unanswered:

  • no EvaluationCard URL and no evaluation name → ask which evaluation
  • no model list → ask which models
  • nothing about the browser → ask whether to watch it

If it answers all three, skip straight to the preflight. Otherwise every unanswered one goes in the same call, so the user answers once and the run proceeds without further interruption.

Which evaluation. Read every eval-realm/Evaluation/*.json under packages/ai-assistant-evals and take data.attributes.cardInfo.name and .summary from each — never a hardcoded list, because evaluations are added by dropping a file in that directory. List all of them in the reply, numbered, one line each as name — summary, with the summary copied word for word: it already says what each prompt asks and what the eval tests, so do not shorten or rephrase it. Then ask, with hello-world first (it is the cheapest and the one to start from) and the rest by ascending cost. Each option's label is the name, and its description is the summary, word for word. Say in the question that "Other" takes any file name from the list. An evaluation's URL is https://localhost:4201/user/evals/Evaluation/<file name without .json>.

Which models. Read every model the SystemCard offers (packages/catalog/contents/SystemCard/default.json → relationships.modelConfigurations.* → each card's cardInfo.name). That list is the whole of what can be asked for: a model the SystemCard does not list is not in the picker, and naming it fails the run at model selection.

Print all of them in the reply as a numbered list, name and lab per line, so the third option below has something to refer to.

Then ask, three options:

  • Claude Sonnet 4.6 — the recommended single model. Minutes and cents.
  • GPT-5.6 Luna — a single model from another lab, for a second opinion on the same evaluation.
  • Specify manually — all for every model on the list, or any names from it, comma-separated. Say in the description that this is where the other thirteen live and that all costs dollars and the better part of an hour for a one-prompt evaluation, more for a two-prompt one.

An answer typed into the box is names or all, taken as given.

Take an answer the user typed into "Other" as given — it is a picker name or an evaluation file name, not a new question.

Whether to watch the browser. Three options, watching first as the default, because a run takes minutes and what the assistant does on screen is most of what there is to see:

  • Watch it — pass no flag. One headed browser with a window per model, all still running side by side, so watching costs no wall-clock.
  • Headless — pass --headless. Nothing on screen.
  • One at a time — pass --headed. A plain window, one model per turn; say in the description that this makes a sweep as long as the sum of its models.

Read the full file on GitHub · 227 lines

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. yesterday Changed · +2 lines eff39df9066d
  2. 5d ago First seen · 225 lines · 78 tokens per session scan A 19061ce93cf5

Subscribe to this mod's changes

run-ai-assistant-eval is a command published in the GitHub repository cardstack/boxel (27 stars, last pushed today), licensed MIT. It adds 78 tokens to every session and 2,980 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-21.