benchmark

benchmark is a skill for Codex from conn-castle/agent-layer. It costs 54 tokens per session (1,257 once invoked), scanned A, original, MIT.

A benchmarking workflow for comparing two versions of a coding-agent setup, such as different instructions, skills, or agent configurations. It measures score and cost differences and investigates their causes.

In plain words
What is it for?
Use it to select benchmark tasks, run or resume comparisons, interpret scores and costs, and trace unexpected changes to the agent, tasks, verifier, environment, or accounting.
Why use it?
It replaces guesswork with a structured comparison against a baseline. It also helps explain why results changed instead of reporting only that one version did better or worse.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to select benchmark tasks, run or resume comparisons, interpret scores and costs, and trace unexpected changes to the agent, tasks, verifier, environment, or accounting.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/conn-castle/agent-layer/benchmark
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.

Any agent
npx skills add conn-castle/agent-layer --skill benchmark
Clone the repo
git clone --depth 1 https://github.com/conn-castle/agent-layer

Made for: Codex.

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/skills/conn-castle/agent-layer/benchmark/github.svg)](https://agentmods.dev/skills/conn-castle/agent-layer/benchmark)
Your own site
<a href="https://agentmods.dev/skills/conn-castle/agent-layer/benchmark"><img src="https://agentmods.dev/badge/skills/conn-castle/agent-layer/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/skills/conn-castle/agent-layer/benchmark"><img src="https://agentmods.dev/badge/skills/conn-castle/agent-layer/benchmark.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,257 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.00054 $0.01257
Opus 5.5 $0.00022 $0.00503
Sonnet 5.5 $0.00011 $0.00251
Haiku 4.5 $0.00005 $0.00126

Measured 5d ago against content hash 349dfc80b059, 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 5d 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.

internal/templates/skills-catalog/benchmark/SKILL.md · 98 lines

How it starts

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

Benchmark

Benchmarking requires the optional al-benchmark executable on PATH. Check al-benchmark --version; if absent, install the matching published Agent Layer release with go install github.com/conn-castle/agent-layer/cmd/al-benchmark@<version> (Go 1.27+), ensuring Go's bin directory is on PATH. In the Agent Layer source checkout, use make benchmark-install instead. al benchmark forwards to this companion. Installation does not pull task images, and existing study data and reports need no migration. See docs/BENCHMARK.md for setup and external registry limitations.

Help the user A/B test a change to an agent system—typically a skill, instructions, agent configuration, or harness behavior, but potentially any deliberate system change. One arm is the baseline and the other contains the change being evaluated. Match the amount of analysis and rigor the user wants; this skill does not prescribe an experimentation method.

A score or cost difference always has a cause. Reporting the difference is not enough: investigate why it changed relative to the baseline and explain the root cause in simple language. Consider the whole system, including the agent, task, verifier, benchmark implementation, dependencies, environment, configuration, and cost accounting. Do not assume the benchmark is correct or stop at a symptom such as “the task failed.” Follow the evidence until the underlying cause is clear. If retained evidence cannot establish it, identify the missing evidence and gather it when possible rather than guessing.

1. Obtain a task selection

For budget questions, check the DeltaSelect tool before quoting task counts or prices. Enter each budget with the requested model, reasoning, and repetitions. Report the displayed count and price. If the configuration is missing, name the model, effort, and repetitions used for any comparison estimate. If the tool is unavailable, ask for its output or an exported selection and leave the estimate pending.

Read the full file on GitHub · 98 lines

Files

What ships with it

2 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. 5d ago Changed · +11 lines 349dfc80b059
  2. 1mo ago Changed · +2 lines e953d69ab9c9
  3. 2mo ago First seen · 85 lines · 54 tokens per session scan A 64fc75e4bb62

Subscribe to this mod's changes

benchmark is a skill published in the GitHub repository conn-castle/agent-layer (10 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 1,257 once invoked, about $0.0002 per session on Opus 5.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-09-19.

Related

benchmark compared with skills from other repositories

benchmark next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
benchmarkconn-castle/agent-layerSkill10todayMITA54Codex
writing-workflow-skillsJetBrains/thinkrailSkill8.5kyesterdayApache-2.0A60Claude Code, Codex
artifact-deploykirodotdev/KiroCrewSkill5.1ktodayApache-2.0A74Claude Code, Codex
explain-forkirodotdev/KiroCrewSkill5.1ktodayApache-2.0A71Claude Code, Codex
writing-specsJetBrains/thinkrailSkill8.5kyesterdayApache-2.0A59Claude Code, Codex
papyrus-latex-suggestionskirodotdev/KiroCrewSkill5.1ktodayApache-2.0A69Claude Code, Codex
company-employeePrism-Shadow/penguin-harnessSkill3.4ktodayApache-2.0A85Claude Code, Codex