nginx

nginx is a skill for Claude Code, Codex from G1Joshi/Agent-Skills. It costs 22 tokens per session (389 once invoked), scanned A, original, MIT.

A guide to Nginx, software that serves web files and forwards web requests to application servers.

In plain words
What is it for?
Use it to host static websites, act as a reverse proxy or load balancer, and route traffic to services such as Node.js or Python apps.
Why use it?
It provides one place to handle HTTPS, traffic distribution, caching, and connections to backend applications.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to host static websites, act as a reverse proxy or load balancer, and route traffic to services such as Node.js or Python apps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/g1joshi/agent-skills/nginx
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 G1Joshi/Agent-Skills --skill nginx
Clone the repo
git clone --depth 1 https://github.com/G1Joshi/Agent-Skills

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 nginx

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/nginx"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/nginx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 389 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.
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.00022 $0.00389
Opus 5 $0.00011 $0.00195
Sonnet 5 $0.00004 $0.00078
Haiku 4.5 $0.00002 $0.00039

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

Security

Grade A, and why

nginx 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 9d 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/devops/nginx/SKILL.md · 65 lines

What it actually says

Nginx

Nginx is the world's most popular web server. v1.25+ (2025) supports HTTP/3 (QUIC) natively.

When to Use

  • Reverse Proxy: Termination of SSL, load balancing to backend apps (Node/Python).
  • Static Content: Serving React/Vue bundles efficiently.
  • Ingress: Nginx Ingress Controller is the standard K8s ingress.

Quick Start

# nginx.conf
server {
    listen 443 quic reuseport;
    listen 443 ssl;
    http2 on;

    server_name example.com;
    ssl_certificate cert.pem;
    ssl_certificate_key key.pem;

    location / {
        proxy_pass http://localhost:3000;
        add_header Alt-Svc 'h3=":443"; ma=86400';
    }
}

Core Concepts

Worker Processes

Event-driven architecture. Handles 10k+ connections with low RAM.

Contexts

http, server, location. Configuration inheritance rules.

Modules

Extend functionality (e.g., ngx_http_stub_status_module for metrics).

Best Practices (2025)

Do:

  • Enable HTTP/3: Enable QUIC for lower latency over unreliable networks.
  • Tune Buffers: Optimizing client_body_buffer_size prevents disk I/O.
  • Security Headers: Always set HSTS, X-Frame-Options, etc.

Don't:

  • Don't using if is evil: Avoid complex logic in Nginx config. Use try_files or map.

References

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. 9d ago First seen · 65 lines · 22 tokens per session scan A 7507d197a219

Subscribe to this mod's changes

nginx is a skill published in the GitHub repository G1Joshi/Agent-Skills (12 stars, last pushed 7mo ago), licensed MIT. It adds 22 tokens to every session and 389 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-03.