benchmark

benchmark is a skill for Claude Code from RaNDoM6913/claude-code-superkit. It costs 14 tokens per session (826 once invoked), scanned A, original, MIT.

A Go benchmark runner that measures how fast code runs and how much memory it uses, with repeated tests and optional comparisons against another branch or commit.

In plain words
What is it for?
Use it to measure Go performance, memory use, and allocations, or compare current results with an older version of the code.
Why use it?
It removes the manual work of finding benchmarks, running them repeatedly, and comparing results. This helps reveal whether a code change made a program faster or slower.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions AGENTS.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is GOTOOLCHAIN=local GOPROXY=off GONOPROXY=none go test -run='^$' -bench=. -benchmem -count=6 -timeout=10m ./package/....

Good fit Use it to measure Go performance, memory use, and allocations, or compare current results with an older version of the code.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkit
agentmods
npx agentmods add skills/random6913/claude-code-superkit/benchmark

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/skills/random6913/claude-code-superkit/benchmark/github.svg)](https://agentmods.dev/skills/random6913/claude-code-superkit/benchmark)
Your own site
<a href="https://agentmods.dev/skills/random6913/claude-code-superkit/benchmark"><img src="https://agentmods.dev/badge/skills/random6913/claude-code-superkit/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/random6913/claude-code-superkit/benchmark"><img src="https://agentmods.dev/badge/skills/random6913/claude-code-superkit/benchmark.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 826 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.00014 $0.00826
Opus 5.5 $0.00006 $0.00330
Sonnet 5.5 $0.00003 $0.00165
Haiku 4.5 $0.00001 $0.00083

Measured 12d ago against content hash fd641b179bf5, 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 12d 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.

packages/codex/skills/benchmark/SKILL.md · 50 lines

How it starts

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

Go Benchmark Runner

Read applicable AGENTS.md instructions and discover available command/file tools. Benchmarks execute project code: inspect setup and side effects, confirm the selected target is authorized, and report missing prerequisites instead of starting services or installing tools implicitly.

Step 1: Detect Project

  1. Locate the relevant go.mod and configured benchmark commands. If absent, report "No Go project detected" and stop.
  2. Find benchmark functions in the selected module's test files (for example, with rg). Inspect their dependencies and setup.
  3. If none exist, report "No benchmark functions found" and stop; do not invent results.

Step 2: Parse the Request

  • No target: use the project's configured default; otherwise name the package with the most discovered benchmark functions as the selected scope.
  • Package target: resolve and validate the requested package/pattern within the intended module.
  • --compare <ref>: compare the current declared source state with a validated commit/ref.

Treat request text as data, not shell syntax. Apply GOTOOLCHAIN=local GOPROXY=off GONOPROXY=none even to go version. Compare the active workspace sum files before and after. Record source revision and relevant dirty changes, Go version, OS/architecture, CPU and benchmark flags/environment so results can be interpreted.

Step 3: Run Benchmarks

Use the project's configured command when present. A standalone example is:

GOTOOLCHAIN=local GOPROXY=off GONOPROXY=none go test -run='^$' -bench=. -benchmem -count=6 -timeout=10m ./package/...

Replace the package with the verified scope. -run='^$' excludes ordinary tests; package initialization and TestMain may still run. Preserve command exit and full output in a unique task-owned result directory, not a shared /tmp/bench-new.txt. A timeout, compilation failure or no matched benchmarks is incomplete evidence. Record samples rather than inventing an average or claiming six repetitions guarantee statistical significance.

Read the full file on GitHub · 50 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. 12d ago Changed fd641b179bf5
  2. 1mo ago Changed · -15 lines · +3 tokens per session e85a8bf4e045
  3. 3mo ago First seen · 65 lines · 11 tokens per session scan A 096eeb3893b9

Subscribe to this mod's changes

benchmark is a skill published in the GitHub repository RaNDoM6913/claude-code-superkit (3 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 826 once invoked, about $0.0001 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-08-31.

Related

benchmark compared with skills from other repositories

benchmark next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
benchmarkRaNDoM6913/claude-code-superkitSkill3yesterdayMITA14Claude Code
golang-testingaffaan-m/ECCSkill314kyesterdayMITA37Claude Code, Kiro
golang-patternsaffaan-m/ECCSkill314kyesterdayMITA45Claude Code, Kiro
go-ops0xDarkMatter/claude-modsSkill867d agoMITA89Claude Code
chiclaude-dev-suite/claude-dev-suiteSkill51todayMITA119Claude Code
echoclaude-dev-suite/claude-dev-suiteSkill51todayMITA112Claude Code
ginclaude-dev-suite/claude-dev-suiteSkill51todayMITA114Claude Code