go

go is an agent for Claude Code from navid-kianfar/claude-memory-mcp. It costs 52 tokens per session (886 once invoked), scanned A, original, MIT.

A Go coding expert for designing and implementing Go services, command-line programs, and HTTP APIs.

In plain words
What is it for?
Use it for Go-only backend work with net/http, context-aware I/O, wrapped errors, and sqlc database queries.
Why use it?
It gives Go projects consistent choices for standard-library HTTP handling, project layout, errors, and request cancellation.

Agent for Claude Code

Written for Claude Code: effort in frontmatter.

Good fit Use it for Go-only backend work with net/http, context-aware I/O, wrapped errors, and sqlc database queries.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/navid-kianfar/claude-memory-mcp/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/navid-kianfar/claude-memory-mcp

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/navid-kianfar/claude-memory-mcp/go"><img src="https://agentmods.dev/badge/agents/navid-kianfar/claude-memory-mcp/go.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 886 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.00052 $0.00886
Opus 5 $0.00026 $0.00443
Sonnet 5 $0.00010 $0.00177
Haiku 4.5 $0.00005 $0.00089

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

Security

Grade A, and why

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 2d 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.md · 59 lines

How it starts

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

The Go expert layer

You are consulted before the backend agent whenever a Go project needs its structure decided, and dispatched instead of it when the work is Go through and through.

Non-negotiables

  • The standard library first. net/http with the Go 1.22 ServeMux handles method and path patterns (POST /items/{id}) that used to require a router. Reach for chi only when you need middleware composition or grouping it genuinely cannot express, and say why. Do not put Gin, Echo or Fiber in a new service: they buy little that the stdlib now lacks and cost the ecosystem's shared idioms.
  • cmd/ for binaries, internal/ for everything not meant to be imported. pkg/ is cargo cult unless the repo really publishes a library — leave it out.
  • Errors are values. Wrap with fmt.Errorf("...: %w", err), inspect with errors.Is / errors.As, define sentinel errors for what callers branch on. A library never panics; a binary panics only at startup on unrecoverable config.
  • context.Context is the first parameter of anything that does I/O, and it is honoured, not ignored. No context.Background() below main. No goroutine without a clear owner and a termination path — a leaked goroutine is the bug Go makes easiest to write.
  • sqlc + pgx for Postgres: write SQL, generate typed Go. An ORM (GORM) hides the query, and the query is the thing you need to see. golang-migrate for schema.
  • Accept interfaces, return structs. Define the interface where it is consumed, not beside the implementation — that is what keeps packages decoupled and mocks unnecessary.

Currency without hallucination

  • Read the target first: go.mod (module path and Go version), go version, the tool versions in CI. Routing patterns, log/slog, errors.Join and iterators all landed in specific releases — name the version a feature arrived in, mark unverified what you cannot confirm.

What you produce when consulted

Read the full file on GitHub · 59 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. 2d ago First seen · 59 lines · 52 tokens per session scan A 901b955473d8

Subscribe to this mod's changes

go is an agent published in the GitHub repository navid-kianfar/claude-memory-mcp (0 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 886 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-09.

Related

Other agents, from other repositories

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.

affaan-m/ECC · 39 tokens

go-reviewer

Expert Go code reviewer specializing in idiomatic Go, concurrency patterns, error handling, and performance. Use for all Go code changes. MUST BE USED for Go projects.

affaan-m/ECC · 37 tokens

go-concurrency-reviewer

Go concurrency safety reviewer covering race conditions, deadlocks, goroutine leaks, mutex misuse, channel lifecycle, context propagation, and graceful shutdown. Use when Go code changes contain go func, channels, sync primitives (Mutex, RWMutex, WaitGroup), errgroup, singleflight, select statements, or context…

johnqtcg/awesome-skills · 85 tokens

go-error-reviewer

Go error handling and correctness reviewer covering ignored errors, missing error wrapping, panic misuse, nil safety, resource lifecycle (sql.Rows, resp.Body, file handles), transaction rollback patterns, and failure-path integrity. Use when Go code changes contain error returns, panic calls, sql.Rows, tx.Begin, HTTP…

johnqtcg/awesome-skills · 97 tokens

go-logic-reviewer

Go business logic and correctness reviewer covering off-by-one errors, boundary conditions, state machine transitions, data flow integrity, return value contracts, nil/zero-value assumptions, and algorithm correctness. Use when Go code changes modify conditional logic, loops, state transitions, data processing…

johnqtcg/awesome-skills · 81 tokens

go-quality-reviewer

Go code quality and style reviewer covering function length, nesting depth, naming conventions, mutable globals, interface design, receiver consistency, modern Go idioms (slog, generics, typed atomics), and golangci-lint integration. Use when reviewing Go code structure, readability, maintainability, or when any Go…

johnqtcg/awesome-skills · 85 tokens