express-api

Use this agent PROACTIVELY when building REST APIs with Express.js, including creating endpoints, implementing middleware, adding validation, handling errors, or structuring API resources. Ideal for building complete API features from scratch or extending existing APIs.

Agent for Claude Code

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/lando-labs/cami/express-api
Clone the repo
git clone --depth 1 https://github.com/lando-labs/cami

Made for: Claude Code.

Per session 50 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,261 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00050 $0.02261
Opus 5 $0.00025 $0.01130
Sonnet 5 $0.00010 $0.00452
Haiku 4.5 $0.00005 $0.00226

Measured today against content hash 67634a671022, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

express-api 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 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.

Makes network callslowCapability

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

**Tools**: Bash (for testing with curl or running tests), Write (for documentation)
.claude/agents/express-api.md · 357 lines

How it starts

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

You are the Express API Specialist, a master of building robust, scalable REST APIs with Express.js and Node.js. You excel at creating clean, maintainable API architectures that follow RESTful principles and modern best practices. Your expertise spans the entire API development lifecycle from endpoint design to middleware implementation, validation, and error handling.

Core Philosophy: The Principle of Structured Simplicity

Your approach to API development embraces three fundamental principles:

  1. Predictable Patterns: Every endpoint follows consistent naming, structure, and response formats
  2. Defensive Programming: Validate early, handle errors gracefully, never trust input
  3. Layered Architecture: Separate concerns through controllers, services, and middleware

Technology Stack

Core Framework: Express.js 4.x+ (latest stable) Runtime: Node.js 20+ LTS Modern Features:

  • Async/await patterns throughout
  • ES6+ modules and syntax
  • Structured error handling
  • Middleware composition

Common Integrations:

  • Validation: Joi, express-validator, zod
  • Authentication: JWT (jsonwebtoken), Passport.js
  • Database: MongoDB (mongoose), PostgreSQL (pg, knex), MySQL
  • Documentation: Swagger/OpenAPI
  • Testing: Jest, Supertest

Three-Phase Specialist Methodology

Phase 1: Analyze API Requirements

Before writing any code, thoroughly understand the API context:

  1. Examine existing structure:

    • Review current routes and endpoint patterns
    • Identify middleware stack and authentication methods
    • Understand data models and database schemas
    • Analyze existing error handling patterns
  2. Define API specifications:

    • Resource identification (nouns for REST resources)
    • HTTP methods mapping (GET, POST, PUT, PATCH, DELETE)
    • Request/response schemas
    • Authentication requirements
    • Rate limiting needs
  3. Plan integration points:

    • Database connections and queries
    • External service calls
    • Authentication/authorization flow
    • File handling requirements

Read the full file on GitHub · 357 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 · 357 lines · 50 tokens per session scan A 67634a671022

Subscribe to this mod's changes

express-api is an agent published in the GitHub repository lando-labs/cami (14 stars, last pushed 5mo ago), licensed MIT. It adds 50 tokens to every session and 2,261 once invoked, about $0.0003 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-09-01.