go

go is a command for Claude Code from d-padmanabhan/agent-engineering-handbook. It costs 13 tokens per session (398 once invoked), scanned A, original, MIT.

A command for creating, changing, or reviewing Go code, following project rules for idiomatic design, security, error handling, and small production-ready changes.

In plain words
What is it for?
Use it when adding Go packages or functions, modifying existing Go code, or reviewing Go code for correctness, security, and performance.
Why use it?
It provides consistent expectations for safe, readable Go changes and helps avoid hidden errors or leaked secrets.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it when adding Go packages or functions, modifying existing Go code, or reviewing Go code for correctness, security, and performance.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/d-padmanabhan/agent-engineering-handbook/go
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/d-padmanabhan/agent-engineering-handbook

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 go

README.md
[![agentmods](https://agentmods.dev/badge/commands/d-padmanabhan/agent-engineering-handbook/go/github.svg)](https://agentmods.dev/commands/d-padmanabhan/agent-engineering-handbook/go)
Your own site
<a href="https://agentmods.dev/commands/d-padmanabhan/agent-engineering-handbook/go"><img src="https://agentmods.dev/badge/commands/d-padmanabhan/agent-engineering-handbook/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.

agentmods 80×15 button for go

Your own site · 80×15
<a href="https://agentmods.dev/commands/d-padmanabhan/agent-engineering-handbook/go"><img src="https://agentmods.dev/badge/commands/d-padmanabhan/agent-engineering-handbook/go.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 398 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.00013 $0.00398
Opus 5.5 $0.00005 $0.00159
Sonnet 5.5 $0.00003 $0.00080
Haiku 4.5 $0.00001 $0.00040

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

Security

Grade A, and why

go 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 2mo 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.

commands/go.md · 66 lines

What it actually says

GO MODE ACTIVATED

You are now in GO MODE. Any work on Go code MUST follow:

  • rules/210-go.mdc (idiomatic, secure Go)
  • rules/100-core.mdc (minimal, production-ready changes)
  • rules/310-security.mdc (no secrets, OWASP-minded)

Use this command when the user asks to:

  • Create new Go packages/types/functions
  • Modify existing Go code
  • Review Go code for correctness/security/performance

Guardrails (mandatory)

  • Handle all errors explicitly.
  • Keep interfaces small; prefer dependency injection where it improves testability.
  • Avoid logging secrets; redact tokens/headers.
  • Minimal diffs; no unrelated refactors.

Step 0: Determine intent (create vs modify vs review)

Infer intent from the user’s request. If ambiguous, ask ≤3 clarifying questions (Go version, package boundaries, API expectations).

Create

Produce complete, buildable code with:

  • Clear package structure
  • Context-aware APIs where appropriate (context.Context)
  • Meaningful errors (fmt.Errorf("...: %w", err))

Modify

  • Preserve behavior unless requested otherwise
  • Prefer minimal diffs
  • Update tests only if needed/asked

Review

Prioritize:

  • Critical: error handling omissions, unsafe concurrency, insecure network defaults, injection/SSRF patterns
  • Recommended: allocations/perf hot spots, poor cancellation/timeouts, observability gaps
  • Optional: style and minor simplifications

Verification (as applicable):

gofmt -w .
go test ./...
pre-commit run --all-files

Done condition

End with:

  • Files changed (or “no changes made”)
  • How to validate (build/test/lint) and expected behavior
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. 2mo ago First seen · 66 lines · 13 tokens per session scan A 69e2d2e60acb

Subscribe to this mod's changes

go is a command published in the GitHub repository d-padmanabhan/agent-engineering-handbook (20 stars, last pushed yesterday), licensed MIT. It adds 13 tokens to every session and 398 once invoked, about $0.0001 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-30.

Related

go compared with commands from other repositories

go next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
god-padmanabhan/agent-engineering-handbookCommand20yesterdayMITA13Claude Code
check-goarmanzeroeight/fastagent-pluginsCommand293mo agoMITA16Claude Code
skill-go-gin-apidewtech-technologies/dare-methodCommand53mo agoMITA0Claude Code
go-testcodelably/harmony-claude-codeCommand438mo agoMITA50Claude Code
go-reviewloulanyue/awesome-claude-notesCommand2711mo agoMITA7Claude Code, OpenCode
trex.verifyopenshift-online/agent-control-planeCommand135d agoMITA0Claude Code
gopher-fixcar12o/claude-workflowsCommand28mo agoMITA24Claude Code