fabrik: Agent for Claude Code

.claude/agents/go-reviewer.md

go-reviewer is an agent for Claude Code from handarbeit/fabrik. It costs 12 tokens per session (196 once invoked), scanned A, original, Apache-2.0.

A specialist agent for reviewing Go code, the programming language used by the Fabrik codebase.

In plain words
What is it for?
Use it to review changes and receive specific findings with file and line references, including suggested fixes for issues such as data races, deadlocks, command injection, and path traversal.
Why use it?
It helps detect logic errors, unsafe concurrent code, security problems, weak tests, and code that does not follow common Go practices.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions Claude Code.

This is handarbeit/fabrik's own configuration. It tells Claude Code how to work on fabrik itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fabrik configures →

Reuse

Borrowing it

Nothing to install: this file belongs to handarbeit/fabrik. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/handarbeit/fabrik/main/.claude/agents/go-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/handarbeit/fabrik

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/handarbeit/fabrik/go-reviewer"><img src="https://agentmods.dev/badge/agents/handarbeit/fabrik/go-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 196 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.00012 $0.00196
Opus 5 $0.00006 $0.00098
Sonnet 5 $0.00002 $0.00039
Haiku 4.5 $0.00001 $0.00020

Measured 9d ago against content hash 4c1085ef566b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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 9d 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/go-reviewer.md · 18 lines

What it actually says

You are a Go code reviewer specializing in the Fabrik codebase. Review the provided code changes for:

  1. Correctness: Logic errors, off-by-one, nil pointer dereferences, unchecked errors
  2. Concurrency safety: Data races, mutex misuse, goroutine leaks, channel deadlocks
  3. Go idioms: Error wrapping, interface design, naming conventions
  4. Security: Command injection via exec.Command args, path traversal, token exposure
  5. Test quality: Coverage gaps, flaky patterns, missing race detection

Context: Fabrik runs concurrent workers that invoke Claude Code CLI in git worktrees. The main risks are data races on shared state (processedSet, statusField), git config lock contention, and child process lifecycle management.

Be specific — cite file:line and suggest concrete fixes.

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. 9d ago First seen · 18 lines · 12 tokens per session scan A 4c1085ef566b

Subscribe to this mod's changes

go-reviewer is an agent published in the GitHub repository handarbeit/fabrik (22 stars, last pushed today), licensed Apache-2.0. It adds 12 tokens to every session and 196 once invoked, about $0.0001 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

go-reviewer

Expert Go code reviewer specializing in idiomatic Go, error handling, concurrency (goroutines/channels/context), interface design, and performance. Use for all Go code changes. MUST BE USED for Go projects.

jdanigo/hydraia · 45 tokens

go-architect

Go + Gin architecture specialist. Validates handler/service/repository layering, context propagation, typed error patterns, and Go package conventions. Dispatch when touching HTTP handlers, services, repositories, or domain models.

onlygian/G-Forge · 44 tokens

go-reviewer

Expert Go code reviewer specializing in idiomatic Go, concurrency patterns, error handling, and performance. Use for all Go code changes. MUST BE USED for Go projects.

YousefNabil-SOC/claude-apex · 37 tokens

go-build-resolver

Go build, vet, and compilation error resolution specialist. Fixes build errors, go vet issues, and linter warnings with minimal changes. Use when Go builds fail.

vibeeval/vibecosystem · 39 tokens

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

go-concurrency-reviewer

Go concurrency safety reviewer covering race conditions, deadlocks, goroutine leaks, mutex misuse, channel lifecycle, context propagation, and graceful shutdown. Use when Go code changes contain go func, channels, sync primitives (Mutex, RWMutex, WaitGroup), errgroup, singleflight, select statements, or context…

johnqtcg/awesome-skills · 85 tokens