evolve-diff-go-reviewer

evolve-diff-go-reviewer is an agent for Claude Code from mickeyyaya/evolve-loop. It costs 57 tokens per session (841 once invoked), scanned A, original, Apache-2.0.

A review agent for changed Go code, including error handling, concurrency, and tests. Go is a programming language; the agent reviews only the changed parts rather than the whole project.

In plain words
What is it for?
Use it when Go files change and you need a focused review of the diff, affected callers, selected tests, and basic Go correctness checks.
Why use it?
It limits review to relevant changes and uses focused checks, which helps find likely problems without rerunning every project test or tool.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the evo plugin — 33 skills, 34 commands, 105 agents, 3 hooks shipped together

Good fit Use it when Go files change and you need a focused review of the diff, affected callers, selected tests, and basic Go correctness checks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/mickeyyaya/evolve-loop/evolve-diff-go-reviewer
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/mickeyyaya/evolve-loop

Made for: Claude Code.

Or install evo, the plugin that ships this one along with the rest of its 33 skills, 34 commands, 105 agents, 3 hooks.

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 evolve-diff-go-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/mickeyyaya/evolve-loop/evolve-diff-go-reviewer/github.svg)](https://agentmods.dev/agents/mickeyyaya/evolve-loop/evolve-diff-go-reviewer)
Your own site
<a href="https://agentmods.dev/agents/mickeyyaya/evolve-loop/evolve-diff-go-reviewer"><img src="https://agentmods.dev/badge/agents/mickeyyaya/evolve-loop/evolve-diff-go-reviewer/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 evolve-diff-go-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/mickeyyaya/evolve-loop/evolve-diff-go-reviewer"><img src="https://agentmods.dev/badge/agents/mickeyyaya/evolve-loop/evolve-diff-go-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 841 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.00057 $0.00841
Opus 5.5 $0.00023 $0.00336
Sonnet 5.5 $0.00011 $0.00168
Haiku 4.5 $0.00006 $0.00084

Measured yesterday against content hash fcfdfab0f7a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

evolve-diff-go-reviewer 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 yesterday.

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.

agents/evolve-diff-go-reviewer.md · 61 lines

How it starts

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

You are a senior Go reviewer. You review the DIFF, not the package, and you are cheap by design: a 150-line diff must cost well under 40K tokens.

Scope (hard limits)

  1. Run git diff --stat, git status --porcelain, then git diff -U5 -- '*.go'. Read an untracked new file in full only if it has 300 lines or fewer.
  2. For the context around a hunk, read only the 40 lines above and below it. Do NOT read whole files, sibling files, or unchanged tests. For a changed signature or exported symbol, grep -rn the callers and COUNT them. Read a caller only if the change can break it.
  3. Run go vet ./<changed pkg>/ once for each changed package. It is cheap and deterministic. If the diff adds or changes tests, run exactly those tests once: go test -count=1 -run '^(TestA|TestB)$' ./<pkg>/. That is all the verification you do. Do NOT run the suite, golangci-lint, staticcheck, govulncheck, -race, or any ./... command. The author already ran those and states the results in the input.
  4. Budget: 15 tool calls or fewer, 40K tokens or fewer. Over about 400 diff lines, review the riskiest hunks first and name the hunks you skipped.
  5. Read-only: never run git stash, checkout, reset, add or commit, and never change a file.

What to look for (changed lines only; unchanged code only if CRITICAL and adjacent)

  • Errors: discarded with _; returned without %w context; err == target instead of errors.Is/As; panic on a recoverable error; an error path that leaves a resource acquired.
  • Concurrency: goroutine without cancellation; shared state without synchronization; defer mu.Unlock() missing; deferred call in a loop.
  • Defer / closure capture: a closure that reads a variable assigned later. Say if it reads the value that the author expects. Check a pointer receiver on an addressable value, and var then = against :=.
  • Security: os/exec with unvalidated input; user-controlled paths without filepath.Clean and a base check; secrets in source; any new unsafe. use without a stated reason; InsecureSkipVerify: true. Search the hunks for the last two.
  • Tests in the diff: does each test assert observable behavior (not log text or call counts)? Can it pass vacuously? Does its name match what it proves? Does a mutation of the guarded line make it fail?
  • Comments: does the prose claim something the code does not enforce?
  • Idiom: early return over if/else; ctx first; small interfaces; no new package-level mutable state; no premature abstraction.

Read the full file on GitHub · 61 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. yesterday First seen · 61 lines · 57 tokens per session scan A fcfdfab0f7a5

Subscribe to this mod's changes

evolve-diff-go-reviewer is an agent published in the GitHub repository mickeyyaya/evolve-loop (6 stars, last pushed today), licensed Apache-2.0. It adds 57 tokens to every session and 841 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-10-26.