backend-agent

backend-agent is a skill for Claude Code from ivy00johns/Skill-Madness. It costs 41 tokens per session (2,018 once invoked), scanned A, original, MIT.

A role for a coding agent that builds the server side of a multi-agent application: API endpoints, business rules, database structure, queries, and server configuration. It works from shared contracts, which define how parts of the application must connect.

In plain words
What is it for?
Use it in orchestrated multi-agent builds to implement backend APIs, services, models, middleware, utilities, and database layers.
Why use it?
It gives frontend and database work a defined server interface to build against. The contract-first process helps prevent mismatched endpoints and data structures between agents.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the skill-madness plugin — 80 skills shipped together

Good fit Use it in orchestrated multi-agent builds to implement backend APIs, services, models, middleware, utilities, and database layers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ivy00johns/skill-madness/backend-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.

Any agent
npx skills add ivy00johns/Skill-Madness --skill backend-agent
Clone the repo
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness

Made for: Claude Code.

Or install skill-madness, the plugin that ships this one along with the rest of its 80 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ivy00johns/skill-madness/backend-agent.svg)](https://agentmods.dev/skills/ivy00johns/skill-madness/backend-agent)
Your own site
<a href="https://agentmods.dev/skills/ivy00johns/skill-madness/backend-agent"><img src="https://agentmods.dev/badge/skills/ivy00johns/skill-madness/backend-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,018 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.
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.00041 $0.02018
Opus 5 $0.00020 $0.01009
Sonnet 5 $0.00008 $0.00404
Haiku 4.5 $0.00004 $0.00202

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

Security

Grade A, and why

backend-agent 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 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.

Makes network callslowCapability

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

compatibility: "Claude Code; requires Bash for curl/test commands"
skills/roles/backend-agent/SKILL.md · 166 lines

How it starts

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

Backend Agent

Pipeline position. Spawned by orchestrator after contracts are authored. Reads contract-author's output from /contracts/. Provides handler implementations that qe-agent contract_conformance score validates. Owns: src/api/, src/services/, src/models/, src/middleware/, src/utils/.

Build the API server, business logic, and data layer. You produce the API contract — your endpoints are what the frontend builds against.

When this skill applies

This skill assumes a contract-first multi-agent build model:

  • An orchestrator dispatches role-agents in parallel
  • Each role-agent consumes a machine-readable contract from /contracts/
  • qe-agent gates the build via qa-report.json

For single-agent or ad-hoc work, this skill is not the right tool.

Role

You are the backend agent for a multi-agent build. You own the server runtime, API endpoints, business logic, data layer (database schema, queries, ORM models), and server-side configuration. Your code is the integration backbone — both the frontend and database depend on your interfaces being correct.

Prioritize: contract compliance (endpoints must exactly match the API contract), data integrity (storage semantics are correct), error handling (every failure returns the contracted error envelope), and CORS (the #1 integration failure).

Inputs

You receive from the lead:

  • plan_excerpt — API, business logic, and data sections
  • api_contract — versioned API contract (URLs, methods, request/response shapes, error envelope, SSE format)
  • data_contract — versioned data layer contract (function signatures, storage semantics, cascade behavior)
  • shared_types — shared type definitions
  • ownership — your files/directories and off-limits boundaries
  • tech_stack — framework, database, ORM
  • cross_cutting — CORS, URL conventions, error format, env config

Your Ownership

  • Own: src/api/, src/services/, src/models/, src/middleware/, src/utils/ (directory names adapt to project conventions — frontmatter owns.directories is canonical)
  • Conditionally own: .env, requirements.txt / package.json (confirm with lead if not already assigned)
  • NOT yours: .env.example is owned exclusively by infrastructure-agent. Define the variables your services read and the safe local-dev defaults, then hand them to infrastructure-agent (via the lead) to write into .env.example. Do not create or edit .env.example yourself.
  • Read-only: contracts/, shared/, src/types/
  • Off-limits: src/components/, src/pages/ (frontend), src/telemetry/, src/logging/ (observability), migrations/ (db-migration), Dockerfile*, docker-compose* (infrastructure), all other agents' directories

Read the full file on GitHub · 166 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 166 lines · 41 tokens per session scan A 14f5a9db2828

Subscribe to this mod's changes

backend-agent is a skill published in the GitHub repository ivy00johns/Skill-Madness (11 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 2,018 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens

convex-explain-app

Explain an existing Convex app — data model + relationships, public vs internal functions, auth/ownership model, components, a request→data flow — read from the schema and function surface. Read-only.

openclaw/clawhub · 47 tokens

platform-custom-field-generate

Use this skill when users need to create, generate, or validate Salesforce Custom Field metadata. Trigger when users mention custom fields, field types, Roll-up Summary fields, Master-Detail relationships, Lookup relationships, formula fields, picklists, dependent (controlling) picklists, referencing a value set from…

forcedotcom/sf-skills · 194 tokens

openloomi-api

OpenLoomi ships a local-first HTTP API served from the desktop app (port 3414, fallback 3515). All auth, Memory, AI, RAG, Loop, and Audit data live in a local SQLite database — your data stays on your machine and the OpenLoomi app is the source of truth. The only externally-routed auth path is the Composio OAuth…

melandlabs/openloomi · 106 tokens

nornicdb-grpc

Drive NornicDB over gRPC — the Qdrant-compatible surface (Collections, Points, Snapshots) plus the additive NornicSearch service. Use when ingesting via Qdrant SDKs, migrating from Qdrant, or running hybrid text+vector search from a non-Bolt client. Covers connection, RPC catalog, collection→database mapping…

orneryd/NornicDB · 98 tokens

field-service-sobject-create-configure

Headless 360 REST API deployment step for creating sObject records. Handles describe-based field discovery, required-field derivation, entity-relationship ordering, and composite graph transactions. Use this skill when a designer skill (or a user directly) needs to create sObject records after design confirmation…

forcedotcom/sf-skills · 74 tokens