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 lugassawan/swe-workbench --skill language-gogit clone --depth 1 https://github.com/lugassawan/swe-workbenchWrote 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/lugassawan/swe-workbench/language-go)<a href="https://agentmods.dev/skills/lugassawan/swe-workbench/language-go"><img src="https://agentmods.dev/badge/skills/lugassawan/swe-workbench/language-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/lugassawan/swe-workbench/language-go"><img src="https://agentmods.dev/badge/skills/lugassawan/swe-workbench/language-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.00053 | $0.01216 |
| Opus 5.5 | $0.00021 | $0.00486 |
| Sonnet 5.5 | $0.00011 | $0.00243 |
| Haiku 4.5 | $0.00005 | $0.00122 |
Grade A, and why
language-go 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Go
Errors are values
- Return
error; do notpanicacross package boundaries. - Wrap with
fmt.Errorf("doing X: %w", err)to preserve the chain. - Inspect with
errors.Isanderrors.As. Never string-match messages. - Sentinel errors (
var ErrNotFound = errors.New(...)) for expected cases; typed errors when callers need structured data.
if err != nil {
return fmt.Errorf("load user %s: %w", id, err)
}
Interfaces — small, defined by the consumer
- Define interfaces in the package that uses them, not where concrete types live.
- Single-method interfaces are normal (
io.Reader,io.Closer). - Accept interfaces, return concrete types.
Concurrency
- A goroutine without a known termination path is a leak. Always know who stops it.
context.Contextplumbs cancellation and deadlines — first parameter, namedctx.- Channels for ownership transfer; mutexes for protecting state. A
sync.Mutexis often simpler than a goroutine. errgroup.Groupfor structured concurrency with error propagation.
g, ctx := errgroup.WithContext(ctx)
for _, job := range jobs {
job := job
g.Go(func() error { return process(ctx, job) })
}
if err := g.Wait(); err != nil { return err }
Context rules
ctxis the first parameter of any blocking or IO function.- Never store
context.Contextin a struct field. - Don't use
context.Valuefor required parameters — only cross-cutting concerns like request IDs.
Code generation
- A
// Code generated ... DO NOT EDIT.header means the file is output, not source. Never hand-edit it — edits are clobbered on the next run and drift from their input. - Edit the generator's input, then regenerate with
go generate ./...(or the tool directly). Commit the regenerated file with the source change. - Applies to
stringer,mockgen,sqlc,protoc-gen-go, and google/wire.
google/wire — detected by a wire.go tagged //go:build wireinject plus a wire_gen.go carrying the Wire DO NOT EDIT. header. To change dependency injection:
- Edit provider sets / injectors in
wire.goonly — neverwire_gen.go. - Regenerate with
go generate ./...(orwire ./...), then stage the updatedwire_gen.go. Ifgo generate ./...produces no diff,wire.golikely lacks a//go:generate wiredirective — runwire ./...directly.
What ships with it
1 file 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.
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.
- 1mo ago First seen · 113 lines · 53 tokens per session scan A e5bf9acb5595
language-go is a skill published in the GitHub repository lugassawan/swe-workbench (3 stars, last pushed yesterday), licensed MIT. It adds 53 tokens to every session and 1,216 once invoked, about $0.0002 per session on Opus 5.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-09-03.
Other skills, from other repositories
wasm
WebAssembly (WASM) integration, WASI, component model, Rust/Go to WASM compilation. Use when implementing WASM modules, browser/edge compute, or polyglot runtime.
language-idioms-refiner
Facilitate a structured conversation to define language-specific idioms and patterns for a repository. Produces a language-idioms.md document consumed by multiple atoms to adapt pseudocode defaults to the project's language. Use when setting up a new project, switching languages, or when the user says 'setup…
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…
go-core-idioms
Use when writing or reviewing idiomatic sequential Go — error handling, slog logging, generics, interfaces, style. Not for concurrency (go-concurrency).
go-testing-quality
Use when writing or reviewing Go tests, adding coverage, benchmarking, or profiling a Go program. Not for CI/lint wiring (go-tooling-security) or non-Go tests.
go-standard
A Go programming style guide based on Go's standard library. It covers project structure, naming, error handling, and tests.