gopher-guides

gopher-guides is a skill for Claude Code, Codex from gopherguides/gopher-ai. It costs 71 tokens per session (1,072 once invoked), scanned B, original, MIT.

A reference service for Gopher Guides' professional Go training materials, accessed through an API. Go is a programming language commonly used for backend services and command-line tools.

In plain words
What is it for?
Checking Go code against Gopher Guides' recommendations and finding training-backed practices, examples, or audits when explicitly requested.
Why use it?
It gives Go code reviews access to the guidance from a specific training provider when general advice is not enough.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the gopher-guides plugin — 2 skills, 1 command shipped together

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.

agentmods
npx agentmods add skills/gopherguides/gopher-ai/gopher-guides
Any agent
npx skills add gopherguides/gopher-ai --skill gopher-guides
Clone the repo
git clone --depth 1 https://github.com/gopherguides/gopher-ai

Made for: Claude Code, Codex.

Or install gopher-guides, the plugin that ships this one along with the rest of its 2 skills, 1 command.

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 gopher-guides

README.md
[![agentmods](https://agentmods.dev/badge/skills/gopherguides/gopher-ai/gopher-guides.svg)](https://agentmods.dev/skills/gopherguides/gopher-ai/gopher-guides)
Your own site
<a href="https://agentmods.dev/skills/gopherguides/gopher-ai/gopher-guides"><img src="https://agentmods.dev/badge/skills/gopherguides/gopher-ai/gopher-guides.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,072 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. Scan, not verified.
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.00071 $0.01072
Opus 5 $0.00036 $0.00536
Sonnet 5 $0.00014 $0.00214
Haiku 4.5 $0.00007 $0.00107

Measured today against content hash 545612ab1f1d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade B, and why

gopher-guides 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 today.

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.

Harvests environment variablesmediumData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

KEY=$(printenv GOPHER_GUIDES_API_KEY) && curl -s -H "Authorization: Bearer $KEY" https://gopherguides.com/api/gopher-ai/me

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

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

**Do NOT use `$VAR` or `${VAR}` shell expansion in curl commands.** Environment variable expansion is unreliable in AI coding assistant shell/bash tools (Claude Code, Codex, etc.). Always use curl's built-in `--variable
plugins/gopher-guides/skills/gopher-guides/SKILL.md · 112 lines

How it starts

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

Gopher Guides Professional Training

Plugin Resource Resolution

<PLUGIN_ROOT> is notation. Replace it with a concrete absolute plugin root before every resource read or command:

  • Codex: Start from the directory containing the absolute selected SKILL.md path, then ascend two directories (skills/<name> -> plugin root).
  • Claude Code: Bind it to the injected ${CLAUDE_PLUGIN_ROOT} value.

Access official Gopher Guides training materials via API for authoritative Go best practices.

Important: Always Use --variable/--expand-header Syntax

Do NOT use $VAR or ${VAR} shell expansion in curl commands. Environment variable expansion is unreliable in AI coding assistant shell/bash tools (Claude Code, Codex, etc.). Always use curl's built-in --variable % and --expand-header syntax instead.

Requires curl 8.3+. If you get unknown option: --variable, see the fallback note at the bottom.

Step 1: Verify API Key

curl -s --variable %GOPHER_GUIDES_API_KEY \
  --expand-header "Authorization: Bearer {{GOPHER_GUIDES_API_KEY}}" \
  https://gopherguides.com/api/gopher-ai/me

On success: Display a brief confirmation to the user, then proceed to Step 2:

  • "✓ Gopher Guides API: Authenticated as {email} ({tier_category} tier)"

On error or missing key: Help the user configure:

  1. Get API key at gopherguides.com
  2. Add to shell profile (~/.zshrc or ~/.bashrc): export GOPHER_GUIDES_API_KEY="your-key"
  3. Restart your terminal/IDE to pick up the new environment variable

Do NOT provide Go advice without a valid, verified API key.

Step 2: Query the API

Use the cache wrapper script for all API calls. It automatically caches responses (24h for practices/examples, 1h for audit/review) to avoid redundant API calls.

The cache wrapper is at <PLUGIN_ROOT>/scripts/cache-api.sh.

For "what's the best way to..." questions

/bin/bash "<PLUGIN_ROOT>/scripts/cache-api.sh" practices '{"topic": "error handling"}'

Read the full file on GitHub · 112 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. today Changed 545612ab1f1d
  2. yesterday Changed · +9 lines c3642f1d70d5
  3. 5d ago First seen · 103 lines · 71 tokens per session scan B 570319e18979

Subscribe to this mod's changes

gopher-guides is a skill published in the GitHub repository gopherguides/gopher-ai (21 stars, last pushed today), licensed MIT. It adds 71 tokens to every session and 1,072 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 2 findings (harvests environment variables, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories