aio-golang-mastery

aio-golang-mastery is a skill for Claude Code from aiocean/claude-plugins. It costs 111 tokens per session (4,003 once invoked), scanned A, original, MIT.

A guide for writing, reviewing, and linting Go code. Go is a programming language commonly used for services, command-line tools, and networked software.

In plain words
What is it for?
Use it to develop or review Go projects, including code that uses concurrency, generics, testing, or gRPC.
Why use it?
It checks code for build failures, suspicious patterns, known dependency vulnerabilities, possible nil errors, unused code, and data races, then supports idiomatic fixes.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is CGO_ENABLED=0 go build -o app ./cmd/server.

Part of the aio-golang-mastery plugin — 1 skill shipped together

Good fit Use it to develop or review Go projects, including code that uses concurrency, generics, testing, or gRPC.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/aiocean/claude-plugins
agentmods
npx agentmods add skills/aiocean/claude-plugins/aio-golang-mastery

Made for: Claude Code.

Or install aio-golang-mastery, the plugin that ships this one along with the rest of its 1 skill.

Wrote 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.

agentmods badge for aio-golang-mastery

README.md
[![agentmods](https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-golang-mastery/github.svg)](https://agentmods.dev/skills/aiocean/claude-plugins/aio-golang-mastery)
Your own site
<a href="https://agentmods.dev/skills/aiocean/claude-plugins/aio-golang-mastery"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-golang-mastery/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.

agentmods 80×15 button for aio-golang-mastery

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiocean/claude-plugins/aio-golang-mastery"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-golang-mastery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,003 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00111 $0.04003
Opus 5 $0.00056 $0.02001
Sonnet 5 $0.00022 $0.00801
Haiku 4.5 $0.00011 $0.00400

Measured 6d ago against content hash 475ab3d88389, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

aio-golang-mastery 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 6d 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.

plugins/aio-golang-mastery/skills/aio-golang-mastery/SKILL.md · 416 lines

How it starts

The opening of the file, as written. The whole thing — 416 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Go Mastery

Environment

  • go: !go version 2>/dev/null || echo "NOT INSTALLED"
  • golangci-lint: !golangci-lint version --short 2>/dev/null || echo "NOT INSTALLED"
  • govulncheck: !which govulncheck 2>/dev/null || echo "NOT INSTALLED"

Lint Mode (when user has Go code to review)

Use this mode to systematically lint and fix a Go codebase using the full tooling chain.

Step 1: RUN

Execute the 7-step tooling chain in order. Capture all output:

go build ./...                    # 1. Compilation errors
go vet ./...                      # 2. Suspicious constructs
golangci-lint run ./...           # 3. Style, bugs, performance, security
govulncheck ./...                 # 4. Known CVEs in deps
nilaway ./...                     # 5. Nil pointer dereference detection
deadcode ./...                    # 6. Unreachable functions
go test -race -count=1 ./...     # 7. Data races

Skip any tool that is not installed (check Environment above) and note it in the report.

Step 2: ANALYZE

Parse all tool output and group findings:

Severity Source Examples
Critical govulncheck, race detection Known CVEs, data races
High go vet, nilaway Nil derefs, printf mismatches, suspicious constructs
Medium golangci-lint Style violations, inefficient code, unchecked errors
Low deadcode Unused functions (safe to remove)

Step 3: FIX

For each finding, apply the idiomatic Go fix using the reference patterns below. Prioritize critical and high severity first. Common fix mappings:

  • Unchecked error -> add explicit if err != nil handling
  • Nil deref -> add nil guard or restructure control flow
  • Race condition -> add mutex, use atomic, or redesign with channels
  • Dead code -> remove or gate behind build tag
  • CVE -> update dependency with go get pkg@latest

Step 4: VERIFY

Re-run the full tooling chain to confirm all fixes. Repeat Step 3 for any remaining findings.


Reference Mode (patterns and knowledge)

Read the full file on GitHub · 416 lines

Changes

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.

  1. 6d ago First seen · 416 lines · 111 tokens per session scan A 475ab3d88389

Subscribe to this mod's changes

aio-golang-mastery is a skill published in the GitHub repository aiocean/claude-plugins (4 stars, last pushed 7d ago), licensed MIT. It adds 111 tokens to every session and 4,003 once invoked, about $0.0006 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-03.