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.
git clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkitnpx agentmods add skills/random6913/claude-code-superkit/go-benchmarkWrote 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.
[](https://agentmods.dev/skills/random6913/claude-code-superkit/go-benchmark)<a href="https://agentmods.dev/skills/random6913/claude-code-superkit/go-benchmark"><img src="https://agentmods.dev/badge/skills/random6913/claude-code-superkit/go-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.
<a href="https://agentmods.dev/skills/random6913/claude-code-superkit/go-benchmark"><img src="https://agentmods.dev/badge/skills/random6913/claude-code-superkit/go-benchmark.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00072 | $0.02163 |
| Opus 5.5 | $0.00029 | $0.00865 |
| Sonnet 5.5 | $0.00014 | $0.00433 |
| Haiku 4.5 | $0.00007 | $0.00216 |
Grade A, and why
go-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.
How it starts
The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Go Benchmark Methodology
Upstream: https://pkg.go.dev/testing#hdr-Benchmarks · https://pkg.go.dev/golang.org/x/perf/cmd/benchstat
Why Methodology Matters
Repeated samples expose variation. Choose the number of samples for the workload and comparison.
- Collect repeated samples under comparable conditions. Six samples alone cannot establish significance.
- Compare with
benchstat, not eyeball percentages. - Quiet machine — close heavy apps; plug in the laptop.
- Always use
-benchmem. Allocations are usually what changed.
testing.B Basics
func BenchmarkUserLookup(b *testing.B) {
repo := newRepo(b)
b.ReportAllocs() // force B/op + allocs/op output
b.ResetTimer() // drop setup cost
for i := 0; i < b.N; i++ {
_, err := repo.FindByID(context.Background(), 42)
if err != nil { b.Fatal(err) }
}
}
b.Nis adjusted by the framework until total runtime hits-benchtime(default 1s).- Write the body so
b.Niterations make sense. - Don't swallow errors — use
b.Fatal.
Timing Control
b.StopTimer()
for i := 0; i < b.N; i++ {
data := buildHeavyInput(i)
b.StartTimer()
_ = process(data)
b.StopTimer()
}
For a traditional b.N loop, reset after one-time setup. From Go 1.24, for b.Loop() { … } resets the timer on its first call and stops it on return of false. Per-iteration preparation inside either loop is timed unless explicitly excluded.
Throughput
payload := make([]byte, 4096)
b.SetBytes(int64(len(payload)))
b.ResetTimer()
for i := 0; i < b.N; i++ { _ = json.Unmarshal(payload, &out) }
// Output: ... 250 MB/s
Sub-Benchmarks
func BenchmarkSort(b *testing.B) {
for _, n := range []int{100, 1_000, 10_000, 100_000} {
b.Run(fmt.Sprintf("n=%d", n), func(b *testing.B) {
data := randInts(n)
b.ResetTimer()
for i := 0; i < b.N; i++ {
cp := slices.Clone(data)
slices.Sort(cp)
}
})
}
}
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.
- 12d ago Changed · +4 lines 12c95d403b37
- 1mo ago Changed · +5 lines 01a87391322a
- 3mo ago First seen · 213 lines · 72 tokens per session scan A e36062267c1e
go-benchmark is a skill published in the GitHub repository RaNDoM6913/claude-code-superkit (3 stars, last pushed yesterday), licensed MIT. It adds 72 tokens to every session and 2,163 once invoked, about $0.0003 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.
go-benchmark compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| go-benchmarkRaNDoM6913/claude-code-superkit | Skill | 3 | yesterday | MIT | A | 72 | Claude Code |
| golang-testingaffaan-m/ECC | Skill | 314k | yesterday | MIT | A | 37 | Claude Code, Kiro |
| golang-patternsaffaan-m/ECC | Skill | 314k | yesterday | MIT | A | 45 | Claude Code, Kiro |
| go-ops0xDarkMatter/claude-mods | Skill | 86 | 7d ago | MIT | A | 89 | Claude Code |
| chiclaude-dev-suite/claude-dev-suite | Skill | 51 | today | MIT | A | 119 | Claude Code |
| echoclaude-dev-suite/claude-dev-suite | Skill | 51 | today | MIT | A | 112 | Claude Code |
| ginclaude-dev-suite/claude-dev-suite | Skill | 51 | today | MIT | A | 114 | Claude Code |