backend-impl

backend-impl is an agent for Claude Code from mnzralee/claude-multi-agent-architecture. It costs 41 tokens per session (2,594 once invoked), scanned A, original, MIT.

A coding agent for building server-side application code, including the rules, data handling, request endpoints, and tests behind a web or mobile app.

In plain words
What is it for?
Use it to create backend features, REST endpoints, input checks, database repositories, application services, and automated tests.
Why use it?
It keeps business rules and data access organized into separate layers, reducing tangled code and making changes easier to test.

Agent for Claude Code

Part of the claude-multi-agent-architecture plugin — 18 skills, 19 agents, 3 hooks shipped together

Install

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.

agentmods
npx agentmods add agents/mnzralee/claude-multi-agent-architecture/backend-impl
Clone the repo
git clone --depth 1 https://github.com/mnzralee/claude-multi-agent-architecture

Made for: Claude Code.

Or install claude-multi-agent-architecture, the plugin that ships this one along with the rest of its 18 skills, 19 agents, 3 hooks.

Wrote 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.

agentmods badge for backend-impl

README.md
[![agentmods](https://agentmods.dev/badge/agents/mnzralee/claude-multi-agent-architecture/backend-impl.svg)](https://agentmods.dev/agents/mnzralee/claude-multi-agent-architecture/backend-impl)
Your own site
<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>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,594 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 5d ago against content hash 8c78c446b308, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

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.

.claude/agents/backend-impl.md · 317 lines

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:

  1. Implement Domain Entities: Create type-safe entity classes that encapsulate invariants and state transitions.
  2. Build Use Cases: Implement business logic following clean architecture. Each use case is a single handler with a clearly-scoped responsibility.
  3. Create Controllers: Build RESTful endpoints with proper validation. Controllers are thin; business logic belongs in use cases.
  4. Implement Repositories: Data access layer that maps between the persistence model and domain entities. Keep ORM concerns out of the domain.
  5. Write DTOs: Request and response data transfer objects with explicit shapes.
  6. 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

Read the full file on GitHub · 317 lines

Changes

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.

  1. 5d ago First seen · 317 lines · 41 tokens per session scan A 8c78c446b308

Subscribe to this mod's changes

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.