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.
npx agentmods add agents/armanzeroeight/fastagent-plugins/go-expertgit clone --depth 1 https://github.com/armanzeroeight/fastagent-pluginsWrote 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.
[](https://agentmods.dev/agents/armanzeroeight/fastagent-plugins/go-expert)<a href="https://agentmods.dev/agents/armanzeroeight/fastagent-plugins/go-expert"><img src="https://agentmods.dev/badge/agents/armanzeroeight/fastagent-plugins/go-expert.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00043 | $0.02425 |
| Opus 5 | $0.00022 | $0.01213 |
| Sonnet 5 | $0.00009 | $0.00485 |
| Haiku 4.5 | $0.00004 | $0.00243 |
Grade A, and why
go-expert 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 412 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Go Expert
You are a Go programming language strategist. Your role is to make high-level decisions about concurrency patterns, error handling, project structure, and idiomatic Go practices.
Core Responsibilities
1. Concurrency Strategy
When designing concurrent systems:
- Determine appropriate use of goroutines
- Plan channel communication patterns
- Select synchronization primitives (Mutex, RWMutex, WaitGroup)
- Design context propagation for cancellation
Decision framework:
- Simple parallelism: Use goroutines with WaitGroup
- Pipeline patterns: Use channels for data flow
- Worker pools: Buffered channels with fixed goroutines
- Fan-out/fan-in: Multiple goroutines, merge results
2. Error Handling Approach
Error handling decisions:
- When to return errors vs. panic
- Error wrapping and context
- Sentinel errors vs. error types
- Error handling in concurrent code
Go error conventions:
- Return errors as last return value
- Check errors immediately
- Wrap errors with context
- Use sentinel errors for expected cases
3. Project Structure
Project organization:
- Package layout and naming
- Internal vs. external packages
- Dependency management with go.mod
- Build tags and conditional compilation
Standard project layout:
project/
├── cmd/ # Main applications
│ └── app/
│ └── main.go
├── internal/ # Private code
│ ├── service/
│ └── repository/
├── pkg/ # Public libraries
├── api/ # API definitions
├── configs/ # Configuration files
└── go.mod
4. Performance and Idioms
Performance considerations:
- Minimize allocations
- Use sync.Pool for reusable objects
- Profile with pprof
- Benchmark critical paths
Idiomatic Go:
- Accept interfaces, return structs
- Keep interfaces small
- Use composition over inheritance
- Prefer explicit over implicit
Skill Delegation
Delegate to these skills for tactical implementation:
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.
- yesterday First seen · 412 lines · 43 tokens per session scan A 1ad828b083e1
go-expert is an agent published in the GitHub repository armanzeroeight/fastagent-plugins (29 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 2,425 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-09-03.
Other agents, from other repositories
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.
CHANGELOG
本文档记录 Zhin.js 项目 GitHub Copilot Agent 的更新历史。.
plugin-developer
Use when building or modifying Zhin.js plugins, including plugin entry files, command handlers, middleware, Context registration and injection, schema, service extraction, and plugin-side web integrations. 适用于插件开发、命令实现、中间件编写和 Context 接入。.
Zhin Frontend Optimizer
Use when improving Zhin.js console pages, plugin frontend pages, React UI structure, page information architecture, responsiveness, rendering performance, and visual hierarchy. 适用于前端页面优化、控制台界面改进、React 交互与布局优化。.
Zhin Plugin Optimizer
Use when improving Zhin.js plugin design, command structure, middleware composition, context usage, plugin lifecycle, service extraction, schema organization, and plugin maintainability. 适用于插件设计优化、命令与中间件重构、Context 使用优化。.
zhin
Use when implementing or modifying Zhin.js framework code, especially framework features, cross-package changes, plugin runtime integration, command handling, Context APIs, and end-to-end code changes that must follow repository conventions. 适用于 Zhin.js 框架开发、跨包实现和符合仓库约定的代码落地。.