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.
git clone --depth 1 https://github.com/alivirgo/Major-AI-Skillsnpx agentmods add skills/alivirgo/major-ai-skills/expressWrote 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.
[](https://agentmods.dev/skills/alivirgo/major-ai-skills/express)<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/express"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/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.
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/express"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/express.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00021 | $0.00834 |
| Opus 5 | $0.00010 | $0.00417 |
| Sonnet 5 | $0.00004 | $0.00167 |
| Haiku 4.5 | $0.00002 | $0.00083 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Express.js HTTP APIs AI Skill Guide
Overview & Engine Architecture
Express is a minimal Node HTTP framework built around middleware chains and routers. Request flows top-to-bottom; the first matching route wins unless next() continues. Agents keep middleware ordered correctly (parsers before handlers, error middleware last), wrap async routes so rejections reach the error handler, and validate input before business logic.
req -> middleware... -> router -> handler
\-> next(err) -> error middleware -> res
When to use this skill
- Building REST/JSON APIs on Node
- Splitting apps into domain routers
- Fixing hanging requests from unhandled async errors
- Adding auth, logging, and rate-limit middleware
Operational directives
- Mount
express.json()/ urlencoded only where needed; cap body size. - Put four-arg error middleware
(err, req, res, next)after all routes. - Wrap async handlers or use a helper so rejected promises call
next(err). - Use
Router()per domain; keepapp.js/server.jsthin. - Never trust
req.bodyshape - validate with zod/joi or similar.
App sketch
import express from "express";
const app = express();
app.use(express.json({ limit: "100kb" }));
const items = express.Router();
items.get("/", (_req, res) => {
res.json([{ id: 1, sku: "A" }]);
});
items.post("/", (req, res, next) => {
Promise.resolve()
.then(() => {
const sku = req.body?.sku;
if (typeof sku !== "string" || !sku) {
const err = new Error("sku required");
err.status = 400;
throw err;
}
res.status(201).json({ id: 2, sku });
})
.catch(next);
});
app.use("/items", items);
app.use((err, _req, res, _next) => {
const status = err.status ?? 500;
res.status(status).json({ error: err.message ?? "internal error" });
});
app.listen(3000);
Commands
npm install express
node --watch src/server.js
NODE_ENV=production node src/server.js
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.
- today Changed · -5 tokens per session 7c20b045df40
- 6d ago First seen · 112 lines · 26 tokens per session scan A 23771cf93ba0
express is a skill published in the GitHub repository alivirgo/Major-AI-Skills (1 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 834 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-05.
Other skills, from other repositories
api-endpoint-builder-v2
API Endpoint Builder workflow skill. Use this skill when the user needs Builds production-ready REST API endpoints with validation, error handling, authentication, and documentation. Follows best practices for security and scalability and the operator should preserve the upstream workflow, copied support files, and…
express-docs
Comprehensive Express.js reference covering getting started, routing, middleware, error handling, the Application/Request/Response/Router API objects, template engines, debugging, database integration, security, performance, production patterns, and migration guides. Use whenever the user mentions Express, Express.js…
Express.js Testing Patterns
Express.js API testing with supertest, middleware testing, route handler testing, error handling verification, and authentication testing.
backend
Backend development with Node.js, Express, NestJS, and server patterns.
api-endpoint-builder
API Endpoint Builder workflow skill. Use this skill when the user needs Builds production-ready REST API endpoints with validation, error handling, authentication, and documentation. Follows best practices for security and scalability and the operator should preserve the upstream workflow, copied support files, and…
api-rate-limit-handler
Implement bounded, idempotency-aware API throttling, backoff, and retry handling for 429 and transient 5xx responses.