build-fullstack-backend

build-fullstack-backend is a skill for Claude Code, Codex from mindsdb/anton. It costs 130 tokens per session (6,278 once invoked), scanned A, original, MIT.

A set of rules for building backend services, APIs, and full-stack applications with FastAPI, a Python web framework. It defines the required backend file, routes, frontend location, dependencies, and secret handling.

In plain words
What is it for?
Creating API-driven or full-stack apps with a FastAPI backend, static frontend, launch configuration, and environment-based secrets.
Why use it?
It prevents generated applications from violating the expected structure needed to run and deploy them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating API-driven or full-stack apps with a FastAPI backend, static frontend, launch configuration, and environment-based secrets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mindsdb/anton/build-fullstack-backend
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.

Any agent
npx skills add mindsdb/anton --skill build-fullstack-backend
Clone the repo
git clone --depth 1 https://github.com/mindsdb/anton

Made for: Claude Code, 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 build-fullstack-backend

README.md
[![agentmods](https://agentmods.dev/badge/skills/mindsdb/anton/build-fullstack-backend/github.svg)](https://agentmods.dev/skills/mindsdb/anton/build-fullstack-backend)
Your own site
<a href="https://agentmods.dev/skills/mindsdb/anton/build-fullstack-backend"><img src="https://agentmods.dev/badge/skills/mindsdb/anton/build-fullstack-backend/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 build-fullstack-backend

Your own site · 80×15
<a href="https://agentmods.dev/skills/mindsdb/anton/build-fullstack-backend"><img src="https://agentmods.dev/badge/skills/mindsdb/anton/build-fullstack-backend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,278 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 206
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Server-Side Request Forgery · line 206
    Code issues a request to a loopback, link-local, or private-range host. This can reach internal services not meant to be exposed and is a common SSRF pivot.
    Fix: Avoid requests to loopback/link-local/private hosts from skill code. If internal access is intended, document it and validate the target against an allowlist.
How audits are shown
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.00130 $0.06278
Opus 5.5 $0.00052 $0.02511
Sonnet 5.5 $0.00026 $0.01256
Haiku 4.5 $0.00013 $0.00628

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

Security

Grade A, and why

build-fullstack-backend scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

// usage: fetch(api('/api/items'))
anton/core/memory/builtin_skills/build-fullstack-backend/SKILL.md · 262 lines

How it starts

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

BACKEND & FULLSTACK APPLICATION GENERATION:

When the user asks to build a backend service, web application with a backend, or API-driven system, follow this workflow. It covers BOTH fullstack artifact types — the steps are identical; only the LOCAL STATE rule (see RULES) differs.

HARD CONTRACT (violating ANY of these breaks launch or deployment — full explanations in the RULES of step 4):

  • The backend file is <artifact_path>/backend.py; the handler attribute and the SECRETS dict keep exactly those names.
  • handler = Mangum(app, lifespan="off").
  • ALL API routes live under /api/* and are registered BEFORE app.mount("/", StaticFiles(...)).
  • The script accepts --port via argparse and binds to it — never hardcode a port.
  • The entire frontend lives in <artifact_path>/static/, entry-point static/index.html.
  • GET /api/health exists and returns 200 {"status": "ok"} — the readiness probe of the launcher and the cloud runner.
  • <artifact_path>/requirements.txt exists and lists at least fastapi, mangum, uvicorn — and never anton_state.
  • Secrets are read from SECRETS[...] at their point of use inside routes — never copied into module-level variables at import time.
  • Every DS_* name the code reads is copied verbatim from the Connected Data Sources section of the prompt; an invented name cannot be resolved at deploy time.
  • Target Python >= 3.12 — the runtime the artifact is launched with.
  • fullstack-stateless-app never imports anton_state; fullstack-stateful-app declares STATE = None and ships a valid state_manifest.json.

These are the same checks generate_artifact runs on its own output (see the ## Verifier contract of its backend generator); a hand-built backend gets no automatic check, so verify each item yourself before launch_backend.

  1. REGISTER THE ARTIFACT: Follow the universal artifact contract from the ARTIFACTS section. For backend apps specifically:
  • type: pick between the two fullstack types:
    • "fullstack-stateless-app" — the DEFAULT. Always start here. The app keeps NO local state between requests (the deployment target is stateless: AWS Lambda with a read-only filesystem, see RULES and DEPLOYMENT NOTES below); all persistence goes through external data sources.
    • "fullstack-stateful-app" — ONLY when the app genuinely requires local on-disk state between requests (e.g. a SQLite DB) AND that state cannot live in an external connected data source. When in doubt, choose stateless.
  • primary: set to "static/index.html" — the frontend ALWAYS lives in a static/ subfolder of the artifact (see steps 4 and 5 below). Use the returned <artifact_path> for ALL subsequent writes — backend.py and requirements.txt go directly in <artifact_path>/; ALL frontend files (HTML, CSS, JS, images, fonts) go into <artifact_path>/static/.
  1. TECHNICAL SPECIFICATION (as a system analyst): Create a brief technical specification for the application. The specification MUST include:
  • Brief description of what the application does (keep it concise)
  • Core features and requirements
  • REST API specification in markdown format with:
    • Endpoints and HTTP methods
    • Request/response schemas (JSON examples)
    • Error handling
  • Framework: ALWAYS use FastAPI. No other framework is supported here — every backend MUST be FastAPI so it can be invoked both locally and as an AWS Lambda function via the canonical template in step 4.
  • Key dependencies and libraries needed (in addition to the mandatory fastapi, mangum, uvicorn — see step 4)
  1. FETCH & VALIDATE SAMPLE DATA: Using the scratchpad tool:
  • Fetch representative sample data from the user's data source (API, database, file)
  • Get enough data to understand: structure, data types, volume, and shape
  • Answer these questions:
    • Is the fetched data sufficient for building the application per the spec?
    • Can this data type be used to implement the API as designed?
    • Do we need different/more data, or should the spec be revised?
  • If the answer to any question is "no" — go back to step 2 and revise the technical specification based on what you learned about the actual data

Read the full file on GitHub · 262 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 Changed · +16 lines 14e014935e78
  2. 1mo ago Changed 1774ade9fb8a
  3. 1mo ago Changed · +1 lines e873b29cef0f
  4. 2mo ago Changed · +16 lines · +15 tokens per session f37b836da235
  5. 2mo ago Changed · +51 lines 8f23e4040418
  6. 3mo ago First seen · 178 lines · 115 tokens per session scan A e848d0778fd3

Subscribe to this mod's changes

build-fullstack-backend is a skill published in the GitHub repository mindsdb/anton (753 stars, last pushed today), licensed MIT. It adds 130 tokens to every session and 6,278 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

build-fullstack-backend compared with skills from other repositories

build-fullstack-backend next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
build-fullstack-backendmindsdb/antonSkill753todayMITA130Claude Code, Codex
python-backendWrongStack/WrongStackSkill446todayMITA93Claude Code, Codex
django-forgevikisingh23/neuraforge-aiSkill45d agoApache-2.0A22Claude Code
monorepo-add-python-servicelukedj78/dev-flowSkill52d agoMITC260Claude Code
fastapi-patternsaffaan-m/ECCSkill314kyesterdayMITA35Claude Code, Kiro
stripe-projectse2b-dev/E2BSkill15kyesterdayApache-2.0A51Claude Code, Codex
azure-mgmt-botservice-pymicrosoft/skillsSkill3.3kyesterdayMITA59Claude Code