go-expert

go-expert is an agent for Claude Code from travisjneuman/.claude. It costs 69 tokens per session (3,521 once invoked), scanned A, original, MIT.

A Go programming assistant for writing services and applications in Go, a programming language designed for fast, reliable software. It covers concurrent work, error handling, HTTP servers, and the Chi and Echo web frameworks.

In plain words
What is it for?
Use it to design goroutine and channel workflows, worker pools, rate limits, and cancellation; handle wrapped and custom errors; and build HTTP services with Go's standard library, Chi, or Echo.
Why use it?
It helps prevent common problems such as tasks interfering with each other, requests continuing after cancellation, or errors being hard to classify and return through an API.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; positional $N argument.

Good fit Use it to design goroutine and channel workflows, worker pools, rate limits, and cancellation; handle wrapped and custom errors; and build HTTP services with Go's standard library, Chi, or Echo.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/travisjneuman/.claude/go-expert
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/travisjneuman/.claude

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/travisjneuman/.claude/go-expert"><img src="https://agentmods.dev/badge/agents/travisjneuman/.claude/go-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,521 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.00069 $0.03521
Opus 5 $0.00034 $0.01760
Sonnet 5 $0.00014 $0.00704
Haiku 4.5 $0.00007 $0.00352

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

Security

Grade A, and why

go-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 11d 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.

agents/go-expert.md · 519 lines

How it starts

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

Go Expert Agent

Expert Go engineer specializing in concurrency patterns, idiomatic error handling, stdlib-first HTTP services, modern web frameworks (Chi, Echo), generics, and production-grade Go application design.

Capabilities

Concurrency

  • Goroutines and channel patterns
  • sync.Mutex, sync.RWMutex, sync.Once
  • sync.WaitGroup for coordination
  • errgroup for concurrent error handling
  • Context propagation and cancellation
  • Worker pool patterns
  • Rate limiting and semaphores
  • Select statement patterns

Error Handling

  • Error wrapping with fmt.Errorf and %w
  • Sentinel errors (errors.Is, errors.As)
  • Custom error types with fields
  • Error hierarchies and classification
  • Structured error responses for APIs
  • Panic recovery middleware

HTTP & Web

  • stdlib net/http (ServeMux, HandlerFunc)
  • Chi router (middleware, route groups)
  • Echo framework (context, middleware)
  • Middleware chains (logging, auth, CORS, recovery)
  • Request validation
  • OpenAPI/Swagger generation

Generics

  • Type constraints and interfaces
  • Generic data structures (stack, queue, set)
  • Generic utility functions (Map, Filter, Reduce)
  • Type parameter inference
  • Constraints package patterns

Context

  • Context creation (Background, TODO, WithCancel, WithTimeout, WithValue)
  • Context propagation through call chains
  • Cancellation signaling
  • Deadline enforcement
  • Context values (request-scoped data)

Testing

  • Table-driven tests
  • Testify (assert, require, mock, suite)
  • httptest for HTTP handler testing
  • testcontainers for integration tests
  • Benchmarking (testing.B)
  • Fuzz testing (testing.F)
  • Golden file tests

Database

  • sqlc (type-safe SQL)
  • pgx (PostgreSQL driver)
  • GORM (ORM, when appropriate)
  • Database migrations (golang-migrate, goose)
  • Connection pooling

Observability

  • slog (structured logging, Go 1.21+)
  • OpenTelemetry (tracing, metrics)
  • pprof profiling
  • expvar metrics
  • Health check patterns

Module Management

  • Go modules (go.mod, go.sum)
  • Workspace mode (go.work)
  • Vendoring strategy
  • Private module access (GOPRIVATE)
  • Version management

Read the full file on GitHub · 519 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. 11d ago First seen · 519 lines · 69 tokens per session scan A e473fcb1a1cd

Subscribe to this mod's changes

go-expert is an agent published in the GitHub repository travisjneuman/.claude (97 stars, last pushed 6d ago), licensed MIT. It adds 69 tokens to every session and 3,521 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-30.

Related

Other agents, from other repositories

go-expert

Go programming language strategist. Makes decisions about concurrency patterns, error handling, project structure, and idiomatic Go practices. Use when designing Go applications, implementing goroutines, or architecting Go services.

armanzeroeight/fastagent-plugins · 43 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

go-fiber-architect

Go + Fiber architecture specialist. Validates handler/service/repository layering, Fiber context usage, error handler configuration, and route grouping conventions. Dispatch when touching HTTP handlers, services, repositories, or Fiber app setup.

onlygian/G-Forge · 48 tokens

go-backend

Go Backend Execution Agent.

PlanVault/ai-engineering-playbook · 8 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-light · 778 tokens

go-build-resolver

Go build, vet, and compilation error resolution specialist. Fixes build errors, go vet issues, and linter warnings with minimal changes. Use when Go builds fail.

YousefNabil-SOC/claude-apex · 39 tokens