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.
git clone --depth 1 https://github.com/navid-kianfar/claude-memory-mcpWrote 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.
[](https://agentmods.dev/agents/navid-kianfar/claude-memory-mcp/go)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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/httpwith the Go 1.22ServeMuxhandles method and path patterns (POST /items/{id}) that used to require a router. Reach forchionly 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 witherrors.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.Contextis the first parameter of anything that does I/O, and it is honoured, not ignored. Nocontext.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.Joinand iterators all landed in specific releases — name the version a feature arrived in, mark unverified what you cannot confirm.
What you produce when consulted
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.
- 2d ago First seen · 59 lines · 52 tokens per session scan A 901b955473d8
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.
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.
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.
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…
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…
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…
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…