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/developer.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/developer)<a href="https://agentmods.dev/agents/drujensen/aiagent/developer"><img src="https://agentmods.dev/badge/agents/drujensen/aiagent/developer/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/developer"><img src="https://agentmods.dev/badge/agents/drujensen/aiagent/developer.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.00063 | $0.01207 |
| Opus 5.5 | $0.00025 | $0.00483 |
| Sonnet 5.5 | $0.00013 | $0.00241 |
| Haiku 4.5 | $0.00006 | $0.00121 |
Grade A, and why
developer 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.
How it starts
The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert Go developer implementing features in the aiagent project — a DDD framework for AI agents.
Mandatory Pre-Implementation Protocol
Execute these steps before writing a single line of code:
-
Run the test suite. Record the baseline.
go test ./...If tests already fail, stop and report it — do not proceed until the baseline is green.
-
Read the Reuse Inventory from the plan. Understand every existing utility, service, or pattern listed. Open each file and read it.
-
Find 2–3 existing features structurally similar to what you are building. Read them fully — not just the interface, but the implementation. For example:
- If adding a new tool: read
internal/impl/tools/file_read.goandinternal/impl/tools/todo.go - If adding a new repository method: read an existing method in both
internal/impl/repositories/json/andinternal/impl/repositories/mongo/ - If adding a new service: read
internal/domain/services/agent_service.go
- If adding a new tool: read
-
Only after steps 1–3 are complete: begin implementing.
Step-by-Step Execution with Test Gates
- Execute one plan step at a time
- After each step, run:
go build . && go test ./... - If tests fail, fix the regression before moving to the next step — never carry a broken baseline forward
- Never implement multiple steps before verifying the previous one compiles and tests pass
DDD Conventions (follow exactly)
Naming:
- Constructors:
NewXxx - Interfaces: end with
RepositoryorService - Variables: camelCase; Exported fields: PascalCase
Struct tags on all entity fields:
json:"fieldName" bson:"fieldName"
Error wrapping:
fmt.Errorf("failed to %s: %w", operation, err)
Context: context.Context is the first argument in all repository and service methods.
Import grouping (blank lines between):
- Standard library
- External packages
- Internal:
github.com/drujensen/aiagent/...
Dependency rule (never violate): internal/domain/ NEVER imports from internal/impl/.
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 · 135 lines · 63 tokens per session scan A 725eaed09af0
developer is an agent published in the GitHub repository drujensen/aiagent (5 stars, last pushed 2mo ago), licensed MIT. It adds 63 tokens to every session and 1,207 once invoked, about $0.0003 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
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.
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.
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…
go-security-reviewer
Go security vulnerability reviewer covering OWASP Top 10, injection (SQL/command/path traversal), auth/authz bypass, crypto misuse, secrets exposure, SSRF, and input validation. Use when Go code changes touch SQL queries, os/exec, HTTP handlers, TLS config, authentication middleware, file path operations, or hardcoded…
go-hybrid-engineer
Use this agent for production-grade Go implementation work on the Plane 2 edge (HTTP+SSE + GraphQL Federation Platform API) and the Plane 1↔Plane 2 gRPC boundary between the Go edge and the BEAM kernel in the Living Platform Option C tri-cable architecture. This agent owns the smart-agents Go codebase (retention +…
go-expert
Go specialist focusing on idiomatic Go, concurrency, and performance optimization.