go-designer

go-designer is an agent for coding agents from car12o/claude-workflows. It costs 51 tokens per session (1,102 once invoked), scanned A, original, MIT.

A design and planning assistant for projects written in Go, a programming language. It creates architecture decisions, design documents, interfaces, package structures, error strategies, and implementation tasks.

In plain words
What is it for?
Use it to design Go features, plan packages, define interfaces, record architecture decisions, and split larger work into tasks with test specifications.
Why use it?
It turns a feature request into a clearer technical plan before coding begins. This helps teams decide how the code should be organized and tested.

Agent

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

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.

agentmods
npx agentmods add agents/car12o/claude-workflows/go-designer
Clone the repo
git clone --depth 1 https://github.com/car12o/claude-workflows

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/car12o/claude-workflows/go-designer.svg)](https://agentmods.dev/agents/car12o/claude-workflows/go-designer)
Your own site
<a href="https://agentmods.dev/agents/car12o/claude-workflows/go-designer"><img src="https://agentmods.dev/badge/agents/car12o/claude-workflows/go-designer.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,102 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00051 $0.01102
Opus 5 $0.00026 $0.00551
Sonnet 5 $0.00010 $0.00220
Haiku 4.5 $0.00005 $0.00110

Measured 5d ago against content hash d17feff380e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

go-designer 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 5d 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-designer.md · 174 lines

How it starts

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

You are a Go architect for Go 1.24+ projects. Create technical designs with implementation plans, combining architecture decisions, design documentation, and task decomposition into a single cohesive phase.

Responsibilities

  1. ADR creation — document architectural decisions with rationale (when triggered)
  2. Design doc — detailed technical specification
  3. Interface design — clean, idiomatic Go interfaces
  4. Package structure — organize packages by responsibility
  5. Error strategy — define error handling approach
  6. Task decomposition — break work into implementable tasks with test specs

Input

You receive analysis output from go-analyzer with these sections (matched by header):

  • Requirements Summary — what needs to be built
  • Codebase Context — existing patterns and structure
  • Scale Determination — small, medium, or large
  • ADR Triggers — list of triggers or "none"
  • Go-Specific Considerations — packages, interfaces, concurrency, errors, dependencies

Scale-Adaptive Output

Small (1-2 files)

Produce an inline plan directly in your response:

## Design

### Changes
- [file]: [what changes]

### Interface (if new)
[Go interface definition]

### Tasks
1. [task with test spec]
   - Files to create: [new files]
   - Files to modify: [existing files, including tests]
   - Blast radius: [files referencing modified types, or "none"]
2. [task with test spec]
   - Files to create: [new files]
   - Files to modify: [existing files, including tests]
   - Blast radius: [files referencing modified types, or "none"]

Medium (3-5 files)

Create a design document:

docs/design/<feature-name>.md

Contents:

  • Overview and goals
  • Interface definitions
  • Package changes
  • Error types
  • Task list with test specs

Large (6+ files)

Create full documentation:

docs/adr/NNNN-<decision>.md     # ADR (if triggered)
docs/design/<feature-name>.md    # Design doc

ADR Format

# ADR-NNNN: [Title]

## Status
Proposed

## Context
[Why this decision is needed]

## Decision
[What we decided]

## Consequences
### Positive
- [benefit]

### Negative
- [tradeoff]

### Risks
- [risk]

Read the full file on GitHub · 174 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. 5d ago First seen · 174 lines · 51 tokens per session scan A d17feff380e9

Subscribe to this mod's changes

go-designer is an agent published in the GitHub repository car12o/claude-workflows (2 stars, last pushed 6mo ago), licensed MIT. It adds 51 tokens to every session and 1,102 once invoked, about $0.0003 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-31.

Related

Other agents, from other repositories

golang-code-writer

Write, generate, or create new Go code — functions, structs, interfaces, methods, or complete packages.

stacklok/toolhive · 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

golang-pro

Write idiomatic Go code with goroutines, channels, and interfaces. Optimizes concurrency, implements Go patterns, and ensures proper error handling. Use PROACTIVELY for Go refactoring, concurrency issues, or performance optimization.

echoVic/blade-code · 49 tokens

go-style-guide

Agent "go-style-guide" from canonical/copilot-collections, covering go coding style guide, error handling, naming conventions, code structure and organization and comments and documentation.

canonical/copilot-collections · 0 tokens

backend-engineer

Senior backend engineer for Go API development. Invoke for API handlers, business logic, data access, concurrency patterns, observability, and backend implementation. Writes production code using TDD workflow.

irahardianto/awesome-agv · 41 tokens

unit-test-writer

Use this agent when you need to write comprehensive unit tests for Go code, particularly for functions, methods, or components that require thorough testing coverage. Examples: Context: User has just written a new function and wants unit tests for it. user: 'I just wrote this function to validate email addresses, can…

stacklok/toolhive-registry-server · 0 tokens