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.01083 |
| Opus 5.5 | $0.00021 | $0.00433 |
| Sonnet 5.5 | $0.00010 | $0.00217 |
| Haiku 4.5 | $0.00005 | $0.00108 |
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 1mo 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 — 71 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.
The code standard, in Go
- Arrays: Go has no read-only slice, so the rule becomes: size a slice once when the count is
known (
make([]T, len(src))and assign by index),appendonly when it is genuinely unknown, and never hand out an internal slice for callers to modify —slices.Clone(Go 1.21) when one must leave. - Bulk: one sqlc
DELETE ... WHERE/UPDATE ... WHEREquery, with= ANY($1)for an id set, never a loop of single-row calls. Several statements:tx, err := pool.Begin(ctx),defer tx.Rollback(ctx),queries.WithTx(tx), thentx.Commit(ctx). - Nested calls:
f(g(x))becomes a named intermediate — a call that returns an error already forces this.
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.
- 1mo ago Changed fd0db851f744
- 2mo ago Changed · +12 lines e12426c227b2
- 2mo 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 1,083 once invoked, about $0.0002 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-09-09.
go compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gonavid-kianfar/claude-memory-mcp | Agent | 0 | today | MIT | A | 52 | Claude Code |
| go-experttravisjneuman/.claude | Agent | 115 | 2d ago | MIT | A | 69 | Claude Code |
| go-expert0xfurai/claude-code-subagents | Agent | 1.0k | 24d ago | MIT | A | 18 | Claude Code |
| unit-test-writerstacklok/toolhive-registry-server | Agent | 32 | yesterday | Apache-2.0 | A | 0 | Claude Code |
| golang-proechoVic/blade-code | Agent | 181 | 15d ago | MIT | A | 49 | Claude Code |
| dok3-goLeeYudok/agents-scaffold | Agent | 40 | yesterday | MIT | A | 50 | Claude Code |
| go-build-resolverFmarzochi/EGC | Agent | 70 | yesterday | Apache-2.0 | A | 39 | Claude Code, Kiro |