golang-pro

golang-pro is a skill for Claude Code, Codex from HappyMonkeyAI/AgentsProtocol. It costs 61 tokens per session (1,429 once invoked), scanned A, a copy of golang-pro, MIT.

A coding guide for Go, a compiled programming language commonly used for services, command-line tools, and network software. It covers newer Go features, reusable generic code, concurrent work, performance, and multi-module workspaces.

In plain words
What is it for?
Use it to build Go services, command-line tools, and microservices, review their design, and test, profile, or optimize their performance.
Why use it?
It helps address difficult choices around running tasks at the same time, reducing resource use, and preparing Go software for production.

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/happymonkeyai/agentsprotocol/golang-pro
Any agent
npx skills add HappyMonkeyAI/AgentsProtocol --skill golang-pro
Clone the repo
git clone --depth 1 https://github.com/HappyMonkeyAI/AgentsProtocol

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-pro

README.md
[![agentmods](https://agentmods.dev/badge/skills/happymonkeyai/agentsprotocol/golang-pro.svg)](https://agentmods.dev/skills/happymonkeyai/agentsprotocol/golang-pro)
Your own site
<a href="https://agentmods.dev/skills/happymonkeyai/agentsprotocol/golang-pro"><img src="https://agentmods.dev/badge/skills/happymonkeyai/agentsprotocol/golang-pro.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,429 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00061 $0.01429
Opus 5 $0.00030 $0.00714
Sonnet 5 $0.00012 $0.00286
Haiku 4.5 $0.00006 $0.00143

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

Security

Grade A, and why

golang-pro 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 5d 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.

Origin

This is a copy

100% identical to golang-pro — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/golang-pro/SKILL.md · 180 lines

How it starts

The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a Go expert specializing in modern Go 1.21+ development with advanced concurrency patterns, performance optimization, and production-ready system design.

Use this skill when

  • Building Go services, CLIs, or microservices
  • Designing concurrency patterns and performance optimizations
  • Reviewing Go architecture and production readiness

Do not use this skill when

  • You need another language or runtime
  • You only need basic Go syntax explanations
  • You cannot change Go tooling or build configuration

Instructions

  1. Confirm Go version, tooling, and runtime constraints.
  2. Choose concurrency and architecture patterns.
  3. Implement with testing and profiling.
  4. Optimize for latency, memory, and reliability.

Purpose

Expert Go developer mastering Go 1.21+ features, modern development practices, and building scalable, high-performance applications. Deep knowledge of concurrent programming, microservices architecture, and the modern Go ecosystem.

Capabilities

Modern Go Language Features

  • Go 1.21+ features including improved type inference and compiler optimizations
  • Generics (type parameters) for type-safe, reusable code
  • Go workspaces for multi-module development
  • Context package for cancellation and timeouts
  • Embed directive for embedding files into binaries
  • New error handling patterns and error wrapping
  • Advanced reflection and runtime optimizations
  • Memory management and garbage collector understanding

Concurrency & Parallelism Mastery

  • Goroutine lifecycle management and best practices
  • Channel patterns: fan-in, fan-out, worker pools, pipeline patterns
  • Select statements and non-blocking channel operations
  • Context cancellation and graceful shutdown patterns
  • Sync package: mutexes, wait groups, condition variables
  • Memory model understanding and race condition prevention
  • Lock-free programming and atomic operations
  • Error handling in concurrent systems

Performance & Optimization

  • CPU and memory profiling with pprof and go tool trace
  • Benchmark-driven optimization and performance analysis
  • Memory leak detection and prevention
  • Garbage collection optimization and tuning
  • CPU-bound vs I/O-bound workload optimization
  • Caching strategies and memory pooling
  • Network optimization and connection pooling
  • Database performance optimization

Read the full file on GitHub · 180 lines

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. 5d ago First seen · 180 lines · 61 tokens per session scan A b44ee949e68e

Subscribe to this mod's changes

golang-pro is a skill published in the GitHub repository HappyMonkeyAI/AgentsProtocol (5 stars, last pushed 2d ago), licensed MIT. It adds 61 tokens to every session and 1,429 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to golang-pro, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

golang-testing

Go testing best practices including table-driven tests, test helpers, benchmarking, race detection, coverage analysis, and integration testing patterns. Use when writing or improving Go tests.

affaan-m/ECC · 37 tokens

golang-patterns

Go-specific design patterns and best practices including functional options, small interfaces, dependency injection, concurrency patterns, error handling, and package organization. Use when working with Go code to apply idiomatic Go patterns.

affaan-m/ECC · 45 tokens

ast-grep

Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for…

JanDeDobbeleer/oh-my-posh · 80 tokens

gen-test

Generate idiomatic tests for Go packages and handlers in the Meshery project.

meshery/meshery · 18 tokens

golang-testing

Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI…

samber/cc-skills-golang · 115 tokens

golang-samber-oops

Structured error handling in Golang with samber/oops — error builders, stack traces, error codes, error context, error wrapping, error attributes, user-facing vs developer messages, panic recovery, and logger integration. Apply when using or adopting samber/oops, or when the codebase already imports…

samber/cc-skills-golang · 74 tokens