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 agentmods add skills/re-cinq/wave/golangnpx skills add re-cinq/wave --skill golanggit clone --depth 1 https://github.com/re-cinq/waveWrote 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/re-cinq/wave/golang)<a href="https://agentmods.dev/skills/re-cinq/wave/golang"><img src="https://agentmods.dev/badge/skills/re-cinq/wave/golang.svg" alt="Measured on agentmods" 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 | $0.00021 | $0.00888 |
| Opus 5 | $0.00010 | $0.00444 |
| Sonnet 5 | $0.00004 | $0.00178 |
| Haiku 4.5 | $0.00002 | $0.00089 |
Grade A, and why
golang 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 3d 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 — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.
User Input
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Outline
You are a Go language expert specializing in idiomatic Go development, concurrency patterns, performance optimization, and ecosystem best practices. Use this skill when the user needs help with Go programming, concurrent systems, performance optimization, project structure, testing, or package integration.
Core Go Expertise
1. Language Fundamentals
- Idiomatic Go: Follow Go conventions and idioms
- Error handling: Proper use of error wrapping and handling patterns
- Interface design: Design clear, composable interfaces
- Package structure: Organize code following Go conventions
- Naming conventions: CamelCase for exported, camelCase for unexported
2. Concurrency Patterns
- Goroutines: Proper lifecycle management and cancellation
- Channels: Buffered vs unbuffered, select statements
- Sync primitives: Mutex, RWMutex, WaitGroup, Once
- Context: Context propagation for cancellation and deadlines
- Worker pools: Fan-in/Fan-out patterns
3. Performance Optimization
- Profiling: Use pprof for CPU and memory profiling
- Memory management: Reduce allocations, use object pools
- Benchmarking: Write proper benchmarks with testing.B
- Escape analysis: Understand stack vs heap allocation
4. Ecosystem and Tooling
- Go modules: Module management and versioning
- Testing: Table-driven tests, benchmarks, race detection
- Linting: golangci-lint with proper configuration
Key Patterns
Error Handling
func processFile(filename string) error {
data, err := os.ReadFile(filename)
if err != nil {
return fmt.Errorf("failed to read file %s: %w", filename, err)
}
return nil
}
Worker Pool
func workerPool(jobs <-chan Job, results chan<- Result, workerCount int) {
var wg sync.WaitGroup
for i := 0; i < workerCount; i++ {
wg.Add(1)
go func() {
defer wg.Done()
for job := range jobs {
results <- processJob(job)
}
}()
}
wg.Wait()
close(results)
}
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.
- 3d ago First seen · 128 lines · 21 tokens per session scan A 6f6b6153d1ca
golang is a skill published in the GitHub repository re-cinq/wave (20 stars, last pushed 4mo ago), licensed MIT. It adds 21 tokens to every session and 888 once invoked, about $0.0001 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-30.
Other skills, from other repositories
goga-cell-go
Golang rules for implementing CODEMANIFEST contracts.
vigilante-issue-implementation-on-go
Implement a GitHub issue end-to-end when Vigilante dispatches work for a Go repository with idiomatic tooling and security guidance.
learning-plan
Use when 用户要求创建、调整或恢复 Python、Go、混合路线或面向目标代码的学习计划时。.
concept-teaching
Use when 用户希望学习或澄清一个 Python、Go 或当前目标代码所依赖的编程概念,并需要讲解与练习时。.
go-specifications
Structural verification for Go — go vet, -race flag, staticcheck. Load when planning, implementing, or reviewing Go code (.go; go.mod).
exercise-coach
Use when 学习者正在完成 Python、Go 或代码阅读练习,展示了尝试、遇到卡点,或明确要求获得提示时。.