express

express is a skill for Claude Code, Codex from JakubMikolajek/codex-skills-collection. It costs 65 tokens per session (5,320 once invoked), scanned A, original, MIT.

A set of patterns for building and reviewing Express.js applications in TypeScript. Express.js is a Node.js web framework commonly used to create server routes and APIs.

In plain words
What is it for?
Use it to build or refactor Express services, routers, controllers, middleware, request validation, authorization, error handling, and related API code.
Why use it?
It helps keep routes, validation, authentication, errors, file uploads, background work, and database access organized and testable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { validateRequest } from '../../middleware/validate.middleware';.

Good fit Use it to build or refactor Express services, routers, controllers, middleware, request validation, authorization, error handling, and related API code.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/JakubMikolajek/codex-skills-collection
agentmods
npx agentmods add skills/jakubmikolajek/codex-skills-collection/express

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 express

README.md
[![agentmods](https://agentmods.dev/badge/skills/jakubmikolajek/codex-skills-collection/express/github.svg)](https://agentmods.dev/skills/jakubmikolajek/codex-skills-collection/express)
Your own site
<a href="https://agentmods.dev/skills/jakubmikolajek/codex-skills-collection/express"><img src="https://agentmods.dev/badge/skills/jakubmikolajek/codex-skills-collection/express/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 express

Your own site · 80×15
<a href="https://agentmods.dev/skills/jakubmikolajek/codex-skills-collection/express"><img src="https://agentmods.dev/badge/skills/jakubmikolajek/codex-skills-collection/express.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,320 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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: 3 findings, up to high

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 →

  • high Privilege Escalation · line 305
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 311
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Excessive Agency · line 284
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00065 $0.05320
Opus 5 $0.00032 $0.02660
Sonnet 5 $0.00013 $0.01064
Haiku 4.5 $0.00006 $0.00532

Measured 12d ago against content hash 6a6735728a7b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

express 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 12d 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.

skills/express/SKILL.md · 785 lines

How it starts

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

Express Implementation Patterns

Use this skill to keep Express applications modular, type-safe, secure, testable, and predictable.

Express is intentionally minimal. Keep application structure explicit rather than concentrating the entire backend in app.ts.

When to Use

Use this skill when:

  • Implementing or refactoring an Express.js application, router, controller, service, repository, or middleware.
  • Designing runtime validation, authentication, error handling, file uploads, or request lifecycle behavior in Express.
  • Reviewing an Express TypeScript API for architecture, security, performance, observability, or test coverage.
  • Migrating between Express 4 and Express 5 or changing async route and error-handling behavior.

When NOT to Use

Do not use this skill when:

  • The service is implemented with NestJS, FastAPI, Spring Boot, or another backend framework with its own dedicated skill.
  • The task is limited to frontend TypeScript, React, Vue, Angular, or browser-only code.
  • The task concerns only SQL, infrastructure, containerization, or CI configuration without Express application changes.

Delivery Workflow

Use the checklist below and track progress:

Express progress:
- [ ] Step 1: Discover app structure, routing conventions, and middleware order
- [ ] Step 2: Model request schemas, validation, and authorization boundaries
- [ ] Step 3: Implement router/controller/service/repository responsibilities cleanly
- [ ] Step 4: Handle errors, async flow, side effects, and infrastructure concerns explicitly
- [ ] Step 5: Verify tests, security, observability, and production runtime behavior

Architecture Rules

  • Keep app.ts focused on app composition only: middleware, routes, error handlers, and infrastructure wiring.
  • Keep server.ts focused on process startup: config loading, port binding, graceful shutdown, and fatal error handling.
  • Keep routers thin: route definitions, middleware composition, controller binding.
  • Keep controllers thin: parse validated request data, delegate to services, map responses.
  • Put business logic in services or domain collaborators, not routers, middleware, or controllers.
  • Isolate database access behind repositories/data-access modules.
  • Keep validation, authorization, persistence, mapping, and side effects separate.
  • Avoid circular imports by organizing dependencies inward: route → controller → service → repository.
  • Reuse project-standard config, logging, validation, and error patterns before introducing new abstractions.

Read the full file on GitHub · 785 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. 12d ago First seen · 785 lines · 65 tokens per session scan A 6a6735728a7b

Subscribe to this mod's changes

express is a skill published in the GitHub repository JakubMikolajek/codex-skills-collection (5 stars, last pushed 7d ago), licensed MIT. It adds 65 tokens to every session and 5,320 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

adapter-express

Mount tRPC as Express middleware with createExpressMiddleware() from @trpc/server/adapters/express. Access Express req/res in createContext via CreateExpressContextOptions. Mount at a path prefix like app.use('/trpc', ...). Avoid global express.json() conflicting with tRPC body parsing for FormData.

trpc/trpc · 67 tokens

trpc-router

Entry point for all tRPC skills. Decision tree routing by task: initTRPC.create(), t.router(), t.procedure, createTRPCClient, adapters, subscriptions, React Query, Next.js, links, middleware, validators, error handling, caching, FormData.

trpc/trpc · 59 tokens

stripe-projects

Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.

e2b-dev/E2B · 51 tokens

chat-sdk

Build multi-platform chat bots with Chat SDK (chat npm package). Use when developers want to (1) Build a Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, or WhatsApp bot, (2) Use Chat SDK to handle mentions, direct messages, subscribed threads, reactions, slash commands, cards, modals, files, or AI…

vercel-labs/open-agents · 191 tokens

nestjs-expert

Creates and configures NestJS modules, controllers, services, DTOs, guards, and interceptors for enterprise-grade TypeScript backend applications. Use when building NestJS REST APIs or GraphQL services, implementing dependency injection, scaffolding modular architecture, adding JWT/Passport authentication, integrating…

Jeffallan/claude-skills · 107 tokens

fastify-best-practices

Guides development of Fastify Node.js backend servers and REST APIs using TypeScript or JavaScript. Use when building, configuring, or debugging a Fastify application — including defining routes, implementing plugins, setting up JSON Schema validation, handling errors, optimising performance, managing authentication…

mcollina/skills · 137 tokens