go-expert

go-expert is a skill for Claude Code, Codex from ApexIQ/skillsmith. It costs 38 tokens per session (2,132 once invoked), scanned A, original, MIT.

A guide to writing and reviewing Go code, where Go is a programming language often used for services and command-line tools. It covers error handling, concurrency, project structure, tests, and benchmarks.

In plain words
What is it for?
Use it when building or reviewing Go services and command-line tools, designing concurrent code, structuring projects, writing tests, or measuring performance.
Why use it?
It helps keep Go programs clear and maintainable while avoiding ignored errors, race conditions, and leaked background tasks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when building or reviewing Go services and command-line tools, designing concurrent code, structuring projects, writing tests, or measuring performance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/apexiq/skillsmith/go_expert
Install

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.

Any agent
npx skills add ApexIQ/skillsmith --skill go_expert
Clone the repo
git clone --depth 1 https://github.com/ApexIQ/skillsmith

Made for: Claude Code, Codex.

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 go-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/apexiq/skillsmith/go_expert/github.svg)](https://agentmods.dev/skills/apexiq/skillsmith/go_expert)
Your own site
<a href="https://agentmods.dev/skills/apexiq/skillsmith/go_expert"><img src="https://agentmods.dev/badge/skills/apexiq/skillsmith/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.

agentmods 80×15 button for go-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/apexiq/skillsmith/go_expert"><img src="https://agentmods.dev/badge/skills/apexiq/skillsmith/go_expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,132 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.00038 $0.02132
Opus 5.5 $0.00015 $0.00853
Sonnet 5.5 $0.00008 $0.00426
Haiku 4.5 $0.00004 $0.00213

Measured 3mo ago against content hash 4cc2e2f6646c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 3mo 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.

.agent/skills/go_expert/SKILL.md · 317 lines

How it starts

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

🔷 Go Expert — Production-Grade Go

Philosophy: Go is about simplicity and clarity. If your Go code is clever, it's wrong. Write boring, obvious code that any engineer can debug at 2 AM.

1. When to Use This Skill

  • Writing new Go services or CLI tools
  • Reviewing Go code for idioms and best practices
  • Designing concurrent systems with goroutines
  • Structuring Go projects for maintainability
  • Writing effective Go tests and benchmarks
  • Debugging Go-specific issues (goroutine leaks, race conditions)

2. Go Idioms

Error Handling — The Go Way

// GOOD: Check errors immediately, add context
user, err := db.GetUser(ctx, userID)
if err != nil {
    return fmt.Errorf("get user %s: %w", userID, err)
}

// GOOD: Custom error types for programmatic handling
type NotFoundError struct {
    Resource string
    ID       string
}

func (e *NotFoundError) Error() string {
    return fmt.Sprintf("%s not found: %s", e.Resource, e.ID)
}

// Check error type
var nfe *NotFoundError
if errors.As(err, &nfe) {
    http.Error(w, nfe.Error(), http.StatusNotFound)
    return
}

// BAD: Ignoring errors
user, _ := db.GetUser(ctx, userID) // Bug waiting to happen

// BAD: Generic error without context
if err != nil {
    return err // Which step failed? Nobody knows.
}

Interfaces — Accept Interfaces, Return Structs

// GOOD: Small, focused interface
type UserStore interface {
    GetUser(ctx context.Context, id string) (*User, error)
    CreateUser(ctx context.Context, u *User) error
}

// GOOD: Concrete struct that implements the interface
type PostgresUserStore struct {
    db *sql.DB
}

func (s *PostgresUserStore) GetUser(ctx context.Context, id string) (*User, error) {
    // Implementation
}

// GOOD: Function accepts interface
func NewUserService(store UserStore) *UserService {
    return &UserService{store: store}
}

// BAD: Interface with 20 methods — too broad
type Repository interface {
    GetUser(...) ...
    CreateUser(...) ...
    DeleteUser(...) ...
    GetTeam(...) ...
    // ... 16 more methods
}

Read the full file on GitHub · 317 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. 3mo ago First seen · 317 lines · 38 tokens per session scan A 4cc2e2f6646c

Subscribe to this mod's changes

go-expert is a skill published in the GitHub repository ApexIQ/skillsmith (5 stars, last pushed 8mo ago), licensed MIT. It adds 38 tokens to every session and 2,132 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-08-31.

Related

go-expert compared with skills from other repositories

go-expert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
go-expertApexIQ/skillsmithSkill58mo agoMITA38Claude Code, Codex
adept-contributingitaywol/adeptabilitySkill94mo agoMITA48Claude Code
adept-code-styleitaywol/adeptabilitySkill94mo agoMITA53Claude Code
concurrency-patterns-goVersoXBT/claude-initial-setupSkill46mo agoMITA60Claude Code
error-handling-goVersoXBT/claude-initial-setupSkill46mo agoMITA61Claude Code
idiomatic-goVersoXBT/claude-initial-setupSkill46mo agoMITA52Claude Code
hns-moaiadk-best-practicesmodu-ai/moai-adkSkill1.3ktodayApache-2.0A129Claude Code