golang-expert

golang-expert is an agent for Claude Code from davepoon/buildwithclaude. It costs 50 tokens per session (332 once invoked), scanned A, original, MIT.

A coding assistant for Go, a programming language often used for network services and concurrent systems. It helps write idiomatic Go using goroutines, channels, interfaces, and explicit error handling.

In plain words
What is it for?
Use it to refactor Go projects, build concurrent services, design packages and interfaces, write table-driven tests and benchmarks, and profile performance.
Why use it?
It reduces the risk of race conditions, unclear error handling, and inefficient concurrency code. It also helps keep refactoring and performance work aligned with common Go practices.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agents-language-specialists plugin — 12 agents shipped together

Good fit Use it to refactor Go projects, build concurrent services, design packages and interfaces, write table-driven tests and benchmarks, and profile performance.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/davepoon/buildwithclaude/golang-expert
About the project

davepoon/buildwithclaude is a discovery hub and plugin marketplace for Claude Code extensions, including agents, commands, hooks, skills, plugins, MCP servers, and marketplace collections. Developers use it to browse, search, and find installation instructions for tools that extend Claude-related workflows. Catalogue entries include agents, plugins, commands, and skills from this collection.

davepoon/buildwithclaude · 3,429 stars · on GitHub · buildwithclaude.com

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.

Clone the repo
git clone --depth 1 https://github.com/davepoon/buildwithclaude

Made for: Claude Code.

Or install agents-language-specialists, the plugin that ships this one along with the rest of its 12 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/davepoon/buildwithclaude/golang-expert/github.svg)](https://agentmods.dev/agents/davepoon/buildwithclaude/golang-expert)
Your own site
<a href="https://agentmods.dev/agents/davepoon/buildwithclaude/golang-expert"><img src="https://agentmods.dev/badge/agents/davepoon/buildwithclaude/golang-expert/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.

agentmods 80×15 button for golang-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/davepoon/buildwithclaude/golang-expert"><img src="https://agentmods.dev/badge/agents/davepoon/buildwithclaude/golang-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 332 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00050 $0.00332
Opus 5 $0.00025 $0.00166
Sonnet 5 $0.00010 $0.00066
Haiku 4.5 $0.00005 $0.00033

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

Security

Grade A, and why

golang-expert 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.

plugins/agents-language-specialists/agents/golang-expert.md · 37 lines

What it actually says

You are a Go expert specializing in concurrent, performant, and idiomatic Go code.

When invoked:

  1. Analyze requirements and design idiomatic Go solutions
  2. Implement concurrency patterns using goroutines, channels, and select
  3. Create clear interfaces and struct composition patterns
  4. Establish comprehensive error handling with custom error types
  5. Set up testing framework with table-driven tests and benchmarks
  6. Optimize performance using pprof profiling and measurements

Process:

  • Prioritize simplicity first - clear is better than clever
  • Apply composition over inheritance through well-designed interfaces
  • Implement explicit error handling with no hidden magic
  • Design concurrent systems that are safe by default
  • Benchmark thoroughly before optimizing performance
  • Prefer standard library solutions over external dependencies
  • Follow effective Go guidelines and community best practices
  • Organize code with proper module management and clear package structure

Provide:

  • Idiomatic Go code following effective Go guidelines and conventions
  • Concurrent code with proper synchronization and race condition prevention
  • Table-driven tests with subtests for comprehensive coverage
  • Benchmark functions for performance-critical code paths
  • Error handling with wrapped errors, context, and custom error types
  • Clear interfaces and struct composition patterns
  • go.mod setup with minimal, well-justified dependencies
  • Performance profiling setup and optimization recommendations
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 · 37 lines · 50 tokens per session scan A e403affb353c

Subscribe to this mod's changes

golang-expert is an agent published in the GitHub repository davepoon/buildwithclaude (3,429 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 332 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-09-03.

Related

Other agents, from other repositories

golang-pro

Write idiomatic Go code with goroutines, channels, and interfaces. Optimizes concurrency, implements Go patterns, and ensures proper error handling. Use PROACTIVELY for Go refactoring, concurrency issues, or performance optimization.

NOMARJ/sigil · 49 tokens

golang-pro

Write idiomatic Go code with goroutines, channels, and interfaces. Optimizes concurrency, implements Go patterns, and ensures proper error handling. Use proactively for Go refactoring, concurrency issues, or performance optimization.

NickCrew/Claude-Cortex · 48 tokens

backend-developer

Use when building or modifying server-side services, REST or GraphQL APIs, background workers, CouchDB data models, or Go microservices. Covers Node.js/TypeScript and Go implementations.

mcleo-d/claude-agents · 42 tokens

go-security-reviewer

Go security vulnerability reviewer covering OWASP Top 10, injection (SQL/command/path traversal), auth/authz bypass, crypto misuse, secrets exposure, SSRF, and input validation. Use when Go code changes touch SQL queries, os/exec, HTTP handlers, TLS config, authentication middleware, file path operations, or hardcoded…

johnqtcg/awesome-skills · 89 tokens

csharp-pro

Write modern C# code with advanced features like records, pattern matching, and async/await. Optimizes .NET applications, implements enterprise patterns, and ensures comprehensive testing. Use PROACTIVELY for C# refactoring, performance optimization, or complex .NET solutions.

NOMARJ/sigil · 58 tokens

go-hybrid-engineer

Use this agent for production-grade Go implementation work on the Plane 2 edge (HTTP+SSE + GraphQL Federation Platform API) and the Plane 1↔Plane 2 gRPC boundary between the Go edge and the BEAM kernel in the Living Platform Option C tri-cable architecture. This agent owns the smart-agents Go codebase (retention +…

asiflow/claude-nexus-hyper-agent-team · 778 tokens