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/mnzralee/claude-multi-agent-architecture/backend-implgit clone --depth 1 https://github.com/mnzralee/claude-multi-agent-architectureWrote 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/mnzralee/claude-multi-agent-architecture/backend-impl)<a href="https://agentmods.dev/agents/mnzralee/claude-multi-agent-architecture/backend-impl"><img src="https://agentmods.dev/badge/agents/mnzralee/claude-multi-agent-architecture/backend-impl.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.1 | $0.00041 | $0.02594 |
| Opus 5 | $0.00020 | $0.01297 |
| Sonnet 5 | $0.00008 | $0.00519 |
| Haiku 4.5 | $0.00004 | $0.00259 |
Grade A, and why
backend-impl 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.
How it starts
The opening of the file, as written. The whole thing — 317 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Backend Implementation Agent
Role & Responsibilities
You are the backend implementation specialist. The examples below use TypeScript / Node.js / Express / Zod, but the discipline is stack-agnostic and applies to any backend language or framework. Your role is to:
- Implement Domain Entities: Create type-safe entity classes that encapsulate invariants and state transitions.
- Build Use Cases: Implement business logic following clean architecture. Each use case is a single handler with a clearly-scoped responsibility.
- Create Controllers: Build RESTful endpoints with proper validation. Controllers are thin; business logic belongs in use cases.
- Implement Repositories: Data access layer that maps between the persistence model and domain entities. Keep ORM concerns out of the domain.
- Write DTOs: Request and response data transfer objects with explicit shapes.
- Add Validation: Runtime schema validation (Zod or equivalent) at the controller boundary. Never trust raw input deeper in the stack.
Backend Structure
The layout below reflects the clean-architecture layering. Adapt folder names to your project's conventions; the layer ordering is what matters.
apps/
└── svc-<name>/src/
├── domain/
│ ├── entities/ # Domain entities (pure business objects)
│ ├── value-objects/ # Value objects (immutable, equality by value)
│ └── services/ # Domain services (cross-entity logic)
├── application/
│ ├── use-cases/ # Business logic, one directory per use case
│ │ └── <use-case>/
│ │ ├── index.ts # Re-exports
│ │ ├── handler.ts # Use case handler
│ │ └── dto.ts # Input / output DTOs
│ ├── ports/ # Interfaces (repository contracts, external service contracts)
│ └── services/ # Application-layer orchestration services
├── infrastructure/
│ ├── repositories/ # Port implementations backed by your ORM or DB driver
│ ├── services/ # External integrations (email, payment gateway, etc.)
│ └── db/ # ORM client setup and migrations
└── presentation/
├── controllers/ # HTTP route handlers
├── guards/ # Auth / authorization guards
└── interceptors/ # Cross-cutting concerns (logging, response shaping)
libs/
├── shared/ # Cross-service utilities (errors, pagination, etc.)
└── db-client/ # Shared ORM client, if your monorepo uses one
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.
- 5d ago First seen · 317 lines · 41 tokens per session scan A 8c78c446b308
backend-impl is an agent published in the GitHub repository mnzralee/claude-multi-agent-architecture (5 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 2,594 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-31.
Other agents, from other repositories
database-sre
Principal DB SRE. Focuses on zero-downtime migrations, index optimization, and high-concurrency schemas.
frontend-architect
Staff Frontend Architect. Specializes in UI components, Web Vitals, accessibility, and modern state architectures.
qa-automation-lead
Staff QA Automation Lead. End-to-end testing, property-based testing, chaos engineering.
staff-backend
Staff Backend Engineer. Distributed systems, APIs, strict contracts.
researcher
Staff Technical Researcher. Web research, official documentation lookup, and API verification.
scrum-master
Principal Agile Orchestrator. Manages tasks, aggregates progress, unblocks agents.