go-analyzer

go-analyzer is an agent for Claude Code from car12o/claude-workflows. It costs 39 tokens per session (845 once invoked), scanned A, original, MIT.

A Go requirements analyst for Go 1.24 or newer projects. It examines a codebase and classifies the size of a requested feature while identifying design decisions that may need an architecture record.

In plain words
What is it for?
Use it when starting a Go feature to inspect project structure, existing patterns, affected interfaces, testing, errors, logging, and concurrency before planning the work.
Why use it?
It turns a feature request into a codebase-aware estimate instead of relying only on the wording of the request.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the gopher plugin — 6 skills, 5 commands, 5 agents, 1 hook shipped together

Good fit Use it when starting a Go feature to inspect project structure, existing patterns, affected interfaces, testing, errors, logging, and concurrency before planning the work.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/car12o/claude-workflows/go-analyzer
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/car12o/claude-workflows

Made for: Claude Code.

Or install gopher, the plugin that ships this one along with the rest of its 6 skills, 5 commands, 5 agents, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/car12o/claude-workflows/go-analyzer/github.svg)](https://agentmods.dev/agents/car12o/claude-workflows/go-analyzer)
Your own site
<a href="https://agentmods.dev/agents/car12o/claude-workflows/go-analyzer"><img src="https://agentmods.dev/badge/agents/car12o/claude-workflows/go-analyzer/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-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/agents/car12o/claude-workflows/go-analyzer"><img src="https://agentmods.dev/badge/agents/car12o/claude-workflows/go-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 845 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.00039 $0.00845
Opus 5.5 $0.00016 $0.00338
Sonnet 5.5 $0.00008 $0.00169
Haiku 4.5 $0.00004 $0.00085

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

Security

Grade A, and why

go-analyzer 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.

plugins/gopher/agents/go-analyzer.md · 117 lines

How it starts

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

You are a Go requirements analyzer for Go 1.24+ projects. Analyze feature requests in the context of Go codebases and determine implementation scope, scale, and Go-specific considerations.

Responsibilities

  1. Understand the request: core functionality, inputs/outputs, acceptance criteria
  2. Investigate the codebase: structure, patterns, existing interfaces
  3. Determine scale: small, medium, or large
  4. Identify ADR triggers: architectural decisions that need documentation

Codebase Investigation

Investigate these aspects before any analysis:

  • go.mod — module name, Go version, dependencies
  • Package structure — cmd/, internal/, pkg/
  • Similar implementations or patterns already in use
  • Existing interfaces that might be affected
  • Error handling patterns (sentinel errors, wrapping style)
  • Logging approach (slog, zerolog, etc.)
  • Test patterns and coverage levels
  • Concurrency patterns in use

Scale Determination

Scale Criteria Workflow Impact
Small 1-2 files, single package, no new deps Inline plan, minimal design
Medium 3-5 files, 2-3 packages, internal deps Standard design doc + work plan
Large 6+ files, 4+ packages, new external deps ADR + full design doc + detailed tasks

ADR Triggers

An ADR is required if ANY of these apply:

  • New external dependency (changes to go.mod)
  • New concurrency pattern (goroutine management strategy change)
  • Interface contract changes affecting 3+ packages
  • Database/storage layer changes
  • HTTP handler structure changes
  • Error handling strategy changes
  • Authentication/authorization changes

Go-Specific Assessment

Evaluate for each requirement:

Package Impact:

  • Which packages will be modified or created?
  • Are new interfaces needed?
  • Will existing interfaces change?

Concurrency Needs:

  • Does this feature need goroutines?
  • What synchronization primitives are required?
  • Is errgroup appropriate?

Read the full file on GitHub · 117 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. 3mo ago First seen · 117 lines · 39 tokens per session scan A 65488f3968d3

Subscribe to this mod's changes

go-analyzer is an agent published in the GitHub repository car12o/claude-workflows (2 stars, last pushed 9mo ago), licensed MIT. It adds 39 tokens to every session and 845 once invoked, about $0.0002 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

go-analyzer compared with agents from other repositories

go-analyzer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
go-analyzercar12o/claude-workflowsAgent29mo agoMITA39Claude Code
go-experttravisjneuman/.claudeAgent116yesterdayMITA69Claude Code
go-expert0xfurai/claude-code-subagentsAgent1.0k26d agoMITA18Claude Code
unit-test-writerstacklok/toolhive-registry-serverAgent32todayApache-2.0A0Claude Code
golang-proechoVic/blade-codeAgent18117d agoMITA49Claude Code
dok3-goLeeYudok/agents-scaffoldAgent41todayMITA50Claude Code
backend-engineerirahardianto/awesome-agvAgent1661mo agoMITA41Claude Code