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 AmariahAK/atlarix-skills --skill gogit clone --depth 1 https://github.com/AmariahAK/atlarix-skillsWrote 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/amariahak/atlarix-skills/go)<a href="https://agentmods.dev/skills/amariahak/atlarix-skills/go"><img src="https://agentmods.dev/badge/skills/amariahak/atlarix-skills/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/skills/amariahak/atlarix-skills/go"><img src="https://agentmods.dev/badge/skills/amariahak/atlarix-skills/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.00002 | $0.00504 |
| Opus 5.5 | $0.00001 | $0.00202 |
| Sonnet 5.5 | $0.00000 | $0.00101 |
| Haiku 4.5 | $0.00000 | $0.00050 |
Grade A, and why
Go Patterns 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.
What it actually says
Go Patterns
When to use this skill
Use this skill when building Go services/CLIs and you want practical patterns for package layout, error handling, concurrency, and testing that keep code readable and reliable.
Core patterns
Errors: wrap with context, don’t hide them
Use %w to wrap:
return fmt.Errorf("load config: %w", err)
Prefer returning errors over panics for expected failure modes.
Context propagation
For servers and clients:
- accept
context.Contextas the first parameter - honor cancellation and deadlines
Interfaces: small and consumer-defined
Prefer:
- defining interfaces at the point of use
- small method sets
Avoid:
- “god interfaces” shared across packages
Package structure
Common structure:
cmd/<app>/main.gointernal/...for private app packagespkg/...only for truly reusable libs (optional)
Concurrency: start simple
Prefer:
- a goroutine per independent unit of work
errgroup(or equivalent) for fan-out with cancellation- bounded concurrency via semaphores
Avoid:
- unbounded goroutine creation
- shared mutable state without clear ownership
Testing
Patterns:
- table-driven tests
- keep test data small and explicit
- compare errors and output deterministically
Atlarix tool notes
- Explore: locate entry points under
cmd/and critical packages underinternal/withgrep/glob. - Build: make small edits and run
go test ./.... - Debug: reproduce with
go test -run <name> -count=1or run the binary with flags. - Review: check context cancellation, error wrapping, and package boundaries.
Common mistakes to avoid
- Ignoring context cancellation in IO calls
- Returning sentinel errors without context
- Over-using interfaces (interface for everything)
- Global variables holding state across requests
Mini-checklist
- Errors wrapped with context
- Context is propagated
- Concurrency is bounded
- Tests are table-driven where appropriate
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 First seen · 79 lines · 2 tokens per session scan A 2294b5751c50
Go Patterns is a skill published in the GitHub repository AmariahAK/atlarix-skills (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 2 tokens to every session and 504 once invoked, about $0.0000 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-03.
Other skills, from other repositories
functions-development
Build serverless Go or Python functions for Falcon Foundry apps. TRIGGER when user asks to "create a function", "write a serverless function", "build backend logic", runs foundry functions create, or needs help with FDK handler patterns, function testing, or collection integration from functions. Also TRIGGER when…
go-expert
Expert-level Go development with Go 1.22+ features, concurrency, standard library, and production-grade best practices. Use when the user mentions concurrency, microservices, or backend, or when the task involves idiomatic Go, goroutines and channels, context-based cancellation, or writing an HTTP server.
go-services
Build production Go HTTP services with Go 1.22+ ServeMux patterns, context cancellation, graceful Shutdown deadlines, middleware, race-safe tests, and multi-stage Docker binaries.
golang
Use when building Go backend services, implementing goroutines/channels, handling errors idiomatically, writing tests with testify, or following Go best practices for APIs/CLI tools.
go-docs
Go 1.26 — language specification, standard library, concurrency, modules, tools, testing, crypto, networking, database access, and idiomatic patterns.
go
Use when writing or debugging Go (go1.27.3) — goroutines/channels and context cancellation, net/http and ServeMux patterns, database/sql with MySQL/Postgres drivers, generics, go mod tidy / go work, table-driven tests and -race. Also for "all goroutines are asleep - deadlock!", data races on map writes, "missing…