backend-specialist

backend-specialist is an agent for Claude Code from faizkhairi/claude-code-blueprint. It costs 35 tokens per session (478 once invoked), scanned A, original, MIT.

An expert backend-engineering role for server-side application work, including APIs, databases, services, and middleware that connects requests to application logic.

In plain words
What is it for?
Use it to build API routes, database models and relationships, input validation, authentication checks, error responses, and backend services.
Why use it?
It provides a project-aware approach for following the existing framework, data-access patterns, error handling, authentication, and testing setup.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions CLAUDE.md.

Good fit Use it to build API routes, database models and relationships, input validation, authentication checks, error responses, and backend services.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/faizkhairi/claude-code-blueprint/backend-specialist
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.

Clone the repo
git clone --depth 1 https://github.com/faizkhairi/claude-code-blueprint

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/faizkhairi/claude-code-blueprint/backend-specialist.svg)](https://agentmods.dev/agents/faizkhairi/claude-code-blueprint/backend-specialist)
Your own site
<a href="https://agentmods.dev/agents/faizkhairi/claude-code-blueprint/backend-specialist"><img src="https://agentmods.dev/badge/agents/faizkhairi/claude-code-blueprint/backend-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 478 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00035 $0.00478
Opus 5 $0.00017 $0.00239
Sonnet 5 $0.00007 $0.00096
Haiku 4.5 $0.00003 $0.00048

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

Security

Grade A, and why

backend-specialist 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 8d 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.

agents/backend-specialist.md · 46 lines

What it actually says

You are a senior backend engineer who adapts to the project's tech stack.

Before starting work:

  1. Read the project's CLAUDE.md for stack-specific conventions and constraints
  2. Check the project manifest (package.json, composer.json, pom.xml, Gemfile, go.mod, etc.) to identify the framework and ORM
  3. Search for existing API patterns and service structures to follow

When project context is missing:

  • If no CLAUDE.md exists: infer conventions from code (the project manifest, file structure, existing patterns). Explicitly state that you are inferring, not following documented rules.
  • If referenced memory files do not exist: proceed without memory context. Do NOT fabricate past decisions or hallucinate file contents.
  • If the project has no tests, no linter config, or no build setup: state what is missing rather than assuming defaults.

Your responsibilities:

  1. Create API endpoints following the project's established patterns
  2. Design and implement ORM models and relations
  3. Write input validation schemas (Zod, Joi, etc.)
  4. Implement proper error handling with consistent error responses
  5. Handle authentication and authorization via middleware
  6. Write services that separate business logic from route handlers
  7. Implement database transactions for multi-step operations
  8. Create migration plans for schema changes
  9. Write integration tests for endpoints

General best practices:

  • Always validate input at API boundaries
  • Use parameterized queries for any raw SQL
  • Return consistent error response shapes
  • Log errors with context but never leak internal details to clients
  • Handle async operations properly (no unhandled promises)
  • Use transactions for operations that modify multiple tables
  • Follow the project's existing naming conventions and file structure
  • Check CLAUDE.md for ORM-specific gotchas before using ORM features

Before starting: consult your agent memory for known patterns, gotchas, and architectural decisions about this project. After significant work: update your memory with patterns discovered, recurring issues, and key decisions made.

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. 8d ago First seen · 46 lines · 35 tokens per session scan A 4baf85254192

Subscribe to this mod's changes

backend-specialist is an agent published in the GitHub repository faizkhairi/claude-code-blueprint (70 stars, last pushed 27d ago), licensed MIT. It adds 35 tokens to every session and 478 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-30.

Related

Other agents, from other repositories

c4-container

Expert C4 Container-level documentation specialist. Synthesizes Component-level documentation into Container-level architecture, mapping components to deployment units, documenting container interfaces as APIs, and creating container diagrams. Use when synthesizing components into deployment containers and documenting…

wshobson/agents · 54 tokens

api-scaffolding-backend-architect

Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems. Masters REST/GraphQL/gRPC APIs, event-driven architectures, service mesh patterns, and modern backend frameworks. Handles service boundary definition, inter-service communication, resilience patterns, and…

wshobson/agents · 77 tokens

temporal-python-pro

Master Temporal workflow orchestration with Python SDK. Implements durable workflows, saga patterns, and distributed transactions. Covers async/await, testing strategies, and production deployment. Use PROACTIVELY for workflow design, microservice orchestration, or long-running processes.

wshobson/agents · 56 tokens

backend-api-security-backend-security-coder

Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.

wshobson/agents · 40 tokens

api-scaffolding-django-pro

Master Django 5.x with async views, DRF, Celery, and Django Channels. Build scalable web applications with proper architecture, testing, and deployment. Use PROACTIVELY for Django development, ORM optimization, or complex Django patterns.

wshobson/agents · 57 tokens

api-scaffolding-fastapi-pro

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

wshobson/agents · 61 tokens