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.
npx skills add spf13/go-skills --skill gogit clone --depth 1 https://github.com/spf13/go-skillsWrote 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/spf13/go-skills/go)<a href="https://agentmods.dev/skills/spf13/go-skills/go"><img src="https://agentmods.dev/badge/skills/spf13/go-skills/go/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/spf13/go-skills/go"><img src="https://agentmods.dev/badge/skills/spf13/go-skills/go.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.00125 | $0.05510 |
| Opus 5.5 | $0.00050 | $0.02204 |
| Sonnet 5.5 | $0.00025 | $0.01102 |
| Haiku 4.5 | $0.00013 | $0.00551 |
Grade A, and why
go 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 15d 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.
return fetch(ctx, url) Copies of this mod
1 near-identical copy found in the catalogue:
- go — 86% identical, 670 lines differ
How it starts
The opening of the file, as written. The whole thing — 436 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Idiomatic Go: The Go Way
Idiomatic Go patterns and best practices for building robust, efficient, and maintainable applications.
When to Activate
- Writing new Go code
- Reviewing or auditing existing Go code
- Refactoring Go code (especially code that looks like Java/Spring Boot patterns in Go)
- Designing Go packages, modules, or APIs
- Choosing between stdlib and third-party libraries
- Any question about Go project structure, error handling, concurrency, or testing
When NOT to Use This Skill
This skill covers general Go idioms and project design. For CLI framework patterns use cobra-viper; for release, versioning, and distribution use go-release; for pre-implementation spec review use go-spec-reviewer; for desktop/webview apps use wails; for cross-filesystem file moves and untrusted path sanitization use fileflow-pathologize.
Version Gating: Check the Module's Floor First
Every version-gated feature is a floor: the module's packages must compile on the release that introduced it. Before recommending such a feature, establish the floor and recommend only what it supports.
- Read the
godirective in the module'sgo.mod. That version is the floor for the module's own packages — a module declaringgo 1.21must still compile on Go 1.21, whatever toolchain you happen to be running. - Check the file's build constraints. A file behind
//go:build go1.24may use Go 1.24 features even when the module'sgodirective is older. - If the floor is unknown, read
go.modor ask. Never guess, and never assume the reader is on the latest release.
The inverse errors are just as real: do not flag an idiom as unavailable in a module whose floor already permits it, and do not flag an idiom as obsolete when the floor cannot reach its replacement — a module below a feature's release is entitled to the older idiom. And never raise a module's go directive merely to reach a convenience helper — a go directive is a floor imposed on every dependent of the module.
What ships with it
10 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.
- .claude-plugin/plugin.json 986 B
- references/concurrency.md 3.2 KB
- references/experimental.md 2.7 KB
- references/generics.md 1.5 KB
- references/http.md 3.2 KB
- references/language.md 3.2 KB
- references/logging.md 1.5 KB
- references/stdlib.md 7.3 KB
- references/testing.md 7.9 KB
- references/version-index.md 2.9 KB
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.
- 15d ago Changed · -754 lines · +12 tokens per session 31cb214cc9a7
- 24d ago Changed · +1 lines a0f0b6e76fa9
- 1mo ago Changed · +414 lines 3d59dd31c3b5
- 3mo ago First seen · 775 lines · 113 tokens per session scan A dbe226cf78b6
go is a skill published in the GitHub repository spf13/go-skills (722 stars, last pushed 15d ago), licensed MIT. It adds 125 tokens to every session and 5,510 once invoked, about $0.0005 per session on Opus 5.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-30.
go compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gospf13/go-skills | Skill | 722 | 15d ago | MIT | A | 125 | Claude Code |
| golang-testingaffaan-m/ECC | Skill | 313k | 7d ago | MIT | A | 37 | Claude Code, Kiro |
| golang-patternsaffaan-m/ECC | Skill | 313k | 7d ago | MIT | A | 45 | Claude Code, Kiro |
| ax-go-agent-optimizeax-llm/ax | Skill | 3.0k | today | Apache-2.0 | A | 51 | Claude Code, Codex |
| golang-testingsamber/cc-skills-golang | Skill | 4.0k | 21d ago | MIT | A | 115 | Claude Code |
| golang-samber-oopssamber/cc-skills-golang | Skill | 4.0k | 21d ago | MIT | A | 74 | Claude Code |
| golang-uber-fxsamber/cc-skills-golang | Skill | 4.0k | 21d ago | MIT | A | 122 | Claude Code |