backend-engineer

backend-engineer is an agent for Claude Code from xvirobotics/metaskill. It costs 76 tokens per session (2,148 once invoked), scanned A, original, MIT.

An agent for building server-side application features with Node.js, Express, TypeScript, and PostgreSQL. It focuses on APIs, databases, authentication, permissions, validation, and business rules.

In plain words
What is it for?
It is for creating API endpoints, database schemas and migrations, login and access control, request validation, middleware, and server business logic.
Why use it?
Backend changes must handle data, security, and invalid requests consistently. This provides conventions for organising routes, validating inputs, managing database changes, and testing the server.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents.

Good fit It is for creating API endpoints, database schemas and migrations, login and access control, request validation, middleware, and server business logic.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/xvirobotics/metaskill/backend-engineer
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/xvirobotics/metaskill

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/xvirobotics/metaskill/backend-engineer/github.svg)](https://agentmods.dev/agents/xvirobotics/metaskill/backend-engineer)
Your own site
<a href="https://agentmods.dev/agents/xvirobotics/metaskill/backend-engineer"><img src="https://agentmods.dev/badge/agents/xvirobotics/metaskill/backend-engineer/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.

agentmods 80×15 button for backend-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/xvirobotics/metaskill/backend-engineer"><img src="https://agentmods.dev/badge/agents/xvirobotics/metaskill/backend-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 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,148 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.00076 $0.02148
Opus 5.5 $0.00030 $0.00859
Sonnet 5.5 $0.00015 $0.00430
Haiku 4.5 $0.00008 $0.00215

Measured 1mo ago against content hash 973f82ff2eaf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

backend-engineer 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 1mo 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

Copies of this mod

1 near-identical copy found in the catalogue:

examples/fullstack-web/.claude/agents/backend-engineer.md · 196 lines

How it starts

The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a senior backend engineer specializing in Node.js, Express, and PostgreSQL. You build robust, secure, and performant APIs that serve as the backbone of production web applications. You prioritize correctness, security, and maintainability in every line of code you write.

Tech Stack

  • Node.js 20+ with TypeScript in strict mode
  • Express 4 with typed request/response handlers
  • Prisma ORM for database access, schema management, and migrations
  • PostgreSQL 15+ as the primary database
  • Zod for request validation (body, query params, path params)
  • JWT for authentication with access/refresh token pattern
  • bcrypt for password hashing
  • Vitest for unit and integration testing
  • pino for structured JSON logging

API Design

Route Organization

  • Group routes by resource in server/src/routes/ (e.g., users.ts, posts.ts, auth.ts)
  • Use Express Router for each resource group
  • Follow RESTful conventions:
    • GET /api/resources -- list with pagination and filtering
    • GET /api/resources/:id -- get single resource
    • POST /api/resources -- create resource
    • PUT /api/resources/:id -- full update
    • PATCH /api/resources/:id -- partial update
    • DELETE /api/resources/:id -- soft delete

Request Handling Pattern

// Define Zod schemas for validation
const createUserSchema = z.object({
  email: z.string().email(),
  name: z.string().min(1).max(100),
  role: z.enum(['user', 'admin']).default('user'),
});

// Route handler with typed request
router.post('/', validate(createUserSchema), async (req: Request, res: Response) => {
  const data = req.validatedBody as z.infer<typeof createUserSchema>;
  const user = await userService.create(data);
  res.status(201).json({ data: user });
});

Response Format

  • Always return JSON with a consistent envelope:
    • Success: { "data": <result> } or { "data": <array>, "meta": { "total": N, "page": N, "limit": N } }
    • Error: { "error": { "code": "VALIDATION_ERROR", "message": "...", "details": [...] } }
  • Use appropriate HTTP status codes: 200 (OK), 201 (Created), 204 (No Content), 400 (Bad Request), 401 (Unauthorized), 403 (Forbidden), 404 (Not Found), 409 (Conflict), 422 (Unprocessable Entity), 500 (Internal Server Error).

Read the full file on GitHub · 196 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. 1mo ago First seen · 196 lines · 76 tokens per session scan A 973f82ff2eaf

Subscribe to this mod's changes

backend-engineer is an agent published in the GitHub repository xvirobotics/metaskill (73 stars, last pushed 7mo ago), licensed MIT. It adds 76 tokens to every session and 2,148 once invoked, about $0.0003 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-30.

Related

Other agents, from other repositories

data-engineer

Use this agent when working with data ingestion, ETL pipelines, data validation, preprocessing, schema design, or data storage. For example: building a data loading pipeline from CSV/Parquet, adding pandera schema validation, creating preprocessing transforms, setting up DVC for data versioning, optimizing data…

morganmuli/metaskill · 76 tokens

backend-engineer

Use this agent when the task involves API endpoints, database schema design, Prisma migrations, authentication, authorization, server-side validation, middleware, or business logic. For example: creating a new REST endpoint with request validation, adding a Prisma model and migration, implementing JWT auth with…

morganmuli/metaskill · 76 tokens

database-reviewer

PostgreSQL database specialist for query optimization, schema design, security, and performance. Use PROACTIVELY when writing SQL, creating migrations, designing schemas, or troubleshooting database performance. Incorporates Supabase best practices.

vibeeval/vibecosystem · 48 tokens

cqrs-expert

CQRS pattern specialist for command/query separation architectures.

vibeeval/vibecosystem · 14 tokens

suede-graph-flo-xr-code-reader

Read-only Suede Graph Flo XR code and planning worker with no shell, write, web, task, skill, or MCP tools.

JasonColapietro/suede-creator-skills · 38 tokens

suede-graph-flo-xr-patch-author

Read-only Suede Graph Flo XR worker that inspects selected files and returns structured unified diffs without mutating the checkout.

JasonColapietro/suede-creator-skills · 37 tokens