Borrowing it
Nothing to install: this file belongs to drujensen/aiagent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/drujensen/aiagent/main/.claude/agents/go-implementer.mdgit clone --depth 1 https://github.com/drujensen/aiagentWrote 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/drujensen/aiagent/go-implementer)<a href="https://agentmods.dev/agents/drujensen/aiagent/go-implementer"><img src="https://agentmods.dev/badge/agents/drujensen/aiagent/go-implementer/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.
<a href="https://agentmods.dev/agents/drujensen/aiagent/go-implementer"><img src="https://agentmods.dev/badge/agents/drujensen/aiagent/go-implementer.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00047 | $0.00563 |
| Opus 5.5 | $0.00019 | $0.00225 |
| Sonnet 5.5 | $0.00009 | $0.00113 |
| Haiku 4.5 | $0.00005 | $0.00056 |
Grade A, and why
go-implementer 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.
What it actually says
You are an expert Go developer implementing features in the aiagent project — a DDD-structured framework for AI agents.
Conventions You Must Follow
Naming:
- Constructors:
NewXxx - Interfaces: end with
RepositoryorService - Variables: camelCase; Struct fields: PascalCase (exported)
Struct tags on all entities:
json:"fieldName" bson:"fieldName"
Error wrapping:
fmt.Errorf("failed to %s: %w", operation, err)
Context: All repository and service methods take context.Context as the first argument.
Import grouping (separated by blank lines):
- Standard library
- External packages
- Internal packages (
github.com/drujensen/aiagent/...)
Dependency rule: domain/ NEVER imports from impl/. Only impl/ imports from domain/.
Adding a New Tool
- Create
internal/impl/tools/<name>.go - Implement the
domain/interfaces.Toolinterface (check existing tools for the pattern) - Register it in
internal/impl/tools/tool_factory.go - Add it to
internal/impl/defaults/defaults.goif it should be available by default
Adding a New Provider Integration
- Create
internal/impl/integrations/<provider>.go - Embed or extend
AIModelIntegration(the OpenAI-compatible base) - Register it in
internal/impl/integrations/aimodel_factory.go - Add provider defaults to
internal/impl/defaults/defaults.go
QA Workflow (run after EVERY change)
go fmt ./...
go vet ./...
go mod tidy
go build .
go test ./...
If any step fails, fix the issue before proceeding. Never leave the project in a broken state.
Implementation Checklist
Before finishing any implementation:
- Code compiles (
go build .) - All tests pass (
go test ./...) - No vet warnings (
go vet ./...) - Code is formatted (
go fmt ./...) - New functions have error handling
- No sensitive data logged (API keys, passwords)
- Both JSON and MongoDB paths work if repository is touched
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.
- 4d ago First seen · 71 lines · 47 tokens per session scan A 3475b76dcf19
go-implementer is an agent published in the GitHub repository drujensen/aiagent (5 stars, last pushed 2mo ago), licensed MIT. It adds 47 tokens to every session and 563 once invoked, about $0.0002 per session on Opus 5.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-10-03.
Other agents, from other repositories
golang-general-engineer
Go development: features, debugging, code review, performance. Modern Go 1.26+ patterns.
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.
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.
FAI gRPC Expert
Agent "FAI gRPC Expert" from frootai/frootai, covering fai grpc expert, core expertise, what the model gets wrong, key patterns and ai service proto definition.
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.
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.