golang-patterns

golang-patterns is a skill for Claude Code from Nmor/the-claude-council. It costs 27 tokens per session (9,092 once invoked), scanned B, original, no licence file.

A guide to idiomatic Go code: patterns and conventions that fit how the Go language is normally used. It focuses on robust, efficient, and maintainable applications.

In plain words
What is it for?
Use it when designing Go application structure, reviewing implementation choices, or improving reliability and efficiency.
Why use it?
It helps you avoid awkward or fragile Go code and make projects easier to maintain.

Skill for Claude Code

Written for Claude Code: paths in frontmatter.

Good fit Use it when designing Go application structure, reviewing implementation choices, or improving reliability and efficiency.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nmor/the-claude-council/golang-patterns
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 Nmor/the-claude-council --skill golang-patterns
Clone the repo
git clone --depth 1 https://github.com/Nmor/the-claude-council

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-patterns

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nmor/the-claude-council/golang-patterns"><img src="https://agentmods.dev/badge/skills/nmor/the-claude-council/golang-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,092 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00027 $0.09092
Opus 5 $0.00014 $0.04546
Sonnet 5 $0.00005 $0.01818
Haiku 4.5 $0.00003 $0.00909

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

Security

Grade B, and why

golang-patterns scanned grade B with 2 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 5d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Configure in `~/.claude/settings.json`:

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

data, _ := fetch(url)
skills/golang-patterns/SKILL.md · 1,429 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 5d ago Changed cc9183a5ac43
  2. 8d ago First seen · 1,429 lines · 27 tokens per session scan B 351bc59b4984

Subscribe to this mod's changes

golang-patterns is a skill published in the GitHub repository Nmor/the-claude-council (9 stars, last pushed 4d ago), with no licence file. It adds 27 tokens to every session and 9,092 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

go-code-reviewer

Review Go code with a defect-first approach using repository policy (constitution.md first, then AGENTS.md fallback). Use for code review, PR review, quality checks, risk analysis, and regression detection.

johnqtcg/awesome-skills · 45 tokens

go-review-lead

Orchestrate a comprehensive Go code review by triaging code changes, dispatching vertical review skills (security, concurrency, error, logic, performance, quality, test, observability) as parallel agents, then consolidating results into a unified report. Use for full Go PR review or comprehensive code review. Replaces…

johnqtcg/awesome-skills · 80 tokens

go-concurrency-review

Review Go code for concurrency safety and goroutine lifecycle issues including race conditions, deadlocks, goroutine leaks, mutex misuse, and context propagation. Trigger when code contains go func, channels, sync primitives, WaitGroup, errgroup, or goroutine lifecycle management. Use for concurrency-focused review of…

johnqtcg/awesome-skills · 67 tokens

go-error-review

Review Go code for error handling correctness, nil safety, and failure-path integrity including ignored errors, missing wrapping, panic misuse, SQL/HTTP resource lifecycle, and transaction patterns. Trigger when code contains error returns, panic calls, sql.Rows, transactions, HTTP client/server code, or nil-sensitive…

johnqtcg/awesome-skills · 75 tokens

go-performance-review

Review Go code for performance issues including slice/map pre-allocation, string concatenation, N+1 queries, connection pool configuration, sync.Pool, memory alignment, lock scope, buffered I/O, and HTTP transport tuning. Trigger when code contains make(), loops, database queries, string building, sync primitives…

johnqtcg/awesome-skills · 80 tokens

go-quality-review

Review Go code for code quality, style, and modern Go practices including function length, nesting depth, naming, mutable globals, interface design, receiver consistency, modern Go idioms (slog, generics, typed atomics), and static analysis. Trigger when reviewing Go code structure, readability, or maintainability.…

johnqtcg/awesome-skills · 79 tokens