Golang Benchmark
Samuel BertheCommunityCreated by samberDistributed by Samuel Berthe
- Skill
- Tool integration
- Software development
- MIT
- Low risk
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides a rigorous methodology for measuring Go performance. It covers the entire lifecycle: writing benchmarks with proper conventions, executing them under controlled conditions, generating profiles (CPU, memory, trace), and performing statistical comparisons using benchstat to distinguish real performance gains from noise. It emphasizes statistical significance and reproducible measurement over anecdotal testing.
What it does
- Guides the creation of Go benchmarks using standard naming and file conventions.
- Provides commands for running benchmarks with memory reporting and statistical iteration counts.
- Facilitates the generation of CPU, memory, and execution trace profiles for deep analysis.
- Uses benchstat to perform A/B comparisons with statistical confidence intervals.
- Offers strategies for integrating performance regression detection into CI pipelines.
- Explains how to document performance improvements in commit messages using benchmark data.
When to use it
- When you need to measure the performance impact of a code change with statistical rigor.
- When investigating performance bottlenecks using CPU or memory profiling.
- When setting up automated performance regression gating in CI.
- When comparing multiple optimization variants to identify the most effective approach.
- When you need to verify that a code change has a measurable impact before committing.
Advantages
- Promotes statistical rigor, preventing misleading conclusions from single benchmark runs.
- Standardizes benchmark file naming and function ordering for better maintainability.
- Integrates seamlessly with standard Go tooling and performance analysis utilities.
- Provides clear guidance on avoiding common pitfalls like noisy neighbors and dead-code elimination.
- Enables data-driven performance documentation in git history.
Usage examples
- “How do I run my benchmarks 10 times to ensure statistical significance?”
- The agent will provide the command: go test -run='^$' -bench=. -benchmem -count=10 ./pkg/...
- “Compare my current changes against the main branch for performance regressions.”
- The agent will guide you to use benchdiff to compare git refs, ensuring results are cached and statistically compared.
- “How do I generate and analyze a CPU profile for my benchmark?”
- The agent will show how to run go test with -cpuprofile, followed by using go tool pprof to interactively analyze the resulting file.
- “How should I format my commit message when I optimize a function?”
- The agent will provide a template including the hardware context and the benchstat output table to prove the performance gain.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/samber/golang-benchmark/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip golang-benchmark.zip -d .agents/skills
Documentation by samber
Persona: You are a Go performance measurement engineer. You never draw conclusions from a single benchmark run — statistical rigor and controlled conditions are prerequisites before any optimization decision.
Thinking mode: Reason as thoroughly as possible for benchmark analysis, profile interpretation, and performance comparison tasks — deep reasoning prevents misinterpreting profiling data and ensures statistically sound conclusions. On Claude Code, use ultrathink to trigger extended thinking explicitly.
Dependencies:
benchstat:
go install golang.org/x/perf/cmd/benchstat@latest
Go Benchmarking & Performance Measurement
Performance improvement does not exist without measures — if you can measure it, you can improve it.
This skill covers the full measurement workflow: write a benchmark, run it, profile the result, compare before/after with statistical rigor, and track regressions in CI. For optimization patterns to apply after measurement, → See samber/cc-skills-golang@golang-performance skill. For pprof setup on running services, → See samber/cc-skills-golang@golang-troubleshooting skill.
Writing Benchmarks
File and Ordering Conventions
Benchmark functions live in a _bench_test.go file named after the source file under benchmark, not after the individual function — parser.go -> parser_bench_test.go, containing BenchmarkParse, BenchmarkEncode, etc., not a separate benchmarkparse_test.go per function.
Keeping benchmarks in their own file (instead of mixed into
parser_test.go) keepsgo test -bench=. ./pkg/parseroutput free of unrelatedTest*noise.It separates fixtures sized for measurement (large inputs, long-lived setup) from those sized for correctness — the two rarely share the same shape.
The file still follows Go's one-test-file-per-source-file convention (→ See
samber/cc-skills-golang@golang-testingskill), just with the_benchsuffix marking its narrower purpose.
Order Benchmark* functions inside parser_bench_test.go to mirror the order of the functions/methods they measure in parser.go — a reader comparing the two files top to bottom should find BenchmarkParse at the same relative position as Parse.
b.Loop() (Go 1.24+) — preferred
For Go 1.24+, prefer b.Loop() for new benchmarks. It times only the loop body and keeps function arguments/results alive, which reduces dead-code-elimination mistakes.
func BenchmarkParse(b *testing.B) {
data := loadFixture("large.json") // setup — excluded from timing
for b.Loop() {
Parse(data) // compiler cannot eliminate this call
}
}Legacy b.N loops still compile and are fine to keep when preserving existing benchmarks or supporting Go <1.24. They are easier to get wrong: setup may need b.ResetTimer(), and results may need a sink if the compiler can eliminate the work. Go 1.26 fixed an earlier b.Loop() inlining limitation — benchmarks on 1.24–1.25 already benefit from b.Loop() but may miss inlining optimizations that 1.26 delivers.
Go 1.27's size-specialized allocator changes allocation-heavy benchmark baselines (faster sub-80-byte allocations, larger binaries) independent of any code change. Treat a benchstat comparison that straddles the Go 1.26→1.27 toolchain boundary as measuring the toolchain, not the code — rerun the "before" benchmark on the same toolchain as "after" before trusting the delta.
Memory tracking
func BenchmarkAlloc(b *testing.B) {
b.ReportAllocs() // or run with -benchmem flag
var sink []byte
for b.Loop() {
sink = make([]byte, 1024)
}
_ = sink
}b.ReportMetric() adds custom metrics (e.g., throughput):
b.ReportMetric(float64(totalBytes)/b.Elapsed().Seconds(), "bytes/s") // b.Elapsed() is only valid inside b.Loop()Sub-benchmarks and table-driven
func BenchmarkEncode(b *testing.B) {
for _, size := range []int{64, 256, 4096} {
b.Run(fmt.Sprintf("size=%d", size), func(b *testing.B) {
data := make([]byte, size)
for b.Loop() {
Encode(data)
}
})
}
}Running Benchmarks
go test -bench=BenchmarkEncode -benchmem -count=10 ./pkg/... | tee bench.txt| Flag | Purpose |
|---|---|
-bench=. | Run all benchmarks (regexp filter) |
-benchmem | Report allocations (B/op, allocs/op) |
-count=10 | Run 10 times for statistical significance |
-benchtime=3s | Minimum time per benchmark (default 1s) |
-cpu=1,2,4 | Run with different GOMAXPROCS values |
-cpuprofile=cpu.prof | Write CPU profile |
-memprofile=mem.prof | Write memory profile |
-trace=trace.out | Write execution trace |
Output format: BenchmarkEncode/size=64-8 5000000 230.5 ns/op 128 B/op 2 allocs/op — the -8 suffix is GOMAXPROCS, ns/op is time per operation, B/op is bytes allocated per op, allocs/op is heap allocation count per op.
Comparing Optimization Variants in Parallel
When several competing optimization hypotheses exist for the same bottleneck, implement each variant in its own isolated worktree via a separate sub-agent, so their code changes never collide in the shared working tree.
Run the benchmarks serially, not concurrently. Concurrent benchmark runs share the same CPU — the noisy-neighbor effect contaminates ns/op and reintroduces the exact statistical noise -count and benchstat exist to eliminate. Implementing in parallel is safe (isolated worktrees, no file contention); measuring in parallel is not (shared hardware, real contention). Run each variant's benchmark one at a time, back in the main tree or sequentially per worktree.
Compare every variant's benchstat output against the same baseline report, keep the winner, and remove the worktrees for the rest.
Documenting Results in Commits
Paste benchstat output in the commit body when the change has a measurable performance impact. This documents why an optimization was made, prevents future readers from reverting it, and lets reviewers verify the claim without re-running benchmarks.
Commit format:
perf(parser): reduce Parse allocations 50% with sync.Pool
Replace per-call []byte allocation with a pooled buffer.
goos: linux / goarch: amd64 / cpu: AMD Ryzen 9 5950X
│ old │ new │
│ sec/op │ sec/op vs base │
Parse-32 4.592µ ± 2% 3.041µ ± 1% -33.78% (p=0.000 n=10)
│ old │ new │
│ B/op │ B/op vs base │
Parse-32 1.024Ki ± 0% 0.512Ki ± 0% -50.00% (p=0.000 n=10)
│ old │ new │
│ allocs/op │ allocs/op vs base │
Parse-32 12.00 ± 0% 6.000 ± 0% -50.00% (p=0.000 n=10)Rules:
Only include benchmarks directly affected by the change — strip unrelated rows
Never paste results with
~(no statistical significance) — the improvement cannot be claimedInclude the hardware context line (
goos/goarch/cpu) so results are reproducibleUse
perf(scope):commit type for performance-only changes
Profiling from Benchmarks
Generate profiles directly from benchmark runs — no HTTP server needed:
# CPU profile
go test -bench=BenchmarkParse -cpuprofile=cpu.prof ./pkg/parser
go tool pprof cpu.prof
# Memory profile (alloc_objects shows GC churn, inuse_space shows leaks)
go test -bench=BenchmarkParse -memprofile=mem.prof ./pkg/parser
go tool pprof -alloc_objects mem.prof
# Execution trace
go test -bench=BenchmarkParse -trace=trace.out ./pkg/parser
go tool trace trace.outFor full pprof CLI reference (all commands, non-interactive mode, profile interpretation), see pprof Reference. For execution trace interpretation, see Trace Reference. For statistical comparison, see benchstat Reference.
Reference Files
pprof Reference — Interactive and non-interactive analysis of CPU, memory, and goroutine profiles. Full CLI commands, profile types (CPU vs allocobjects vs inuse_space), web UI navigation, and interpretation patterns. Use this to dive deep into _where time and memory are being spent in your code.
benchstat Reference — Statistical comparison of benchmark runs with rigorous confidence intervals and p-value tests. Covers output reading, filtering old benchmarks, interleaving results for visual clarity, and regression detection. Use this when you need to prove a change made a meaningful performance difference, not just a lucky run.
Trace Reference — Execution tracer for understanding when and why code runs. Visualizes goroutine scheduling, garbage collection phases, network blocking, and custom span annotations. Use this when pprof (which shows where CPU goes) isn't enough — you need to see the timeline of what happened.
Diagnostic Tools — Quick reference for ancillary tools: fieldalignment (struct padding waste), GODEBUG (runtime logging flags), fgprof (frame graph profiles), race detector (concurrency bugs), and others. Use this when you have a specific symptom and need a focused diagnostic — don't reach for pprof if a simpler tool already answers your question.
Compiler Analysis — Low-level compiler optimization insights: escape analysis (when values move to the heap), inlining decisions (which function calls are eliminated), SSA dump (intermediate representation), and assembly output. Use this when benchmarks show allocations you didn't expect, or when you want to verify the compiler did what you intended.
CI Regression Detection — Automated performance regression gating in CI pipelines. Covers three tools (benchdiff for quick PR comparisons, cob for strict threshold-based gating, gobenchdata for long-term trend dashboards), noisy neighbor mitigation strategies (why cloud CI benchmarks vary 5-10% even on quiet machines), and self-hosted runner tuning to make benchmarks reproducible. Use this when you want to ensure pull requests don't silently slow down your codebase — detecting regressions early prevents shipping performance debt.
Investigation Session — Production performance troubleshooting workflow combining Prometheus runtime metrics (heap size, GC frequency, goroutine counts), PromQL queries to correlate metrics with code changes, runtime configuration flags (GODEBUG env vars to enable GC logging), and cost warnings (when you're hitting performance tax). Use this when production benchmarks look good but real traffic behaves differently.
Prometheus Go Metrics Reference — Complete listing of Go runtime metrics actually exposed as Prometheus metrics by
prometheus/client_golang. Covers 30 default metrics, 40+ optional metrics (Go 1.17+), process metrics, and common PromQL queries. Distinguishes betweenruntime/metrics(Go internal data) and Prometheus metrics (what you scrape from/metrics). Use this when setting up monitoring dashboards or writing PromQL queries for production alerts.
Cross-References
→ See
samber/cc-skills-golang@golang-performanceskill for optimization patterns to apply after measuring ("if X bottleneck, apply Y")→ See
samber/cc-skills-golang@golang-troubleshootingskill for pprof setup on running services (enable, secure, capture), Delve debugger, GODEBUG flags, root cause methodology→ See
samber/cc-skills-golang@golang-observabilityskill for everyday always-on monitoring, continuous profiling (Pyroscope), distributed tracing (OpenTelemetry)→ See
samber/cc-skills-golang@golang-testingskill for general testing practices→ See
samber/cc-skills@promql-cliskill for querying Prometheus runtime metrics in production to validate benchmark findings
Files
- ATTRIBUTION.mdAdded by AutoGineer905 B
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md13.5 KiB
- evals/evals.json91.2 KiB
- references/benchstat.md16.0 KiB
- references/ci-regression.md11.3 KiB
- references/compiler-analysis.md11.4 KiB
- references/investigation-session.md7.7 KiB
- references/pprof.md36.7 KiB
- references/prometheus-go-metrics.md12.9 KiB
- references/tools.md3.9 KiB
- references/trace.md19.7 KiB
references/prometheus-go-metrics.md
Prometheus Go Runtime Metrics Reference
Complete listing of Go runtime metrics actually exposed as Prometheus metrics by prometheus/client_golang library.
Table of Contents
Important Clarification
Quick Reference
Metrics with Labels
All Other Metrics
Default Go Metrics (Always Exposed)
Memory Allocation
Heap State
Stack and Metadata
Allocation and Free Counters
GC Configuration and Timing
GC Pause Duration (with labels)
Runtime State
Version Information (with labels)
Optional Go Metrics (Opt-in, Go 1.17+)
GC Cycles
Additional Heap Metrics
GC Pauses Distribution
CPU Classes
Memory Classes
Scheduler Metrics
CGO Metrics
Process Metrics
CPU and Memory
File Descriptors
Process Information
Page Faults
Common PromQL Queries
Memory Leak Detection
GC Pressure
Goroutine Leaks
CPU Usage
File Descriptor Leaks
References
Important Clarification
runtime/metrics are NOT Prometheus metrics. They're Go runtime data structures.
The Prometheus Go client library (prometheus/client_golang) selectively converts some runtime/metrics into Prometheus format. By default, it exposes only the traditional go_memstats_* and go_gc_* metrics to keep cardinality low.
This document lists only Prometheus metrics (the ones you actually scrape from /metrics endpoint).
Quick Reference
Metrics with Labels
| Metric | Label | Values |
|---|---|---|
go_gc_duration_seconds | quantile | 0, 0.25, 0.5, 0.75, 1 |
go_info | version | e.g., "go1.21.3" |
All Other Metrics
All other metrics have no labels.
Default Go Metrics (Always Exposed)
These are exposed by default by prometheus/client_golang.
Memory Allocation
| Metric | Type | Description |
|---|---|---|
go_memstats_alloc_bytes | gauge | Current bytes allocated on heap |
go_memstats_alloc_bytes_total | counter | Cumulative bytes allocated |
go_memstats_sys_bytes | gauge | Total bytes requested from OS |
Heap State
| Metric | Type | Description |
|---|---|---|
go_memstats_heap_alloc_bytes | gauge | Allocated heap bytes |
go_memstats_heap_idle_bytes | gauge | Idle heap bytes |
go_memstats_heap_inuse_bytes | gauge | Heap bytes in use |
go_memstats_heap_objects | gauge | Count of heap objects |
go_memstats_heap_released_bytes | gauge | Heap bytes released to OS |
go_memstats_heap_sys_bytes | gauge | Heap bytes reserved from OS |
Stack and Metadata
| Metric | Type | Description |
|---|---|---|
go_memstats_stack_inuse_bytes | gauge | Stack in-use bytes |
go_memstats_stack_sys_bytes | gauge | Stack reserved bytes |
go_memstats_mspan_inuse_bytes | gauge | Mspan in-use bytes |
go_memstats_mspan_sys_bytes | gauge | Mspan reserved bytes |
go_memstats_mcache_inuse_bytes | gauge | Mcache in-use bytes |
go_memstats_mcache_sys_bytes | gauge | Mcache reserved bytes |
go_memstats_other_sys_bytes | gauge | Other runtime bytes |
go_memstats_gc_sys_bytes | gauge | GC internal bytes |
go_memstats_buck_hash_sys_bytes | gauge | Profiling bucket hash table bytes |
Allocation and Free Counters
| Metric | Type | Description |
|---|---|---|
go_memstats_mallocs_total | counter | Total malloc calls |
go_memstats_frees_total | counter | Total free calls |
GC Configuration and Timing
| Metric | Type | Description |
|---|---|---|
go_gc_gogc_percent | gauge | GOGC target percentage |
go_gc_gomemlimit_bytes | gauge | GOMEMLIMIT soft memory limit |
go_memstats_last_gc_time_seconds | gauge | Last GC end time (Unix timestamp) |
go_memstats_next_gc_bytes | gauge | Heap size target for next GC |
GC Pause Duration (with labels)
| Metric | Type | Labels | Description |
|---|---|---|---|
go_gc_duration_seconds | summary | quantile (0, 0.25, 0.5, 0.75, 1) | GC pause durations with quantiles |
go_gc_duration_seconds_count | counter | — | GC pause count |
go_gc_duration_seconds_sum | counter | — | GC pause total time |
Runtime State
| Metric | Type | Description |
|---|---|---|
go_goroutines | gauge | Current goroutine count |
go_threads | gauge | Current OS thread count |
go_sched_gomaxprocs_threads | gauge | Current GOMAXPROCS value |
Version Information (with labels)
| Metric | Type | Labels | Description |
|---|---|---|---|
go_info | gauge | version | Go version string |
Optional Go Metrics (Opt-in, Go 1.17+)
Enable via:
prometheus.NewRegistry().MustRegister(
collectors.NewGoCollector(
collectors.WithGoCollectorRuntimeMetrics(
collectors.MetricsAll,
),
),
)GC Cycles
| Metric | Type | Description |
|---|---|---|
go_gc_cycles_automatic_gc_cycles_total | counter | Automatic GC cycles (heap growth) |
go_gc_cycles_forced_gc_cycles_total | counter | Forced GC cycles (runtime.GC()) |
Additional Heap Metrics
| Metric | Type | Description |
|---|---|---|
go_gc_heap_allocs_bytes_total | counter | Cumulative heap allocations (bytes) |
go_gc_heap_allocs_objects_total | counter | Cumulative heap allocations (count) |
go_gc_heap_frees_bytes_total | counter | Cumulative heap frees (bytes) |
go_gc_heap_frees_objects_total | counter | Cumulative heap frees (count) |
go_gc_heap_goal_bytes | gauge | Heap size target for next GC |
go_gc_heap_live_bytes | gauge | Live heap bytes |
go_gc_heap_objects_objects | gauge | Total heap objects count |
GC Pauses Distribution
| Metric | Type | Description |
|---|---|---|
go_gc_pauses_seconds | distribution | GC pause durations |
CPU Classes
| Metric | Type | Description |
|---|---|---|
go_cpu_classes_gc_mark_assist_cpu_seconds_total | counter | GC mark assist CPU time |
go_cpu_classes_gc_mark_dedicated_cpu_seconds_total | counter | GC dedicated workers CPU time |
go_cpu_classes_gc_mark_idle_cpu_seconds_total | counter | GC idle workers CPU time |
go_cpu_classes_gc_pause_cpu_seconds_total | counter | GC pause CPU time |
go_cpu_classes_gc_total_cpu_seconds_total | counter | Total GC CPU time |
go_cpu_classes_idle_cpu_seconds_total | counter | Idle CPU time |
go_cpu_classes_scavenge_assist_cpu_seconds_total | counter | Scavenger assist CPU time |
go_cpu_classes_scavenge_background_cpu_seconds_total | counter | Background scavenger CPU time |
go_cpu_classes_scavenge_total_cpu_seconds_total | counter | Total scavenger CPU time |
go_cpu_classes_total_cpu_seconds_total | counter | Total CPU time (all classes) |
go_cpu_classes_user_cpu_seconds_total | counter | User-mode CPU time |
Memory Classes
| Metric | Type | Description |
|---|---|---|
go_memory_classes_heap_free_bytes | gauge | Free heap memory |
go_memory_classes_heap_objects_bytes | gauge | Allocated heap objects |
go_memory_classes_heap_released_bytes | gauge | Heap released memory |
go_memory_classes_heap_stacks_bytes | gauge | Stack memory |
go_memory_classes_heap_unused_bytes | gauge | Unused heap |
go_memory_classes_metadata_mcache_free_bytes | gauge | Free mcache memory |
go_memory_classes_metadata_mcache_inuse_bytes | gauge | In-use mcache memory |
go_memory_classes_metadata_mspan_free_bytes | gauge | Free mspan memory |
go_memory_classes_metadata_mspan_inuse_bytes | gauge | In-use mspan memory |
go_memory_classes_other_bytes | gauge | Other memory |
go_memory_classes_total_bytes | gauge | Total memory |
Scheduler Metrics
| Metric | Type | Description |
|---|---|---|
go_sched_goroutines_running_goroutines | gauge | Running goroutines |
go_sched_goroutines_runnable_goroutines | gauge | Runnable goroutines waiting |
go_sched_goroutines_goroutines | gauge | Current total goroutines |
go_sched_goroutines_created_goroutines_total | counter | Total goroutines ever created |
go_sched_goroutines_waiting_goroutines | gauge | Goroutines waiting (not runnable) |
go_sched_latencies_seconds | distribution | Goroutine scheduling latency |
go_sched_pauses_stopping_gc_seconds | distribution | STW pause time (GC stop) |
go_sched_pauses_stopping_other_seconds | distribution | STW pause time (other stop) |
go_sched_pauses_total_gc_seconds | distribution | Total GC pause duration |
go_sched_pauses_total_other_seconds | distribution | Total other pause duration |
go_sched_threads_total_threads | counter | Total OS threads ever created |
go_sync_mutex_wait_total_seconds_total | counter | Total time goroutines waited on mutex |
CGO Metrics
| Metric | Type | Description |
|---|---|---|
go_cgo_go_to_c_calls_total | counter | Total calls from Go to C |
Process Metrics
Exposed by Prometheus process collector (not Go-specific):
CPU and Memory
| Metric | Type | Description |
|---|---|---|
process_cpu_seconds_total | counter | Total CPU time (user + system) |
process_resident_memory_bytes | gauge | RSS (physical memory used) |
process_virtual_memory_bytes | gauge | Virtual memory allocated |
process_virtual_memory_max_bytes | gauge | Maximum virtual memory allowed |
File Descriptors
| Metric | Type | Description |
|---|---|---|
process_open_fds | gauge | Open file descriptors |
process_max_fds | gauge | Maximum file descriptors allowed |
Process Information
| Metric | Type | Description |
|---|---|---|
process_start_time_seconds | gauge | Process start time (Unix timestamp) |
Page Faults
| Metric | Type | Description |
|---|---|---|
process_page_faults_total | counter | Total page faults |
process_page_faults_minor_total | counter | Minor page faults |
process_page_faults_major_total | counter | Major page faults |
Common PromQL Queries
Memory Leak Detection
# Current heap allocation (should be stable under constant load)
go_memstats_alloc_bytes
# Live heap bytes (optional metric)
go_gc_heap_live_bytes
# Heap growth rate
rate(go_memstats_alloc_bytes_total[5m])GC Pressure
# Worst-case GC pause (quantile 1 = max)
go_gc_duration_seconds{quantile="1"}
# Average GC pause
rate(go_gc_duration_seconds_sum[5m]) / rate(go_gc_duration_seconds_count[5m])
# GC frequency (cycles per second)
rate(go_gc_duration_seconds_count[5m])Goroutine Leaks
# Current goroutine count
go_goroutines
# Goroutine growth (leak indicator)
delta(go_goroutines[1h])CPU Usage
# Total CPU time consumed
rate(process_cpu_seconds_total[5m])
# CPU utilization ratio (0-1)
rate(process_cpu_seconds_total[5m]) / <GOMAXPROCS>File Descriptor Leaks
# FD growth
delta(process_open_fds[1h])
# FD saturation ratio
process_open_fds / process_max_fds→ See samber/cc-skills@promql-cli skill for executing these queries directly against your Prometheus instance from the CLI.
References
Requirements and compatibility
Written for: Claude Code, OpenAI Codex
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Declares allowed tools, Claude Code frontmatter
The author says: Designed for Claude Code, Codex or similar harness, and for projects using Golang.
Security
What our scanner noticed· Low risk
- Instructions that use the network
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- samber
- Publisher
- Samuel Berthe (Community)
- Distributed by
- Samuel Berthe
- Source
- samber/cc-skills-golang · skills/golang-benchmark · commit bb1d43d
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by samber or Samuel Berthe.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download golang-benchmark.zip