agentic-context-engine: Command for Claude Code

.claude/commands/benchmark.md

benchmark is a command for Claude Code from kayba-ai/agentic-context-engine. It costs 0 tokens per session (616 once invoked), scanned A, original, Apache-2.0.

A command for running a TAU-bench evaluation, a test that measures how well an AI agent handles tasks, and showing the results.

In plain words
What is it for?
Use it to run baseline, comparison, or ACE-only evaluations with a selected model profile and optional command-line settings.
Why use it?
It removes the need to assemble the evaluation command, wait for the run, find the newest result file, and read its summary manually.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is kayba-ai/agentic-context-engine's own configuration. It tells Claude Code how to work on agentic-context-engine 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 agentic-context-engine configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python scripts/run_tau_benchmark.py --config <config> --save-detailed <mode-flag> <extra-args>.

About the project

Agentic Context Engine is an open-source engine that gives AI agents a persistent learning loop, helping them remember successful strategies and learn from failures across sessions. It is used to improve production agents, and also powers Kayba’s hosted service. Catalogue add-ons support workflows for operating and configuring the engine.

kayba-ai/agentic-context-engine · 2,608 stars · on GitHub · kayba.ai

Reuse

Borrowing it

Nothing to install: this file belongs to kayba-ai/agentic-context-engine. 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/kayba-ai/agentic-context-engine/main/.claude/commands/benchmark.md
Clone the repo
git clone --depth 1 https://github.com/kayba-ai/agentic-context-engine

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 benchmark

README.md
[![agentmods](https://agentmods.dev/badge/commands/kayba-ai/agentic-context-engine/benchmark/github.svg)](https://agentmods.dev/commands/kayba-ai/agentic-context-engine/benchmark)
Your own site
<a href="https://agentmods.dev/commands/kayba-ai/agentic-context-engine/benchmark"><img src="https://agentmods.dev/badge/commands/kayba-ai/agentic-context-engine/benchmark/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 benchmark

Your own site · 80×15
<a href="https://agentmods.dev/commands/kayba-ai/agentic-context-engine/benchmark"><img src="https://agentmods.dev/badge/commands/kayba-ai/agentic-context-engine/benchmark.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 616 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.00616
Opus 5.5 $0.00000 $0.00246
Sonnet 5.5 $0.00000 $0.00123
Haiku 4.5 $0.00000 $0.00062

Measured 2mo ago against content hash 5e6ef464b104, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

benchmark 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 2mo 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.

.claude/commands/benchmark.md · 62 lines

What it actually says

Run a TAU-bench evaluation end-to-end and present results.

Syntax: /benchmark <config> [mode] [extra-args]

Arguments:

  • config (from $ARGUMENTS, first word) — profile name: haiku, sonnet, gpt4.1-mini, gpt4.1, fast, default
  • mode (from $ARGUMENTS, second word, optional) — baseline (default), compare, or ace-only
  • extra-args (from $ARGUMENTS, remaining words) — forwarded verbatim to the CLI

Workflow:

  1. Parse arguments from $ARGUMENTS:

    • Split into: config (first word), mode (second word if it matches baseline/compare/ace-only, else default to baseline), and extra-args (the rest)
  2. Build the command:

    uv run python scripts/run_tau_benchmark.py --config <config> --save-detailed <mode-flag> <extra-args>
    

    Mode flags:

    • baseline → --skip-ace
    • compare → --compare
    • ace-only → (no flag)
  3. Show the command to the user before running

  4. Run the command with a 10-minute timeout (TAU-bench runs are long)

  5. Find the latest result: list tau_benchmark_results/ sorted by modification time, pick the newest *_summary.json

  6. Read the summary JSON and present results using this format:

    For baseline runs:

    ## <Mode>: <Model Short Name> — <Domain> (test split, k=<k>)
    
    | Setting | Value |
    |---------|-------|
    | Model | <exact model id> |
    | User LLM | <user_llm> |
    | Domain | <domain> |
    | Split | <split> (<N> tasks) |
    | Max steps | <max_steps> |
    | Seed | <seed> |
    
    | Metric | Score |
    |--------|-------|
    | pass^1 | XX.XX% |
    | pass^2 | XX.XX% |
    | ... | ... |
    

    For comparison runs, add Baseline / ACE / Delta columns.

Examples:

  • /benchmark haiku → baseline haiku run
  • /benchmark haiku compare → baseline vs ACE comparison
  • /benchmark fast → quick smoke test (3 tasks, k=1)
  • /benchmark sonnet compare --domain retail → sonnet comparison on retail

Key fields to always include in the results table: exact model ID, user LLM, domain, split + task count, skillbook status, and all pass^k metrics.

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. 2mo ago First seen · 62 lines · 0 tokens per session scan A 5e6ef464b104

Subscribe to this mod's changes

benchmark is a command published in the GitHub repository kayba-ai/agentic-context-engine (2,608 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 616 tokens. 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

benchmark compared with commands from other repositories

benchmark next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
benchmarkkayba-ai/agentic-context-engineCommand2.6k1mo agoApache-2.0A0Claude Code
test-cardsstripe/aiCommand2.0kyesterdayMITA9Claude Code
checkLarens94/codednaCommand15113d agoMITA15Claude Code
dream-applyconorbronsdon/agent-memory-kitCommand21mo agoMITA20Claude Code
endconorbronsdon/agent-memory-kitCommand21mo agoMITA14Claude Code
dreamconorbronsdon/agent-memory-kitCommand21mo agoMITA0Claude Code
startconorbronsdon/agent-memory-kitCommand21mo agoMITA16Claude Code