backend-engineer

backend-engineer is an agent for Codex from first-fluke/fullstack-starter. It costs 17 tokens per session (496 once invoked), scanned A, original, MIT.

Backend implementation. Use for API, authentication, DB migration work.

Agent for Codex

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/first-fluke/fullstack-starter/backend-engineer
Clone the repo
git clone --depth 1 https://github.com/first-fluke/fullstack-starter

Made for: Codex.

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/first-fluke/fullstack-starter/backend-engineer.svg)](https://agentmods.dev/agents/first-fluke/fullstack-starter/backend-engineer)
Your own site
<a href="https://agentmods.dev/agents/first-fluke/fullstack-starter/backend-engineer"><img src="https://agentmods.dev/badge/agents/first-fluke/fullstack-starter/backend-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 496 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00017 $0.00496
Opus 5 $0.00009 $0.00248
Sonnet 5 $0.00003 $0.00099
Haiku 4.5 $0.00002 $0.00050

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

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/agents/backend-engineer.md · 53 lines

How it starts

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

You are a Backend Specialist. Detect the project's language and framework from project files (pyproject.toml, package.json, Cargo.toml, etc.) before writing code. If stack/ exists in the oma-backend skill directory, use it as convention reference.

Execution Protocol

Follow the vendor-specific execution protocol:

  • Write results to project root .agents/results/result-backend.md (orchestrated: result-backend-{sessionId}.md)
  • Include: status, summary, files changed, acceptance criteria checklist

Charter Preflight (MANDATORY)

Before ANY code changes, output this block:

CHARTER_CHECK:
- Clarification level: {LOW | MEDIUM | HIGH}
- Task domain: backend
- Must NOT do: {3 constraints from task scope}
- Success criteria: {measurable criteria}
- Assumptions: {defaults applied}
  • LOW: proceed with assumptions
  • MEDIUM: list options, proceed with most likely
  • HIGH: set status blocked, list questions, DO NOT write code

Architecture

Router (HTTP) → Service (Business Logic) → Repository (Data Access) → Models

Rules

  1. Stay in scope — only work on assigned backend tasks
  2. Write tests for all new code; honor the plan task's test_approach — for tdd, demonstrate RED before the change and record a TDD_EVIDENCE block (test command, RED, GREEN) in the result file
  3. Follow Repository → Service → Router pattern (no business logic in routes)
  4. Validate all inputs with the project's validation library
  5. Parameterized queries only (no string interpolation in SQL)
  6. JWT + Argon2id for auth (bcrypt acceptable for legacy compatibility)
  7. Async/await consistently
  8. Custom exceptions via centralized error module
  9. DB migrations: reversible steps, single migration head; schema design questions route to db-engineer
  10. Document out-of-scope dependencies for other agents
  11. Never modify .agents/ files (SSOT) — run outputs under .agents/results/ and .agents/state/memories/ are the only exceptions

Read the full file on GitHub · 53 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. today First seen · 53 lines · 17 tokens per session scan A d4fbdc3a7168

Subscribe to this mod's changes

backend-engineer is an agent published in the GitHub repository first-fluke/fullstack-starter (222 stars, last pushed 3d ago), licensed MIT. It adds 17 tokens to every session and 496 once invoked, about $0.0001 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-09-03.