exec-go

exec-go is a skill for Claude Code from anhnguyen0905/codex-mcp. It costs 31 tokens per session (296 once invoked), scanned A, original, MIT.

A guide to writing Go programs, including how to handle errors, structure code, manage concurrent work, and test it.

In plain words
What is it for?
It helps implement Go features, review error handling and goroutines, format code, choose names, and write table-driven tests.
Why use it?
It gives coding agents practical rules for producing Go code that follows common project conventions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the codex-flow plugin — 76 skills, 5 commands, 1 MCP server shipped together

Good fit It helps implement Go features, review error handling and goroutines, format code, choose names, and write table-driven tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anhnguyen0905/codex-mcp/exec-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.

Any agent
npx skills add anhnguyen0905/codex-mcp --skill exec-go
Clone the repo
git clone --depth 1 https://github.com/anhnguyen0905/codex-mcp

Made for: Claude Code.

Or install codex-flow, the plugin that ships this one along with the rest of its 76 skills, 5 commands, 1 MCP server.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/anhnguyen0905/codex-mcp/exec-go"><img src="https://agentmods.dev/badge/skills/anhnguyen0905/codex-mcp/exec-go.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 296 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.00031 $0.00296
Opus 5.5 $0.00012 $0.00118
Sonnet 5.5 $0.00006 $0.00059
Haiku 4.5 $0.00003 $0.00030

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

Security

Grade A, and why

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

skills/exec-go/SKILL.md · 25 lines

What it actually says

Go Idioms (embed when project is Go)

Go standards:
- Errors are values: check every err; wrap with context (`fmt.Errorf("doing x: %w", err)`);
  no panic in library code — reserve it for truly unrecoverable programmer errors.
- Accept interfaces, return concrete types; keep interfaces small and defined where consumed.
- Concurrency: every goroutine has a clear owner and exit path (context cancellation, closed
  channel, WaitGroup) — no fire-and-forget leaks; guard shared state with mutex or channels,
  never both ad hoc; pass context.Context as the first parameter through call chains.
- Zero values matter: design structs whose zero value is usable, or provide a constructor.
- defer for cleanup immediately after acquiring the resource.
- Follow gofmt (non-negotiable), golangci-lint if configured, and standard layout the repo
  already uses (cmd/, internal/, pkg/).
- Naming: short receiver names, MixedCaps not underscores, exported identifiers documented with
  a leading-name comment.
- Tests: table-driven with subtests (t.Run), t.Helper() in helpers; use the repo's assertion
  style (stdlib vs testify) — don't introduce a new one.
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 · 25 lines · 31 tokens per session scan A 4bd271633cec

Subscribe to this mod's changes

exec-go is a skill published in the GitHub repository anhnguyen0905/codex-mcp (4 stars, last pushed 7d ago), licensed MIT. It adds 31 tokens to every session and 296 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-31.

Related

exec-go compared with skills from other repositories

exec-go next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
exec-goanhnguyen0905/codex-mcpSkill47d agoMITA31Claude Code
go-reviewrikdc/ai-skillsSkill21mo agoMPL-2.0A38Claude Code
clean-code-goCassetteTapeCrackle/claude-startersSkill11mo agoMITA34Claude Code
google-go-stylecicdteam/google-go-styleSkill86mo agoApache-2.0A110Claude Code
golang-patternsjdanigo/hydraiaSkill82mo agoMITA27Claude Code
pr-to-go-lintergithub/gh-awSkill5.8ktodayMITA22Claude Code, Codex
review-rustexistential-birds/beagleSkill922d agoApache-2.0A47Claude Code, Codex