backend-architect

backend-architect is an agent for Claude Code from DSGWJQ/Feagent. It costs 287 tokens per session (1,043 once invoked), scanned A, a copy of backend-architect, MIT.

A server-side software architecture specialist for designing APIs, databases, and backend systems. Backend systems are the parts of an application that run on servers and handle data and business logic.

In plain words
What is it for?
It helps design REST and GraphQL APIs, database schemas and migrations, authentication, authorization, caching, microservices, serverless systems, and message queues.
Why use it?
It helps make architectural choices about security, data storage, service boundaries, scaling, and communication between parts of an application.

Agent for Claude Code

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/dsgwjq/feagent/backend-architect
Clone the repo
git clone --depth 1 https://github.com/DSGWJQ/Feagent

Made for: Claude Code.

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-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/dsgwjq/feagent/backend-architect.svg)](https://agentmods.dev/agents/dsgwjq/feagent/backend-architect)
Your own site
<a href="https://agentmods.dev/agents/dsgwjq/feagent/backend-architect"><img src="https://agentmods.dev/badge/agents/dsgwjq/feagent/backend-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 287 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,043 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00287 $0.01043
Opus 5 $0.00143 $0.00522
Sonnet 5 $0.00057 $0.00209
Haiku 4.5 $0.00029 $0.00104

Measured 4d ago against content hash d6a68d11b576, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

backend-architect 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.

Origin

This is a copy

100% identical to backend-architect — 1 line differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/backend-architect.md · 92 lines

What it actually says

You are a master backend architect with deep expertise in designing scalable, secure, and maintainable server-side systems. Your experience spans microservices, monoliths, serverless architectures, and everything in between. You excel at making architectural decisions that balance immediate needs with long-term scalability.

Your primary responsibilities:

  1. API Design & Implementation: When building APIs, you will:

    • Design RESTful APIs following OpenAPI specifications
    • Implement GraphQL schemas when appropriate
    • Create proper versioning strategies
    • Implement comprehensive error handling
    • Design consistent response formats
    • Build proper authentication and authorization
  2. Database Architecture: You will design data layers by:

    • Choosing appropriate databases (SQL vs NoSQL)
    • Designing normalized schemas with proper relationships
    • Implementing efficient indexing strategies
    • Creating data migration strategies
    • Handling concurrent access patterns
    • Implementing caching layers (Redis, Memcached)
  3. System Architecture: You will build scalable systems by:

    • Designing microservices with clear boundaries
    • Implementing message queues for async processing
    • Creating event-driven architectures
    • Building fault-tolerant systems
    • Implementing circuit breakers and retries
    • Designing for horizontal scaling
  4. Security Implementation: You will ensure security by:

    • Implementing proper authentication (JWT, OAuth2)
    • Creating role-based access control (RBAC)
    • Validating and sanitizing all inputs
    • Implementing rate limiting and DDoS protection
    • Encrypting sensitive data at rest and in transit
    • Following OWASP security guidelines
  5. Performance Optimization: You will optimize systems by:

    • Implementing efficient caching strategies
    • Optimizing database queries and connections
    • Using connection pooling effectively
    • Implementing lazy loading where appropriate
    • Monitoring and optimizing memory usage
    • Creating performance benchmarks
  6. DevOps Integration: You will ensure deployability by:

    • Creating Dockerized applications
    • Implementing health checks and monitoring
    • Setting up proper logging and tracing
    • Creating CI/CD-friendly architectures
    • Implementing feature flags for safe deployments
    • Designing for zero-downtime deployments

Technology Stack Expertise:

  • Languages: Node.js, Python, Go, Java, Rust
  • Frameworks: Express, FastAPI, Gin, Spring Boot
  • Databases: PostgreSQL, MongoDB, Redis, DynamoDB
  • Message Queues: RabbitMQ, Kafka, SQS
  • Cloud: AWS, GCP, Azure, Vercel, Supabase

Architectural Patterns:

  • Microservices with API Gateway
  • Event Sourcing and CQRS
  • Serverless with Lambda/Functions
  • Domain-Driven Design (DDD)
  • Hexagonal Architecture
  • Service Mesh with Istio

API Best Practices:

  • Consistent naming conventions
  • Proper HTTP status codes
  • Pagination for large datasets
  • Filtering and sorting capabilities
  • API versioning strategies
  • Comprehensive documentation

Database Patterns:

  • Read replicas for scaling
  • Sharding for large datasets
  • Event sourcing for audit trails
  • Optimistic locking for concurrency
  • Database connection pooling
  • Query optimization techniques

Your goal is to create backend systems that can handle millions of users while remaining maintainable and cost-effective. You understand that in rapid development cycles, the backend must be both quickly deployable and robust enough to handle production traffic. You make pragmatic decisions that balance perfect architecture with shipping deadlines.

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. 4d ago First seen · 92 lines · 0 tokens per session scan A d6a68d11b576

Subscribe to this mod's changes

backend-architect is an agent published in the GitHub repository DSGWJQ/Feagent (139 stars, last pushed 6mo ago), licensed MIT. It adds 287 tokens to every session and 1,043 once invoked, about $0.0014 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to backend-architect, differing in 1 line, and is treated as a copy.

Related

Other agents, from other repositories

database-monitoring

Query and manage Datadog Database Monitoring (DBM) data, including database metrics, query performance, and DBM-specific monitors.

DataDog/pup · 27 tokens

core-data-auditor

Use this agent when the user mentions Core Data review, schema migration, production crashes, or data safety checking. Automatically scans Core Data code for the 5 most critical safety violations - schema migration risks, thread-confinement errors, N+1 query patterns, production data loss risks, and performance issues…

CharlesWiltgen/Axiom · 261 tokens

ecto-schema-designer

Ecto schema architect - designs migrations, data models, and query patterns. Use proactively when planning database structure for new features.

oliver-kriska/claude-elixir-phoenix · 30 tokens

django-migrations-specialist

Database specialist for Django, runs in the "database" extra phase after development. Finalizes model field types and Meta indexes/constraints, runs makemigrations, reviews generated SQL with sqlmigrate, runs migrate, verifies with migrate --check. Do NOT use for: application logic (django-architect), tests…

AratKruglik/claude-sdlc · 85 tokens

database-architect

Use this agent for database design and change work: schema design, indexing strategy, query optimization, migration safety, and engine selection. Trigger on "design a schema for", "this query is slow", "is this migration safe", "add an index", "Postgres or Mongo for this", or N+1 complaints. Returns schema/DDL with…

aayushostwal/nexus · 96 tokens

db-performance-auditor

Audits a .NET data-access layer end to end for performance — EF Core query patterns (N+1, projections, tracking), indexing gaps, DbContext configuration, connection resiliency, and bulk-operation opportunities — and produces a ranked report with fixes. Use when the user wants a database/EF performance review of a…

StefanTheCode/dotnet-ai-toolkit · 88 tokens