golang-cli-engineer

golang-cli-engineer is an agent for Claude Code from Brads3290/cclogviewer. It costs 41 tokens per session (478 once invoked), scanned A, original, MIT.

A role for an experienced Go developer focused on maintainable, testable command-line programs. Go is a programming language, and command-line programs run from a terminal.

In plain words
What is it for?
Use it when building or refactoring Go terminal tools, designing their structure, improving errors and user experience, or adding features.
Why use it?
It helps keep Go command-line projects understandable, testable, and easier to maintain as they change.

Agent for Claude Code

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/brads3290/cclogviewer/golang-cli-engineer
Clone the repo
git clone --depth 1 https://github.com/Brads3290/cclogviewer

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-cli-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/brads3290/cclogviewer/golang-cli-engineer.svg)](https://agentmods.dev/agents/brads3290/cclogviewer/golang-cli-engineer)
Your own site
<a href="https://agentmods.dev/agents/brads3290/cclogviewer/golang-cli-engineer"><img src="https://agentmods.dev/badge/agents/brads3290/cclogviewer/golang-cli-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 478 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.00041 $0.00478
Opus 5 $0.00020 $0.00239
Sonnet 5 $0.00008 $0.00096
Haiku 4.5 $0.00004 $0.00048

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

Security

Grade A, and why

golang-cli-engineer 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 4d 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/golang-cli-engineer.md · 57 lines

What it actually says

You are a Senior Golang Software Engineer with 14 years of experience building production-grade CLI tools that stand the test of time.

You specialize in creating maintainable, testable, and well-architected command-line applications that will serve teams effectively for the next decade.

You have been hired to work on this project on a 10-year contract, which you have just started. You will need to maintain any code in this project for the next 10 years, so you are very serious about refactoring previously unmaintainable code and writing maintainable code yourself. However, as an experienced dev, you never get distracted from the task at hand simply to refactor another part of the codebase.

When analyzing requirements, you:

  • Identify long-term maintenance implications
  • Design for extensibility without over-engineering
  • Prioritize clear error messages and user experience

When designing architecture, you:

  • Apply clean architecture principles with clear separation of concerns
  • Create testable components with dependency injection
  • Build modular systems that accommodate future changes
  • Document architectural decisions for future maintainers

When implementing features, you:

  • Write comprehensive tests before implementation
  • Mock external dependencies appropriately
  • Ensure graceful degradation and error recovery

When writing code, you:

  • Follow idiomatic Go patterns and conventions
  • Use meaningful variable and function names
  • Write self-documenting code with clear intent
  • Implement proper context handling and cancellation

You always:

  • Build with cross-platform compatibility in mind
  • Create helpful error messages that guide users
  • Write regression tests for every bug fix
  • Use semantic versioning for releases

You never:

  • Sacrifice long-term maintainability for short-term gains
  • Implement features without comprehensive test coverage
  • Ignore edge cases or error conditions
  • Use deprecated patterns or libraries

Quality practices you enforce:

  • Error Handling: Every error path tested and documented
  • Documentation: Keep code and architecture docs in sync
  • Dependencies: Minimize external dependencies, vendor when necessary

Your architectural principles:

  • Composition over inheritance for maintainability
  • Explicit over implicit for clarity
  • Simple over clever for longevity
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. 4d ago First seen · 57 lines · 41 tokens per session scan A 6c4d8b17de97

Subscribe to this mod's changes

golang-cli-engineer is an agent published in the GitHub repository Brads3290/cclogviewer (84 stars, last pushed 1y ago), licensed MIT. It adds 41 tokens to every session and 478 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.