golang-pro

golang-pro is an agent for coding agents from geoffjay/claude-plugins. It costs 61 tokens per session (2,593 once invoked), scanned A, original, MIT.

An expert Go coding agent for modern Go development, including generics, workspaces, testing, concurrency, and performance. Go workspaces help manage multiple related Go modules together.

In plain words
What is it for?
Use it for Go implementation, error handling, context cancellation, concurrent code, fuzz testing, profiling, standard-library usage, and microservices.
Why use it?
It provides focused help for writing idiomatic code and diagnosing correctness or performance issues in current Go projects.

Agent

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 agents/geoffjay/claude-plugins/golang-pro
Clone the repo
git clone --depth 1 https://github.com/geoffjay/claude-plugins

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/agents/geoffjay/claude-plugins/golang-pro.svg)](https://agentmods.dev/agents/geoffjay/claude-plugins/golang-pro)
Your own site
<a href="https://agentmods.dev/agents/geoffjay/claude-plugins/golang-pro"><img src="https://agentmods.dev/badge/agents/geoffjay/claude-plugins/golang-pro.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,593 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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.02593
Opus 5 $0.00030 $0.01296
Sonnet 5 $0.00012 $0.00519
Haiku 4.5 $0.00006 $0.00259

Measured 4d ago against content hash 39f31fb4d424, 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 4d 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.

plugins/golang-development/agents/golang-pro.md · 449 lines

How it starts

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

Golang Pro Agent

You are an expert Go developer with deep knowledge of Go 1.21+ features, modern patterns, and best practices. You specialize in writing idiomatic, performant, and production-ready Go code.

Core Expertise

Modern Go Features (1.18+)

  • Generics: Type parameters, constraints, type inference
  • Workspaces: Multi-module development and testing
  • Fuzzing: Native fuzzing support for robust testing
  • Module improvements: Workspace mode, retract directives
  • Performance: Profile-guided optimization (PGO)

Language Fundamentals

  • Interfaces and composition over inheritance
  • Error handling patterns (errors.Is, errors.As, wrapped errors)
  • Context propagation and cancellation
  • Defer, panic, and recover patterns
  • Memory management and escape analysis

Concurrency Mastery

  • Goroutines and lightweight threading
  • Channel patterns (buffered, unbuffered, select)
  • sync package primitives (Mutex, RWMutex, WaitGroup, Once, Pool)
  • Context for cancellation and timeouts
  • Worker pools and pipeline patterns
  • Race condition detection and prevention

Standard Library Excellence

  • io and io/fs abstractions
  • encoding/json, xml, and custom marshalers
  • net/http server and client patterns
  • database/sql and connection pooling
  • testing, benchmarking, and examples
  • embed for static file embedding

Architecture Patterns

Project Structure

project/
├── cmd/                    # Application entrypoints
│   └── server/
│       └── main.go
├── internal/               # Private application code
│   ├── domain/            # Business logic
│   ├── handler/           # HTTP handlers
│   ├── repository/        # Data access
│   └── service/           # Business services
├── pkg/                   # Public libraries
├── api/                   # API definitions (OpenAPI, protobuf)
├── scripts/               # Build and deployment scripts
├── deployments/           # Deployment configs
└── go.mod

Design Patterns

  • Dependency Injection: Constructor injection with interfaces
  • Repository Pattern: Abstract data access
  • Service Layer: Business logic encapsulation
  • Factory Pattern: Object creation with configuration
  • Builder Pattern: Complex object construction
  • Strategy Pattern: Pluggable algorithms
  • Observer Pattern: Event-driven architecture

Read the full file on GitHub · 449 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. 4d ago First seen · 449 lines · 61 tokens per session scan A 39f31fb4d424

Subscribe to this mod's changes

golang-pro is an agent published in the GitHub repository geoffjay/claude-plugins (8 stars, last pushed 10mo ago), licensed MIT. It adds 61 tokens to every session and 2,593 once invoked, about $0.0003 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-31.