fastify-production-hardening

fastify-production-hardening is a skill for Codex from OutlineDriven/outline-driven-development. It costs 65 tokens per session (1,079 once invoked), scanned A, original, Apache-2.0.

A guide for preparing a Fastify web service for production traffic and public exposure, including limits, request controls, security settings, and shutdown handling.

In plain words
What is it for?
It is for configuring timeouts, payload limits, overload shedding, rate limiting, CORS, security headers, proxy safety, SIGTERM draining, and a measured performance baseline.
Why use it?
It addresses common operational risks such as oversized requests, overload, unsafe proxy settings, uncontrolled access, and interrupted shutdowns.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It is for configuring timeouts, payload limits, overload shedding, rate limiting, CORS, security headers, proxy safety, SIGTERM draining, and a measured performance baseline.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/outlinedriven/outline-driven-development/fastify-production-hardening
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 OutlineDriven/outline-driven-development --skill fastify-production-hardening
Clone the repo
git clone --depth 1 https://github.com/OutlineDriven/outline-driven-development

Made for: 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 fastify-production-hardening

README.md
[![agentmods](https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/fastify-production-hardening/github.svg)](https://agentmods.dev/skills/outlinedriven/outline-driven-development/fastify-production-hardening)
Your own site
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/fastify-production-hardening"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/fastify-production-hardening/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 fastify-production-hardening

Your own site · 80×15
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/fastify-production-hardening"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/fastify-production-hardening.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 1,079 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 pass 7 Sept 2026
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.01079
Opus 5 $0.00032 $0.00540
Sonnet 5 $0.00013 $0.00216
Haiku 4.5 $0.00006 $0.00108

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

Security

Grade A, and why

fastify-production-hardening 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 6d 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.

.devin/skills/fastify-production-hardening/SKILL.md · 45 lines

How it starts

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

Fastify production hardening

Contract

Field Bound contract
Trigger Preparing a Fastify service for production load and exposure: timeouts, payload limits, overload shedding, rate limiting, CORS and security headers, proxying, SIGTERM draining, performance baseline.
Authority Reversible local: edit only the service's hardening config files and run load/profiling checks against a local or staging target. Roll back by reverting the edited config files to their prior VCS revision.
Side effect Local writes to hardening config; runs load/profiling checks that generate traffic against the target.
Done All five method stages applied and verified: base limits set, overload shedding and rate limiting active, CORS and security headers configured with conditional proxy safety, graceful shutdown drains on SIGTERM, and a performance baseline committed alongside the config.

Inputs

Required: a Fastify service codebase with a server entry point and its config file(s) under VCS. Optional: a target base URL for load/profiling checks (defaults to a local instance the operator starts); expected request rate or SLO threshold for the baseline.

Procedure

  1. Base hardening limits. Read the current server entry point and config to inventory which hardening concerns are already set. Set connectionTimeout, keepAliveTimeout, requestTimeout, bodyLimit, and maxParamLength to production values. Done when: timeouts and payload limits are set in the server options.

  2. Overload shedding and rate limiting. Register @fastify/under-pressure (or equivalent memory/heap shedding) with a max heap or RSS threshold that returns 503 under pressure. Register @fastify/rate-limit with a global max and time window, plus per-route overrides for expensive endpoints. Set trustProxy so the limiter and logs see the real client IP behind a reverse proxy. Done when: under-pressure shedding returns 503 under load and rate limiting is registered with global max, time window, per-route overrides, and trustProxy set.

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

Subscribe to this mod's changes

fastify-production-hardening is a skill published in the GitHub repository OutlineDriven/outline-driven-development (52 stars, last pushed 4d ago), licensed Apache-2.0. It adds 65 tokens to every session and 1,079 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-09-03.

Related

Other skills, from other repositories

azure-eventhub-dotnet

Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming"…

microsoft/skills · 94 tokens

cloudbase

Development instructions for CloudBase projects, Tencent Cloud's development platform, including websites, mini-programs, mobile apps, databases, authentication, and APIs. They define an exploration, implementation, and code-review workflow.

TencentCloudBase/CloudBase-AI-Toolkit · 311 tokens

deployment

Serve a quantized or unquantized LLM checkpoint as an OpenAI-compatible API endpoint using vLLM, SGLang, or TRT-LLM. Use when user says "deploy model", "serve model", "start vLLM server", "launch SGLang", "TRT-LLM deploy", "AutoDeploy", "benchmark throughput", "serve checkpoint", or needs an inference endpoint from a…

NVIDIA/Model-Optimizer · 117 tokens

architecture-paradigm-microservices

Applies microservices for independent deployment and per-service scaling. Use when teams need autonomous release cycles with distinct capability scaling needs.

athola/claude-night-market · 33 tokens

google-firebase-ninja

Master orchestrator for 18+ Firebase agent skills from official Google repositories. Use when working with Firebase, Firestore, Firebase Auth, Firebase Hosting, Cloud Functions, Firebase Extensions, or any Firebase backend task. Routes to the optimal specialized skill based on context. Triggers: Firebase, Firestore…

fabricioctelles/jump-skills · 98 tokens

gcp-cloud-functions

Deploy serverless functions on Google Cloud Functions. Configure triggers and manage deployments. Use when implementing serverless workloads on GCP.

BagelHole/DevOps-Security-Agent-Skills · 30 tokens