golang-performance

golang-performance is a skill for Claude Code, Codex from emilioforrer/go-stack. It costs 108 tokens per session (1,992 once invoked), scanned A, original, no licence file.

A guide to finding and fixing performance bottlenecks in Go. A bottleneck is a part of a program that limits its speed or increases its memory use.

In plain words
What is it for?
Use it after profiling or benchmarking identifies a slow or memory-heavy part of a Go program.
Why use it?
It connects measured problems from profiling or benchmarks to suitable changes instead of guessing at optimizations. Topics include allocations, CPU use, memory layout, garbage collection, pooling, caching, and hot paths.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/emilioforrer/go-stack/golang-performance
Any agent
npx skills add emilioforrer/go-stack --skill golang-performance
Clone the repo
git clone --depth 1 https://github.com/emilioforrer/go-stack

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 golang-performance

README.md
[![agentmods](https://agentmods.dev/badge/skills/emilioforrer/go-stack/golang-performance.svg)](https://agentmods.dev/skills/emilioforrer/go-stack/golang-performance)
Your own site
<a href="https://agentmods.dev/skills/emilioforrer/go-stack/golang-performance"><img src="https://agentmods.dev/badge/skills/emilioforrer/go-stack/golang-performance.svg" alt="Measured on agentmods" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,992 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin unknown 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 $0.00108 $0.01992
Opus 5 $0.00054 $0.00996
Sonnet 5 $0.00022 $0.00398
Haiku 4.5 $0.00011 $0.00199

Measured 4d ago against content hash 4fe786e13d2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

golang-performance scanned grade A with 1 finding 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 4d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch Bash(benchstat:*) Bash(fieldalignment:*) Bash(staticcheck:*) Bash(curl:*) Bash(fgprof:*) Bash(perf:*) WebSearch AskUser
.agents/skills/golang-performance/SKILL.md · 112 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

8 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. 4d ago First seen · 112 lines · 108 tokens per session scan A 4fe786e13d2b

Subscribe to this mod's changes

golang-performance is a skill published in the GitHub repository emilioforrer/go-stack (6 stars, last pushed 15d ago), with no licence file. It adds 108 tokens to every session and 1,992 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

LQF_Machine_Learning_Expert_Guide

LQF Machine Learning Expert Guide - Routed skill for ML/Statistical Modeling with Critical Discussion Mode. Triggers on: machine learning, modeling, prediction, training, classification, regression, clustering, deep learning, neural network, model evaluation, feature engineering, hyperparameter tuning, overfitting…

foryourhealth111-pixel/Vibe-Skills · 152 tokens

vibe

Vibe Code Orchestrator (VCO) is a governed runtime entry that freezes requirements, bounds execution, and enforces verification and phase cleanup.

foryourhealth111-pixel/Vibe-Skills · 33 tokens

architecture-patterns

Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use when architecting complex backend systems or refactoring existing applications for better maintainability.

foryourhealth111-pixel/Vibe-Skills · 40 tokens

content-research-writer

Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.

foryourhealth111-pixel/Vibe-Skills · 49 tokens

ena-database

Access European Nucleotide Archive via API/FTP. Retrieve DNA/RNA sequences, raw reads (FASTQ), genome assemblies by accession, for genomics and bioinformatics pipelines. Supports multiple formats.

foryourhealth111-pixel/Vibe-Skills · 43 tokens

alpha-vantage

Access real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+ technical indicators via the Alpha Vantage API. Use when fetching stock prices (OHLCV), company fundamentals (income statement, balance sheet, cash flow), earnings, options data, market…

foryourhealth111-pixel/Vibe-Skills · 126 tokens