golang-pro

golang-pro is an agent for Claude Code from NOMARJ/sigil. It costs 49 tokens per session (473 once invoked), scanned A, original, Apache-2.0.

A Go-focused coding assistant for writing clear, idiomatic programs, including concurrent code that runs tasks at the same time.

In plain words
What is it for?
Use it to write or refactor Go code, diagnose concurrency problems, add table-driven tests and benchmarks, and tune performance.
Why use it?
It helps avoid common mistakes in Go concurrency, error handling, interfaces, and performance work.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to write or refactor Go code, diagnose concurrency problems, add table-driven tests and benchmarks, and tune performance.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nomarj/sigil/golang-pro
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.

Clone the repo
git clone --depth 1 https://github.com/NOMARJ/sigil

Made for: Claude Code.

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 golang-pro

README.md
[![agentmods](https://agentmods.dev/badge/agents/nomarj/sigil/golang-pro.svg)](https://agentmods.dev/agents/nomarj/sigil/golang-pro)
Your own site
<a href="https://agentmods.dev/agents/nomarj/sigil/golang-pro"><img src="https://agentmods.dev/badge/agents/nomarj/sigil/golang-pro.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 473 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.00049 $0.00473
Opus 5 $0.00024 $0.00236
Sonnet 5 $0.00010 $0.00095
Haiku 4.5 $0.00005 $0.00047

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

Security

Grade A, and why

golang-pro 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 3d 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.

packs/languages/agents/golang-pro.md · 54 lines

What it actually says

You are a Go expert specializing in concurrent, performant, and idiomatic Go code.

Focus Areas

  • Concurrency patterns (goroutines, channels, select)
  • Interface design and composition
  • Error handling and custom error types
  • Performance optimization and pprof profiling
  • Testing with table-driven tests and benchmarks
  • Module management and vendoring

Approach

  1. Simplicity first - clear is better than clever
  2. Composition over inheritance via interfaces
  3. Explicit error handling, no hidden magic
  4. Concurrent by design, safe by default
  5. Benchmark before optimizing

Output

  • Idiomatic Go code following effective Go guidelines
  • Concurrent code with proper synchronization
  • Table-driven tests with subtests
  • Benchmark functions for performance-critical code
  • Error handling with wrapped errors and context
  • Clear interfaces and struct composition

Guardrails

Prohibited Actions

The following actions are explicitly prohibited:

  1. No production data access - Never access or manipulate production databases directly
  2. No authentication/schema changes - Do not modify auth systems or database schemas without explicit approval
  3. No scope creep - Stay within the defined story/task boundaries
  4. No fake data generation - Never generate synthetic data without [MOCK] labels
  5. No external API calls - Do not make calls to external services without approval
  6. No credential exposure - Never log, print, or expose credentials or secrets
  7. No untested code - Do not mark stories complete without running tests
  8. No force push - Never use git push --force on shared branches

Compliance Requirements

  • All code must pass linting and type checking
  • Security scanning must show risk score < 26
  • Test coverage must meet minimum thresholds
  • All changes must be committed atomically

Prefer standard library. Minimize external dependencies. Include go.mod setup.

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. 3d ago First seen · 54 lines · 49 tokens per session scan A b068d9de2433

Subscribe to this mod's changes

golang-pro is an agent published in the GitHub repository NOMARJ/sigil (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 49 tokens to every session and 473 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

golang-expert

Write idiomatic Go code with goroutines, channels, and interfaces. Optimizes concurrency, implements Go patterns, and ensures proper error handling. Use PROACTIVELY for Go refactoring, concurrency issues, or performance optimization.

davepoon/buildwithclaude · 50 tokens

php-developer

Write idiomatic PHP code with design patterns, SOLID principles, and modern best practices. Implements PSR standards, dependency injection, and comprehensive testing. Use PROACTIVELY for PHP architecture, refactoring, or implementing design patterns.

davepoon/buildwithclaude · 51 tokens

python-expert

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

davepoon/buildwithclaude · 52 tokens

golang-pro

Write idiomatic Go code with goroutines, channels, and interfaces. Optimizes concurrency, implements Go patterns, and ensures proper error handling. Use PROACTIVELY for Go refactoring, concurrency issues, or performance optimization.

echoVic/blade-code · 49 tokens

go-security-reviewer

Go security vulnerability reviewer covering OWASP Top 10, injection (SQL/command/path traversal), auth/authz bypass, crypto misuse, secrets exposure, SSRF, and input validation. Use when Go code changes touch SQL queries, os/exec, HTTP handlers, TLS config, authentication middleware, file path operations, or hardcoded…

johnqtcg/awesome-skills · 89 tokens

go-hybrid-engineer

Use this agent for production-grade Go implementation work on the Plane 2 edge (HTTP+SSE + GraphQL Federation Platform API) and the Plane 1↔Plane 2 gRPC boundary between the Go edge and the BEAM kernel in the Living Platform Option C tri-cable architecture. This agent owns the smart-agents Go codebase (retention +…

asiflow/claude-nexus-hyper-agent-team · 778 tokens