go-performance

go-performance is a skill for Claude Code, Codex from Dankosik/go-service-template-rest. It costs 33 tokens per session (512 once invoked), scanned A, original, MIT.

A set of rules for making measured performance decisions and evaluating optimisations in Go programs.

In plain words
What is it for?
Use it to choose between implementation approaches, define capacity or latency limits, plan benchmarks, attribute changes to their causes, and document comparable performance results.
Why use it?
It prevents performance claims based on vague targets or incomparable benchmarks by requiring a defined workload, baseline, measurement, and result.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to choose between implementation approaches, define capacity or latency limits, plan benchmarks, attribute changes to their causes, and document comparable performance results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dankosik/go-service-template-rest/go-performance
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 Dankosik/go-service-template-rest --skill go-performance
Clone the repo
git clone --depth 1 https://github.com/Dankosik/go-service-template-rest

Made for: Claude Code, 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 go-performance

README.md
[![agentmods](https://agentmods.dev/badge/skills/dankosik/go-service-template-rest/go-performance/github.svg)](https://agentmods.dev/skills/dankosik/go-service-template-rest/go-performance)
Your own site
<a href="https://agentmods.dev/skills/dankosik/go-service-template-rest/go-performance"><img src="https://agentmods.dev/badge/skills/dankosik/go-service-template-rest/go-performance/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 go-performance

Your own site · 80×15
<a href="https://agentmods.dev/skills/dankosik/go-service-template-rest/go-performance"><img src="https://agentmods.dev/badge/skills/dankosik/go-service-template-rest/go-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 512 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.00033 $0.00512
Opus 5 $0.00016 $0.00256
Sonnet 5 $0.00007 $0.00102
Haiku 4.5 $0.00003 $0.00051

Measured 2d ago against content hash f1aaf35da629, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

go-performance 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 2d 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.

.agents/skills/go-performance/SKILL.md · 49 lines

How it starts

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

Go Performance

Performance decisions and optimizations use different evidence loops:

decision: accepted workload -> multiplier or ceiling -> viable mechanisms -> structural acceptance boundary -> planned measurement

optimization: accepted budget -> comparable baseline -> attribution -> smallest change -> comparable delta

A budget without a unit, percentile, and owner is a mood. Before implementation, reject mechanisms whose amplification or ceiling cannot satisfy the accepted envelope. After implementation, claim an improvement only from comparable measurements under that workload.

For a delegated Decision or Review, or when the active artifact requires its result interface, load the shared specialist contract. Ground every changed mechanism or claim in accepted workloads, SLOs, execution paths, measurements, and rollout constraints. For comparing mechanisms, interacting hot paths, or a decision/review handoff, record PerformancePath{workload, budget, unit, percentile_or_capacity, multiplier, mechanism, baseline, attribution, delta, owner, proof} per path. A single local claim can use the existing benchmark result and task artifact; record only the fields applicable to the selected evidence loop.

Benchmarking owns proof level, workload identity, comparable evidence, and completion policy. Load one matching leaf for capture. Read that owner for measurement; the references below cover decisions.

Choose The Branch

  • Decision — load amplification and scaling for a scale-sensitive mechanism and runtime limits for memory, GC, GOMAXPROCS, pools, or admission. Cover the workload, multiplier or ceiling, mechanism, dominant complexity, planned proof, and reopen condition.
  • Review — load the review selector for the measured risk and place every affected hot path in the finding envelope.

Read the full file on GitHub · 49 lines

Files

What ships with it

5 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. 2d ago Changed · +5 lines f1aaf35da629
  2. 10d ago First seen · 44 lines · 33 tokens per session scan A 801b8f22c15d

Subscribe to this mod's changes

go-performance is a skill published in the GitHub repository Dankosik/go-service-template-rest (7 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 512 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

pi-loop-forensics

Diagnose pi-go agent loops and degenerate turns — "agent loop aborted", runaway thinking with no tool calls, repeated phrases. Discriminates genuine model repetition collapse from a race, a tool-parse failure, or a too-low guard, and A/B replays a seed session across providers.

dimetron/pi-go · 65 tokens

nightly-session-watch

Nightly sweep of the last 24h of pi-go sessions — anomalous runs, loop aborts, tool error rates, token waste, real prompt-token spend, and whether the observation and palace pipelines are still recording. Triages each finding to the specialist skill that diagnoses it. Use for an unattended daily health check, or on…

dimetron/pi-go · 78 tokens

kessoku-di

Kessoku compile-time DI with parallel initialization for Go. Use when writing or debugging kessoku providers/injectors, enabling async dependencies, migrating from google/wire, or fixing go:generate/codegen issues in Go services.

mazrean/kessoku · 52 tokens

functions-development

Build serverless Go or Python functions for Falcon Foundry apps. TRIGGER when user asks to "create a function", "write a serverless function", "build backend logic", runs foundry functions create, or needs help with FDK handler patterns, function testing, or collection integration from functions. Also TRIGGER when…

CrowdStrike/foundry-skills · 195 tokens

golang-error-handling

Idiomatic Golang error handling — creation, wrapping with %w, errors.Is/As, errors.Join, custom error types, sentinel errors, panic/recover, the single handling rule, structured logging with slog, HTTP request logging middleware, and samber/oops for production errors. Built to make logs usable at scale with log…

Harmeet10000/skills · 94 tokens

golang-lint

Linting best practices and golangci-lint configuration for Golang projects — running linters, configuring .golangci.yml, suppressing warnings with nolint directives, interpreting lint output, and selecting linters. Use when configuring golangci-lint, asking about lint warnings or nolint suppressions, setting up code…

alexastrum/skl · 100 tokens