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.
npx skills add neverinfamous/memory-journal-mcp --skill golanggit clone --depth 1 https://github.com/neverinfamous/memory-journal-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/skills/neverinfamous/memory-journal-mcp/golang)<a href="https://agentmods.dev/skills/neverinfamous/memory-journal-mcp/golang"><img src="https://agentmods.dev/badge/skills/neverinfamous/memory-journal-mcp/golang.svg" alt="Measured on agentmods" 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.00081 | $0.01056 |
| Opus 5 | $0.00041 | $0.00528 |
| Sonnet 5 | $0.00016 | $0.00211 |
| Haiku 4.5 | $0.00008 | $0.00106 |
Grade A, and why
golang 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 8d 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 — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Golang Engineering Standards
This skill synthesizes the absolute best practices from the ecosystem (Uber Guide, Google Guide, and community consensus) to ensure written Go code is idiomatic, performant, and safe.
1. Interface & API Design
- Accept Interfaces, Return Structs: Define interfaces where they are consumed (by the caller), not where they are implemented. Return concrete structs from constructors so callers can use all methods or mock as needed.
- Context is King:
context.Contextmust always be the first parameter of any function doing I/O or asynchronous work. - Never Store Context: Do not store
context.Contextinside structs. It is meant to flow entirely through the function stack. - No Dependency Injection via Context: Only use
context.WithValuefor request-scoped data (like trace IDs, user claims). Never use it to pass databases, loggers, or configuration.
2. Error Handling
- Wrapping Options: Use
fmt.Errorf("doing operation: %w", err)to preserve the underlying error forerrors.Isorerrors.As. Use%vonly if you explicitly want to hide the underlying error's identity. - Never Log AND Return: Pick one. If you log an error, handle it there. If you return it, let the caller log it. Doing both creates duplicate noise in APM systems.
- Sentinel Errors: Define top-level exported errors for standard package failure modes (
var ErrNotFound = errors.New(...)). Useerrors.Is(err, ErrNotFound)rather than string comparisons.
3. Concurrency & Goroutines
- Know When To Stop: Never start a goroutine without knowing exactly how and when it will terminate. Unbounded or untracked goroutines cause devastating memory leaks.
- Coordination: Use
sync.WaitGroupto wait for a pool of workers. - Channels vs Mutexes:
- Use
chanto pass ownership of data between concurrent routines. - Use
sync.Mutexto protect shared state accessed from multiple routines.
- Use
- Lock Discipline: Keep the critical section of a lock as short as physically possible. Never perform I/O while holding a mutex.
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.
- 8d ago First seen · 62 lines · 81 tokens per session scan A 80b867e0845a
golang is a skill published in the GitHub repository neverinfamous/memory-journal-mcp (20 stars, last pushed 1mo ago), licensed MIT. It adds 81 tokens to every session and 1,056 once invoked, about $0.0004 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.
Other skills, from other repositories
go-grpc-patterns
Upstream: https://pkg.go.dev/google.golang.org/grpc · https://grpc.io/docs/languages/go/.
go-samber-do
Upstream: https://github.com/samber/do · v2: https://github.com/samber/do/tree/v2.
golang-graphql
Implements GraphQL APIs in Golang using gqlgen or graphql-go. Apply when building GraphQL servers, designing schemas, writing resolvers, handling subscriptions, or integrating GraphQL with existing Go HTTP services. Also apply when the codebase imports github.com/99designs/gqlgen or github.com/graph-gophers/graphql-go.
golang-pro
Implements concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST, optimizes Go application performance with pprof, and enforces idiomatic Go with generics, interfaces, and robust error handling. Use when building Go applications requiring concurrent programming…
golang-grpc
Provides gRPC usage guidelines, protobuf organization, and production-ready patterns for Golang microservices. Use when implementing, reviewing, or debugging gRPC servers/clients, writing proto files, setting up interceptors, handling gRPC errors with status codes, configuring TLS/mTLS, testing with bufconn, or…
golang-swagger
Golang OpenAPI/Swagger documentation with swaggo/swag — annotation comments (@Summary, @Param, @Success, @Router, @Security), swag init code generation, framework integrations (gin, echo, fiber, chi, net/http), security definitions (Bearer/JWT, OAuth2, API key), and struct tags (swaggertype, enums, example…