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 Miaoge-Ge/coding-agent-skills --skill go-expertgit clone --depth 1 https://github.com/Miaoge-Ge/coding-agent-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/miaoge-ge/coding-agent-skills/go-expert)<a href="https://agentmods.dev/skills/miaoge-ge/coding-agent-skills/go-expert"><img src="https://agentmods.dev/badge/skills/miaoge-ge/coding-agent-skills/go-expert/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/miaoge-ge/coding-agent-skills/go-expert"><img src="https://agentmods.dev/badge/skills/miaoge-ge/coding-agent-skills/go-expert.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.00083 | $0.01090 |
| Opus 5 | $0.00042 | $0.00545 |
| Sonnet 5 | $0.00017 | $0.00218 |
| Haiku 4.5 | $0.00008 | $0.00109 |
Grade A, and why
go-expert 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 9d 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 — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Go Expert
Clear is better than clever. Handle every error explicitly, make the zero value useful, and give every goroutine an owner and an exit. "Share memory by communicating," but a
Mutexis fine for protecting state.
When to Use
- Writing or refactoring Go.
- Designing concurrent code (goroutines, channels,
context,select). - Data races, deadlocks, goroutine leaks, or context propagation bugs.
- Package layout, interfaces, and standard-library usage.
When NOT to Use
- Other languages → the relevant language skill.
- System-level architecture →
software-architect.
Core Principles
1. Errors are explicit values
- Check immediately:
if err != nil { return fmt.Errorf("doing X: %w", err) }. Wrap with%wto preserve the chain; inspect witherrors.Is(sentinel) /errors.As(typed). - Add context at each layer ("opening config: …") but don't double-log the same error. Return errors up; log once at the boundary.
- Panic only for truly unrecoverable programmer errors, never for normal control flow.
2. Interfaces & types
- Accept interfaces, return concrete types. Keep interfaces small (often one method) and define them in the consumer package, not the producer.
- Make the zero value useful (
sync.Mutex,bytes.Bufferwork unboxed). Usedeferfor cleanup (close/unlock) right after acquisition.
3. Concurrency with ownership
- Every goroutine needs a clear lifetime and exit path — leaks are silent. Use
sync.WaitGrouporerrgroupto wait, and bound concurrency (errgroup.SetLimit, worker pool, semaphore). context.Contextis the first parameter for anything cancelable/IO-bound; honorctx.Done(). Never store a Context in a struct.- Channels for handoff/signaling;
Mutexfor protecting shared state. Close a channel from the sender, once. Preferselectwithctxfor cancelable waits.
4. Tooling & structure
gofmt(non-negotiable),go vet,golangci-lint. Always test concurrent code with-race.- Organize by capability; keep private code under
internal/. Avoid premature interfaces and needless abstraction.
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.
- 9d ago First seen · 85 lines · 83 tokens per session scan A 6e66b1b6b456
go-expert is a skill published in the GitHub repository Miaoge-Ge/coding-agent-skills (5 stars, last pushed 3mo ago), licensed MIT. It adds 83 tokens to every session and 1,090 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-31.
Other skills, from other repositories
telnyx-numbers-go
Search, order, and manage phone numbers by location, features, and coverage.
pn-go-scaffolding
Scaffolds new Go API projects (Gin, Fiber, Echo, Chi) or handlers. Use when adding a new route/module; covers idiomatic project layout, env/secrets, error handling, and Go-specific conventions.
go-core
Go implementation guidance — stack-specific. Covers project structure, idiomatic patterns, testing, security, and observability for Go backend services and CLIs. Use when the user asks about Go-specific structure, error handling, concurrency, testing strategy, or production reliability. Invoke via @go-core after…
telnyx-messaging-go
Send and receive SMS/MMS, handle opt-outs and delivery webhooks. Use for notifications, 2FA, or messaging apps.
telnyx-porting-out-go
Manage port-out requests when numbers are being ported away from Telnyx. List, view, and update port-out status. This skill provides Go SDK examples.
telnyx-account-go
Manage account balance, payments, invoices, webhooks, and view audit logs and detail records. This skill provides Go SDK examples.