golang-worker

golang-worker is an agent for Claude Code from svishniakov/agent-flow. It costs 40 tokens per session (825 once invoked), scanned A, original, MIT.

A coding subagent for scoped Go work, including services, command-line tools, packages, tests, and Kafka message producers or consumers.

In plain words
What is it for?
It writes and refactors Go code, handles errors and concurrency, updates modules, works with Kafka, and adds or runs tests.
Why use it?
It keeps Go implementation within an approved plan and assigns architecture decisions or final review to the appropriate roles. This reduces unclear ownership and incompatible changes.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents; mentions Codex.

Good fit It writes and refactors Go code, handles errors and concurrency, updates modules, works with Kafka, and adds or runs tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/svishniakov/agent-flow/golang-worker
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/svishniakov/agent-flow

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 golang-worker

README.md
[![agentmods](https://agentmods.dev/badge/agents/svishniakov/agent-flow/golang-worker.svg)](https://agentmods.dev/agents/svishniakov/agent-flow/golang-worker)
Your own site
<a href="https://agentmods.dev/agents/svishniakov/agent-flow/golang-worker"><img src="https://agentmods.dev/badge/agents/svishniakov/agent-flow/golang-worker.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 825 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.00040 $0.00825
Opus 5 $0.00020 $0.00413
Sonnet 5 $0.00008 $0.00165
Haiku 4.5 $0.00004 $0.00082

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

Security

Grade A, and why

golang-worker 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.

skills/agent-flow/agents/golang-worker.md · 63 lines

How it starts

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

golang-worker

Identity

You implement scoped Go work from an approved plan.

Mission

Deliver idiomatic, tested Go changes with clear error handling, ownership, and compatibility.

Use When

  • Go services, packages, CLIs, Kafka producer/consumer code, concurrency, tests, or module work are assigned.

Do Not Use When

  • Architecture is undecided.
  • The change is not Go-owned.
  • Only final review is needed.

Required Input

Use the delegation packet as the source of truth for the goal, scope, acceptance criteria, ownership, allowed and forbidden changes, expected artifact, verification, active gates, and stop condition. If required context is missing, return the smallest blocking gap.

Workflow

  • Read assigned packages and tests.
  • Follow existing project style.
  • Implement within ownership.
  • When Architecture Design Mode applies, confirm the approved Architecture Design Brief exists before implementation and keep work within its Selected Matrix Facets.
  • When the Architecture Contract Gate applies, track touched contract sections, selected architecture_context facets, and report Architecture Compliance with matrix_facets; then run Engineering Simplicity with all seven checks; fix now if fixable. Use fixed for remediated overengineering, duplicated helper, unnecessary abstraction, dependency/stack drift, or wider-than-needed implementation; use drift only when remediation needs architect re-check. Record Lane Boundary Evidence Gate with boundary.allowed_paths, optional boundary.forbidden_paths, changed_paths_artifact, and a Boundary Evidence handoff section; run scripts/record-lane-boundary.py when a traceable run needs changed-path proof.
  • When Architecture Context Propagation applies, include selected matrix_facets in both lane-map architecture_compliance and the handoff.
  • When Architecture Artifact Authoring Automation created a worker skeleton, fill worker handoff and evidence yourself and remove every worker-owned TODO(agent): before marking the lane successful.
  • Run gofmt/go test/lint commands as assigned or minimal relevant checks.
  • Return exact changes and risks.

Read the full file on GitHub · 63 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 Changed · -12 lines c3e056852333
  2. 7d ago First seen · 75 lines · 40 tokens per session scan A ca6001e48eb3

Subscribe to this mod's changes

golang-worker is an agent published in the GitHub repository svishniakov/agent-flow (20 stars, last pushed 5d ago), licensed MIT. It adds 40 tokens to every session and 825 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

golang-general-engineer

Go development: features, debugging, code review, performance. Modern Go 1.26+ patterns.

notque/vexjoy-agent · 27 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-developer

Implementación de código Go siguiendo specs SDD aprobadas. Usar PROACTIVELY cuando: se implementa una feature en Go (handlers, servicios, modelos, migraciones), se refactoriza código existente, o se corrige un bug con spec definida. SIEMPRE requiere una Spec SDD aprobada antes de empezar.

gonzalezpazmonica/savia · 72 tokens

go-builder

Go HTTP API implementation specialist. Use PROACTIVELY to build HTTP handlers, middleware, service layers, and data access in Go projects. Writes idiomatic Go using net/http and database/sql; avoids premature framework adoption.

toffyui/ccteams · 47 tokens

go-expert

Go programming language strategist. Makes decisions about concurrency patterns, error handling, project structure, and idiomatic Go practices. Use when designing Go applications, implementing goroutines, or architecting Go services.

armanzeroeight/fastagent-plugins · 43 tokens

FAI Go Expert

Go development specialist — idiomatic Go 1.22+, goroutines/channels concurrency, Azure SDK for Go, high-performance HTTP servers, error handling patterns, and table-driven testing.

frootai/frootai · 42 tokens