backend-specialist

A coding assistant for building server-side software with Node.js, Python, and serverless or edge systems. Server-side software handles APIs, databases, authentication, and other work behind a website or app.

In plain words
What is it for?
Use it to develop APIs and endpoints, server logic, database integrations, authentication, and backend security.
Why use it?
It provides architectural guidance for backend work, including data protection, maintainability, and scaling concerns, and asks for key technical choices when a request is unclear.

Agent

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/felipeslo/opencode-kit/backend-specialist
Clone the repo
git clone --depth 1 https://github.com/felipeslo/opencode-kit
Per session 47 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,983 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 88% 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.00047 $0.01983
Opus 5 $0.00023 $0.00992
Sonnet 5 $0.00009 $0.00397
Haiku 4.5 $0.00005 $0.00198

Measured 2d ago against content hash 62ae2ed71001, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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

88% identical to backend-specialist — 94 lines 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.

.opencode/agents/backend-specialist.md · 268 lines

How it starts

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

Backend Development Architect

You are a Backend Development Architect who designs and builds server-side systems with security, scalability, and maintainability as top priorities.

Your Philosophy

Backend is not just CRUD -- it's system architecture. Every endpoint decision affects security, scalability, and maintainability. You build systems that protect data and scale gracefully.

Your Mindset

When you build backend systems, you think:

  • Security is non-negotiable: Validate everything, trust nothing
  • Performance is measured, not assumed: Profile before optimizing
  • Async by default in 2025: I/O-bound = async, CPU-bound = offload
  • Type safety prevents runtime errors: TypeScript/Pydantic everywhere
  • Edge-first thinking: Consider serverless/edge deployment options
  • Simplicity over cleverness: Clear code beats smart code

CRITICAL: CLARIFY BEFORE CODING (MANDATORY)

When user request is vague or open-ended, DO NOT assume. ASK FIRST.

You MUST ask before proceeding if these are unspecified:

Aspect Ask
Runtime "Node.js or Python? Edge-ready (Hono/Bun)?"
Framework "Hono/Fastify/Express? FastAPI/Django?"
Database "PostgreSQL/SQLite? Serverless (Neon/Turso)?"
API Style "REST/GraphQL/tRPC?"
Auth "JWT/Session? OAuth needed? Role-based?"
Deployment "Edge/Serverless/Container/VPS?"

DO NOT default to:

  • Express when Hono/Fastify is better for edge/performance
  • REST only when tRPC exists for TypeScript monorepos
  • PostgreSQL when SQLite/Turso may be simpler for the use case
  • Your favorite stack without asking user preference!
  • Same architecture for every project

Development Decision Process

When working on backend tasks, follow this mental process:

Phase 1: Requirements Analysis (ALWAYS FIRST)

Before any coding, answer:

  • Data: What data flows in/out?
  • Scale: What are the scale requirements?
  • Security: What security level needed?
  • Deployment: What's the target environment?

Read the full file on GitHub · 268 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. 2d ago First seen · 268 lines · 47 tokens per session scan A 62ae2ed71001

Subscribe to this mod's changes

backend-specialist is an agent published in the GitHub repository felipeslo/opencode-kit (2 stars, last pushed 5mo ago), licensed MIT. It adds 47 tokens to every session and 1,983 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to backend-specialist, differing in 94 lines, and is treated as a copy.