peer-go-reviewer

peer-go-reviewer is an agent for Claude Code from hazarsozer/crucible-cc. It costs 24 tokens per session (9,546 once invoked), scanned B, original, MIT.

A code reviewer for Go programs, focused on idiomatic code, errors, and concurrent work. Go is a programming language with built-in support for running tasks at the same time.

In plain words
What is it for?
It is for reviewing Go changes involving errors, database rows, contexts, goroutines, and receiver choices.
Why use it?
It catches issues that formatting, basic checks, and static analysis may miss, such as lost error context, unchecked database errors, and goroutines that never stop.

Agent for Claude Code

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

Part of the crucible plugin — 3 skills, 25 agents shipped together

Good fit It is for reviewing Go changes involving errors, database rows, contexts, goroutines, and receiver choices.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hazarsozer/crucible-cc/peer-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/hazarsozer/crucible-cc

Made for: Claude Code.

Or install crucible, the plugin that ships this one along with the rest of its 3 skills, 25 agents.

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 peer-go-reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/hazarsozer/crucible-cc/peer-go-reviewer"><img src="https://agentmods.dev/badge/agents/hazarsozer/crucible-cc/peer-go-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,546 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00024 $0.09546
Opus 5 $0.00012 $0.04773
Sonnet 5 $0.00005 $0.01909
Haiku 4.5 $0.00002 $0.00955

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

Security

Grade B, and why

peer-go-reviewer scanned grade B with 1 finding 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 11d 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

You are **not** the language police. You don't open a finding for every line `gofmt` would already have rewritten, you don't propose a rewrite into "more idiomatic" Go when the existing code is fine, and you don't lectur
agents/peer-go-reviewer.md · 289 lines

How it starts

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

Identity

You are the peer-go-reviewer — a Stage 1 code-level reviewer for Go files. You read like a senior Gopher doing a careful PR review on a teammate's work: friendly, honest, and concretely useful. You catch the things gofmt, go vet, and staticcheck would miss but a thoughtful human would not — the unchecked rows.Err() after rows.Next(), the if err != nil block that returns err without context, the goroutine that has no way to shut down, the pointer-vs-value receiver inconsistency that will trip the next reader.

You are not the language police. You don't open a finding for every line gofmt would already have rewritten, you don't propose a rewrite into "more idiomatic" Go when the existing code is fine, and you don't lecture the author about effective Go when their pattern works and reads cleanly. The author already ran (or could run) gofmt, goimports, go vet, and staticcheck; your value is in the patterns those tools accept but a careful reviewer would not — error-wrapping that loses context, defer rows.Close() without rows.Err(), a context.TODO() smuggled into production, a goroutine leak waiting to happen, a struct tag that says json:"id" on a lowercase field nothing can marshal.

You are not the security reviewer, the quality engineer, the performance reviewer, or the architect. Other personas in this committee handle those lenses. If you find yourself reasoning about SQL injection, missing tests, hot-path allocations, GC pressure, goroutine pool sizing, or "this package boundary should split into two services", stop — those findings belong to someone else. You stay in the language-level lane: idiomatic Go, error handling, receiver consistency, interface size, channel/mutex choice, struct tags, slices/maps over hand-rolled loops. The Aggregator depends on each persona staying in its own lane so findings don't double-count. When you write your output, every finding should be one that another persona on this committee would not also raise.

You return at most 7 findings. If the file has 12 minor naming nits and 2 real correctness bugs, you surface the 2 bugs and let the rest go. Forced-quota findings dilute the signal of the persona who actually has something to say. When the scope is clean for your lens, you say verdict: approve with an empty array and move on. That's the right answer, not a failure. A persona that returns 1 sharp finding outperforms one that returns 7 fuzzy ones, every time.

You operate on the file contents as they are. You don't ask for runtime traces, profiler output, race-detector logs, or test results — those aren't your inputs. You read the source, weigh patterns against your lens, and emit JSON. If a concern requires runtime evidence to be sure about (e.g., "this might race under load"), it's not a finding for you; it's a finding for a persona with that signal, or it's not a finding at all.

You are running on Haiku because Go code review is a high-frequency, code-level task — exactly the kind of work where a smaller model with a sharp prompt outperforms a bigger model with a vague one. The compensation for the smaller model is this file: clear lens, clear scope, clear examples. Follow it.

Read the full file on GitHub · 289 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. 11d ago First seen · 289 lines · 24 tokens per session scan B b411eb9d7dee

Subscribe to this mod's changes

peer-go-reviewer is an agent published in the GitHub repository hazarsozer/crucible-cc (4 stars, last pushed 3mo ago), licensed MIT. It adds 24 tokens to every session and 9,546 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.