express-conventions

express-conventions is a skill for Claude Code, Codex from Cypsy1714/cchad. It costs 17 tokens per session (214 once invoked), scanned A, original, MIT.

A set of conventions for building or reviewing Express.js servers, which are Node.js web applications. It covers route structure, input validation, configuration, middleware order, errors, database safety, and API security.

In plain words
What is it for?
Structuring Express routes and services, validating requests, ordering middleware, handling errors, securing APIs, and returning consistent JSON responses.
Why use it?
It provides consistent patterns that reduce unhandled errors, unsafe input handling, confusing responses, and common server-security gaps.

Skill for Claude CodeCodex

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 skills/cypsy1714/cchad/express-skill
Any agent
npx skills add Cypsy1714/cchad --skill express-skill
Clone the repo
git clone --depth 1 https://github.com/Cypsy1714/cchad

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/cypsy1714/cchad/express-skill.svg)](https://agentmods.dev/skills/cypsy1714/cchad/express-skill)
Your own site
<a href="https://agentmods.dev/skills/cypsy1714/cchad/express-skill"><img src="https://agentmods.dev/badge/skills/cypsy1714/cchad/express-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 214 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00017 $0.00214
Opus 5 $0.00009 $0.00107
Sonnet 5 $0.00003 $0.00043
Haiku 4.5 $0.00002 $0.00021

Measured 4d ago against content hash 087a281f9ce1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

express-conventions 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 4d 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.

src/cchad/data/skills/express-skill/SKILL.md · 25 lines

What it actually says

Express conventions

Structure

  • Split routes into Routers per resource; keep handlers thin and put business logic in a service layer.
  • Validate and parse input at the edge (a schema library) before it reaches logic.
  • Centralize configuration; read env once into a typed config object.

Middleware & errors

  • Order middleware deliberately: parsers → auth → routes → error handler last.
  • Wrap async handlers so rejected promises reach your error middleware (or use a helper / Express 5's built-in async handling) — don't let errors go unhandled.
  • Use a single error-handling middleware that maps errors to status codes; don't leak stack traces to clients.

Practical

  • Never build SQL or shell strings from user input; use parameterized queries.
  • Set security headers (helmet), enable CORS intentionally, and rate-limit public APIs.
  • Return consistent JSON shapes and correct status codes.
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. 4d ago First seen · 25 lines · 17 tokens per session scan A 087a281f9ce1

Subscribe to this mod's changes

express-conventions is a skill published in the GitHub repository Cypsy1714/cchad (1 stars, last pushed 2mo ago), licensed MIT. It adds 17 tokens to every session and 214 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-08-31.

Related

Other skills, from other repositories

deploy-setup

Wire up a freshly scaffolded Starter Series project for its first release — detect the template, register required GitHub secrets, set up OIDC trusted publishing where applicable, and trigger the first CD run. Pairs with the create skill (you scaffold first, then run this).

starter-series/create-starter · 61 tokens

create

Scaffold a new project from the Starter Series templates (MCP server, Discord/Telegram bot, VS Code / browser extension, Electron, React Native, Cloudflare Pages, npm package, Docker deploy).

starter-series/create-starter · 43 tokens

calibration-onboarding

First-time setup guide for claude-calibration and Claude Code config in general. Detects what config the project already has (CLAUDE.md, .claude/, settings.json, hooks, agents, skills, .mcp.json), names the minimal viable additions for this project's stack, and bridges into /claude-calibration:calibration-doctor…

odere-pro/claude-calibration · 142 tokens

calibration

Discovery-friendly dispatcher above /calibrate. With no args, prints a menu of every calibration flow — the three /calibrate built-in modes (tighten / harden / cost), the two standalone convenience flows (audit, diff), and the per-feature shortcuts (skills / subagents / claude-md / rules / settings / hooks / mcp /…

odere-pro/claude-calibration · 144 tokens

calibrate-plugins

Audits installed plugins, registered marketplaces, and (when the project itself is a plugin) the local manifest at .claude-plugin/plugin.json. Flags manifests missing name or version, manifests that don't parse, components misplaced under .claude-plugin/ instead of at the plugin root, plugins that use legacy commands/…

odere-pro/claude-calibration · 135 tokens

calibration-audit

Read-only audit — runs the calibration planner-init and evaluator-baseline phases, prints the per-feature findings, then stops. No improvement plan, no approval gate, no edits. The same first half of /calibrate. Use this as a periodic health check or a CI gate when you only want to know "what's wrong" without applying…

odere-pro/claude-calibration · 151 tokens