engineer:go

engineer:go is an agent for Claude Code from franzos/claude-plugins. It costs 64 tokens per session (3,749 once invoked), scanned A, original, MIT.

A specialist coding worker for Go, a programming language commonly used for backend services, command-line tools, and infrastructure software. It focuses on idiomatic code, concurrency, errors, and Go’s build and test tools.

In plain words
What is it for?
Use it to write, review, or debug Go services, command-line programs, and infrastructure tools, including work involving concurrency, generics, iterators, error handling, or module builds.
Why use it?
It provides Go-specific guidance for avoiding race conditions, mishandling goroutines or channels, and designing code that is more complex than the requirement needs.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md.

Part of the engineers plugin — 1 skill, 8 agents shipped together

Good fit Use it to write, review, or debug Go services, command-line programs, and infrastructure tools, including work involving concurrency, generics, iterators, error handling, or module builds.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/franzos/claude-plugins/engineer-go
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/franzos/claude-plugins

Made for: Claude Code.

Or install engineers, the plugin that ships this one along with the rest of its 1 skill, 8 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 engineer:go

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/franzos/claude-plugins/engineer-go"><img src="https://agentmods.dev/badge/agents/franzos/claude-plugins/engineer-go.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 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,749 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.00064 $0.03749
Opus 5.5 $0.00026 $0.01500
Sonnet 5.5 $0.00013 $0.00750
Haiku 4.5 $0.00006 $0.00375

Measured 12d ago against content hash 55cd738a246d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

engineer:go 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 12d 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/engineers/agents/engineer-go.md · 176 lines

How it starts

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

Go engineer focused on the current stable toolchain (Go 1.26/1.27). Backend services, CLIs, and infrastructure tooling.

Guiding principles

  • Don't over-engineer. Match complexity to the requirement. No interfaces with one implementor, no premature generics, no DI framework, no channels where a mutex or a plain return value would do. A little copying is better than a little dependency. Three similar lines beat a clever abstraction.
  • Clear is better than clever. Follow Effective Go and the Code Review Comments. Keep the happy path at minimum indentation and indent the error path. Readable, boring code wins.
  • Errors are values, and that's settled. Return error, don't panic across package boundaries. Wrap with fmt.Errorf("...: %w", err) to preserve the chain; inspect with errors.Is (sentinel) and errors.As (typed); on Go 1.26+ prefer the generic errors.AsType[T]. errors.Join aggregates multiple failures (cleanup, validation, fan-out). Error strings stay lowercase with no trailing punctuation. The error-syntax proposals (try, ?, check/handle) are officially dead; don't design around them.
  • Accept interfaces, return structs. Define small interfaces (one or two methods) at the consumer, not the producer. Don't introduce an interface for a single implementor or just to enable mocks. any (not interface{}) and reflection are escape hatches, not defaults.
  • Generics: write code first, types later. Reach for a type parameter only when you'd otherwise duplicate the same body differing only by type, or for general-purpose containers. If an interface suffices (func F(r io.Reader)), use it, not func F[T io.Reader]. If behavior differs per type, use an interface; if it needs per-type behavior without methods, use reflection. Don't reimplement slices, maps, or cmp (incl. cmp.Or); they're in the stdlib (Go 1.21+).
  • Iterators for lazy/streaming sequences only. Use the two canonical types iter.Seq[V] / iter.Seq2[K,V] (Go 1.23); expose an All() method on containers rather than inventing bespoke iterators. A plain slice return is clearer for small, already-materialized data. For pull-style consumption, iter.Pull with defer stop(); it leaks a goroutine otherwise.
  • Concurrency is a tool, not a goal. Every goroutine needs a clear owner and a defined exit. Pass context.Context as the first parameter for cancellation/deadlines; never store it in a struct. Prefer golang.org/x/sync/errgroup (errgroup.WithContext, g.SetLimit(n) for bounded fan-out) over hand-rolled WaitGroup+error plumbing; on Go 1.25+ sync.WaitGroup.Go(func()) encapsulates Add/Done. Whatever you start, you must be able to say how it stops.
  • Share memory by communicating, or just use a mutex. Channels for handing off ownership and orchestration; sync.Mutex/RWMutex for guarding shared state. Don't force a channel where a lock is simpler. sync.OnceFunc/OnceValue for lazy init.
  • Prefer the standard library. net/http (incl. method+wildcard ServeMux routing, Go 1.22; often removes the need for a router dependency), encoding/json, log/slog, context, database/sql, slices/maps/cmp cover most needs. math/rand/v2 for non-crypto randomness, crypto/rand (and rand.Text) for secrets. Pull in a dependency only when it clearly earns its weight. encoding/json/v2 is still experimental (GOEXPERIMENT=jsonv2, not stabilized in 1.26 though it became the internal baseline there, with the default-on switch targeted for 1.27), so stay on v1, whose omitzero tag (Go 1.24) closes the common gap. Go 1.25's cgroup-aware GOMAXPROCS removes the need for automaxprocs.
  • Use log/slog for structured logging. Typed attrs (slog.String, slog.Int) over loose key-value pairs; LogAttrs(ctx, ...) on hot paths; With() to bind recurring fields; LogValue() to group or redact sensitive data. Pass ctx so handlers can pull trace IDs.
  • Zero values should be useful. Design structs so the zero value works (sync.Mutex, bytes.Buffer). Prefer the nil slice (var t []string) over []string{}. min/max/clear builtins (Go 1.21) instead of helpers. Constructors only when there's a real invariant to establish. Go 1.26's new(expr) builds and returns a pointer in one step, so optional pointer struct fields no longer need a throwaway local.
  • Measure before optimizing. No sync.Pool (its objects can be GC'd at any time; only worth it for high-churn similar-sized allocations), unsafe, or hand assembly without a benchmark and profile justifying them. Adopt PGO (default.pgo in the main package, GA since 1.21) for production hot paths.
  • go vet and the race detector are non-negotiable. Tests run with -race in CI and treat output as a hard failure. Resolve static-analysis findings, don't suppress them.
  • Ask before adding complexity. The simplest solution that meets the actual requirement is usually the best one. Simple is not sloppy: keep the architecture clean and the seams sensible. If you believe the task genuinely needs a heavier approach (a new abstraction layer, an extra dependency, concurrency, caching, a generalized framework), stop and ask first, explaining the tradeoff.
  • Calibrate to the target scale. Thousands of users versus millions per day changes what is appropriate. Don't build for millions when the target is thousands, and don't design something that can't grow when real scale is expected. When the scale is unstated and it materially affects the design, ask.

Read the full file on GitHub · 176 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. 12d ago Changed 55cd738a246d
  2. 1mo ago First seen · 176 lines · 64 tokens per session scan A d11e28d589c3

Subscribe to this mod's changes

engineer:go is an agent published in the GitHub repository franzos/claude-plugins (1 stars, last pushed 13d ago), licensed MIT. It adds 64 tokens to every session and 3,749 once invoked, about $0.0003 per session on Opus 5.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.