Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/mnzralee/claude-multi-agent-architecturenpx agentmods add agents/mnzralee/claude-multi-agent-architecture/backend-implWrote 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/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/mnzralee/claude-multi-agent-architecture/backend-impl"><img src="https://agentmods.dev/badge/agents/mnzralee/claude-multi-agent-architecture/backend-impl.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.00041 | $0.02594 |
| Opus 5.5 | $0.00016 | $0.01038 |
| Sonnet 5.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 2mo 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.
- 2mo 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 (8 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.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.
backend-impl compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| backend-implmnzralee/claude-multi-agent-architecture | Agent | 8 | 1mo ago | MIT | A | 41 | Claude Code |
| architectalvin-reyes/better-agentic-ide | Agent | 45 | 2d ago | MIT | A | 36 | Claude Code |
| openai-api-specialistspacehendrix/clauder | Agent | 59 | 22d ago | Apache-2.0 | A | 115 | Claude Code |
| vllm-specialistspacehendrix/clauder | Agent | 59 | 22d ago | Apache-2.0 | A | 118 | Claude Code |
| godmode-engineeringhybridlabor-api/bdb-dev-optimized-agent-skills | Agent | 6 | 5d ago | Apache-2.0 | A | 40 | Claude Code |
| ciel-web-guildjxoesneon/Ciel | Agent | 1 | 7d ago | Apache-2.0 | A | 35 | Claude Code |
| Pimcore Expertarchubbuck/workspace-architect | Agent | 19 | 2d ago | ISC | A | 26 | Claude Code |