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 xobotyi/cc-foundry --skill golanggit clone --depth 1 https://github.com/xobotyi/cc-foundryWrote 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/xobotyi/cc-foundry/golang)<a href="https://agentmods.dev/skills/xobotyi/cc-foundry/golang"><img src="https://agentmods.dev/badge/skills/xobotyi/cc-foundry/golang/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/xobotyi/cc-foundry/golang"><img src="https://agentmods.dev/badge/skills/xobotyi/cc-foundry/golang.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.00038 | $0.04943 |
| Opus 5.5 | $0.00015 | $0.01977 |
| Sonnet 5.5 | $0.00008 | $0.00989 |
| Haiku 4.5 | $0.00004 | $0.00494 |
Grade B, and why
golang scanned grade B 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 25d 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.
Strips warnings and disclaimersmediumAnti-refusal
Omitting safety caveats hides risk from the user and is a common jailbreak preamble.
When **reviewing** Go, cite the violation and show the fix inline. Do not lecture. How it starts
The opening of the file, as written. The whole thing — 314 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Simplicity is the highest Go virtue. Three biases decide most calls:
- Resist abstraction until the cost of not abstracting is proven. An interface, a type parameter, or a layer added in anticipation of a second caller is a defect.
- Reach for the standard library first. A dependency earns its place by doing what the standard library does not.
- The
godirective decides what may be written, not the installed toolchain.
Language Version
The go directive in go.mod sets the language version a module may use. Read it before writing code and never reach
for a feature above it. The stdversion analyzer reports a standard-library symbol newer than the directive: Go 1.27
and later fail go test on it, earlier toolchains report it under go vet.
Floor version per feature. Anything older than 1.21 is available in every supported module.
- 1.21 —
min,max,clearbuiltins;slices,maps,cmp,log/slog;context.WithoutCancel;errors.ErrUnsupported;sync.OnceValue - 1.22 — per-iteration loop variables;
for range int;math/rand/v2; method and wildcard patterns innet/http.ServeMux - 1.23 — range-over-func iterators;
iter; iterator functions inslicesandmaps;unique; unbuffered timer channels - 1.24 — generic type aliases;
os.Root;testing.B.Loop;t.Context;runtime.AddCleanup;omitzerostruct tag;tooldirectives; iterator functions instrings - 1.25 —
testing/synctest;sync.WaitGroup.Go; container-awareGOMAXPROCS - 1.26 —
new(expr); self-referential type constraints;errors.AsType;go fixmodernizers - 1.27 — generic methods; field-selector keys in struct literals;
encoding/json/v2;uuid;strings.CutLast
Read [${CLAUDE_SKILL_DIR}/references/versions/go1.NN.md] — one file per version, go1.21.md through go1.27.md —
when writing against a feature near the module's floor, and whenever raising the directive. Each carries what its
version added, which behavior changes the go directive gates, and the traps it introduced.
What ships with it
14 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.
- .dev/reference-inventory.json 1.7 KB
- references/conventions/concurrency.md 10 KB
- references/conventions/errors.md 12 KB
- references/conventions/gotchas.md 5.2 KB
- references/conventions/idioms.md 12 KB
- references/conventions/structure.md 3.1 KB
- references/conventions/testing.md 14 KB
- references/versions/go1.21.md 3.4 KB
- references/versions/go1.22.md 2.7 KB
- references/versions/go1.23.md 2.8 KB
- references/versions/go1.24.md 3.9 KB
- references/versions/go1.25.md 3.5 KB
- references/versions/go1.26.md 3.1 KB
- references/versions/go1.27.md 4.0 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.
- 25d ago Changed aa2ef9eb5362
- 1mo ago Changed · +3 lines 81b6a922d276
- 1mo ago Changed 9c43a35e792d
- 3mo ago First seen · 311 lines · 38 tokens per session scan B 7d224b31eca2
golang is a skill published in the GitHub repository xobotyi/cc-foundry (23 stars, last pushed 2d ago), licensed MIT. It adds 38 tokens to every session and 4,943 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
golang compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| golangxobotyi/cc-foundry | Skill | 23 | 2d ago | MIT | B | 38 | Claude Code |
| swiftui-expertjohnkozaris/jko-claude-plugins | Skill | 11 | 28d ago | MIT | A | 133 | Claude Code |
| dotnet-backend-expertmathisk2095/jko-claude-plugins | Skill | 3 | 1mo ago | MIT | A | 181 | Claude Code |
| esp32-expertmathisk2095/jko-claude-plugins | Skill | 3 | 1mo ago | MIT | A | 193 | Claude Code |
| python-backend-expertmathisk2095/jko-claude-plugins | Skill | 3 | 1mo ago | MIT | A | 183 | Claude Code |
| rust-expertmathisk2095/jko-claude-plugins | Skill | 3 | 1mo ago | MIT | A | 148 | Claude Code |
| swiftui-expertmathisk2095/jko-claude-plugins | Skill | 3 | 1mo ago | MIT | A | 162 | Claude Code |