grumpy-gopher

grumpy-gopher is an agent for Claude Code from severity1/claude-agent-sdk-go. It costs 30 tokens per session (2,384 once invoked), scanned A, original, MIT.

A Go code-review agent focused on checking an unofficial Go SDK against its Python SDK counterpart. It also uses a project tracker to verify that changes match planned compatibility work.

In plain words
What is it for?
Use it to review Go SDK changes, compare them with the Python source, and check whether they implement the corresponding tracked change.
Why use it?
It helps catch differences in names, JSON fields, and behavior when maintaining two SDKs with the same interface.

Agent for Claude Code

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 agents/severity1/claude-agent-sdk-go/grumpy-gopher
Clone the repo
git clone --depth 1 https://github.com/severity1/claude-agent-sdk-go

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/severity1/claude-agent-sdk-go/grumpy-gopher.svg)](https://agentmods.dev/agents/severity1/claude-agent-sdk-go/grumpy-gopher)
Your own site
<a href="https://agentmods.dev/agents/severity1/claude-agent-sdk-go/grumpy-gopher"><img src="https://agentmods.dev/badge/agents/severity1/claude-agent-sdk-go/grumpy-gopher.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,384 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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 $0.00030 $0.02384
Opus 5 $0.00015 $0.01192
Sonnet 5 $0.00006 $0.00477
Haiku 4.5 $0.00003 $0.00238

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

Security

Grade A, and why

grumpy-gopher 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.

.claude/agents/grumpy-gopher.md · 197 lines

How it starts

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

PROJECT CONTEXT (Read This First)

This is the Claude Agent SDK for Go - an unofficial Go SDK maintaining 100% parity with the Python SDK at ../claude-agent-sdk-python (sibling directory).

Parity tracker: docs/tracking/README.md - lists every Python SDK PR that needs porting to Go, organized into phases. When reviewing code, check whether the change is porting a specific Python PR and whether it correctly implements the intent described in the tracker notes.

Key parity rules for review:

  • Every feature/fix should trace back to a Python PR in the tracker (or be a Go-specific improvement)
  • Type names, JSON field names, and behavior should match the Python SDK unless there is a clear Go idiom reason to differ
  • When a tracker item says "Add X field with json:\"y\"", verify the json tag is exactly right
  • The Python reference implementation is at ../claude-agent-sdk-python - read the actual source files to verify implementation details, not just the tracker summary notes. The tracker notes are intentionally brief; the Python source is the ground truth.

How to verify against Python SDK:

  1. Find the relevant Python PR number from docs/tracking/README.md
  2. Read the corresponding Python source files in ../claude-agent-sdk-python - key files:
    • src/claude_agent_sdk/types.py - all public type definitions (messages, options, hooks)
    • src/claude_agent_sdk/client.py - public Client interface
    • src/claude_agent_sdk/_internal/client.py - internal client/transport implementation
    • src/claude_agent_sdk/_internal/transport/subprocess_cli.py - subprocess/protocol logic
    • src/claude_agent_sdk/_internal/message_parser.py - message parsing
    • src/claude_agent_sdk/_internal/sessions.py - session management
    • src/claude_agent_sdk/_internal/session_mutations.py - session mutations (rename, tag, etc.)
  3. Compare field names, types, optional vs required, default values, and JSON serialization
  4. Flag any divergence that isn't explained by Go idiom (e.g., pointer vs value for optionals)

Phase status (as of last update):

  • Phase 1 (#1-#8): done in Go PR #117
  • Phase 2 (#9-#20): pending - next up
  • Phases 3-4 (#21-#48): pending

You are Grumpy Gopher, a senior Go engineer who follows a strict two-phase review methodology:

Read the full file on GitHub · 197 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. 3d ago First seen · 197 lines · 30 tokens per session scan A e86c45931c40

Subscribe to this mod's changes

grumpy-gopher is an agent published in the GitHub repository severity1/claude-agent-sdk-go (170 stars, last pushed 2mo ago), licensed MIT. It adds 30 tokens to every session and 2,384 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-08-30.

Related

Other agents, from other repositories

backend-go-engineer

Use this agent when you need to develop, modify, or troubleshoot Go backend code, including API endpoints, database operations, middleware, authentication, or any server-side functionality. Examples: Context: User needs to add a new API endpoint for user preferences. user: 'I need to add an endpoint to save user…

Zettelgarden/Zettelgarden · 204 tokens

go-systems-engineer

Go services with strict concurrency discipline and observability.

hoangsonww/Forge-Agentic-Coding-CLI · 16 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

go-expert

Use this agent as a distinguished Go language authority and domain expert for peer-review-level code review. This agent NEVER writes implementation code — it reviews, critiques, and recommends with language-specific depth that generalist agents miss. Covers concurrency patterns, channel orchestration, interface…

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

Porter

Port a change from the TypeScript reference SDK to the Go and Python SDKs without breaking parity.

leji-org/leji · 2 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-light · 778 tokens