nginx-expert

nginx-expert is a skill for Claude Code from pwdev-solucoes/pwdev-claude-marketplace. It costs 78 tokens per session (800 once invoked), scanned A, original, Apache-2.0.

An Nginx configuration and troubleshooting guide for reverse proxies, TLS, HTTP versions, caching, compression, rate limits, and load balancing. Nginx is a web server often placed in front of an application.

In plain words
What is it for?
Use it to inspect effective Nginx configuration, diagnose 502 and 504 errors, configure proxying and TLS, and validate changes before reloading.
Why use it?
It helps explain gateway errors, certificate failures, incorrect routing, and slow upstream applications before configuration changes are applied.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pwdev-devops plugin — 19 skills, 5 commands, 4 agents shipped together

Good fit Use it to inspect effective Nginx configuration, diagnose 502 and 504 errors, configure proxying and TLS, and validate changes before reloading.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pwdev-solucoes/pwdev-claude-marketplace/nginx-expert
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 pwdev-solucoes/pwdev-claude-marketplace --skill nginx-expert
Clone the repo
git clone --depth 1 https://github.com/pwdev-solucoes/pwdev-claude-marketplace

Made for: Claude Code.

Or install pwdev-devops, the plugin that ships this one along with the rest of its 19 skills, 5 commands, 4 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pwdev-solucoes/pwdev-claude-marketplace/nginx-expert"><img src="https://agentmods.dev/badge/skills/pwdev-solucoes/pwdev-claude-marketplace/nginx-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 800 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.00078 $0.00800
Opus 5 $0.00039 $0.00400
Sonnet 5 $0.00016 $0.00160
Haiku 4.5 $0.00008 $0.00080

Measured 7d ago against content hash 24fe7e4ed805, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

nginx-expert 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 7d 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.

plugins/pwdev-devops/skills/nginx-expert/SKILL.md · 79 lines

How it starts

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

Nginx Expert

Você configura a porta de entrada. Um erro aqui derruba tudo que está atrás.

Portão de segurança

nginx -t e leitura de config rodam livres. nginx -s reload e edição de config exigem confirmação.

Sempre nginx -t antes de qualquer reload. Reload com config inválida derruba o serviço inteiro. Não há exceção a esta regra.

Diagnóstico por código

Código Causa provável Verificar
502 upstream morto ou recusando app viva? porta certa? SG?
504 upstream lento demais proxy_read_timeout vs. tempo real da app
413 corpo maior que o limite client_max_body_size
499 cliente desistiu antes app lenta — o problema é upstream
404 inesperado root/alias ou ordem de location nginx -T mostra a config efetiva
TLS falha cadeia incompleta, certificado expirado openssl s_client -connect host:443

nginx -T (maiúsculo) despeja a configuração efetiva, com todos os includes resolvidos. É o comando que resolve "mas eu configurei isso".

Reverse proxy — base

location / {
    proxy_pass http://backend;
    proxy_http_version 1.1;
    proxy_set_header Host              $host;
    proxy_set_header X-Real-IP         $remote_addr;
    proxy_set_header X-Forwarded-For   $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;   # sem isto, app gera URL http
    proxy_read_timeout 60s;
}

Esquecer X-Forwarded-Proto atrás de ALB é a causa clássica de loop de redirecionamento e link http em página https.

Rate limit

limit_req_zone $binary_remote_addr zone=api:10m rate=10r/s;
location /api/ { limit_req zone=api burst=20 nodelay; }

Atrás de proxy, $binary_remote_addr é o IP do proxy — configure real_ip_header antes, ou você limita o proxy inteiro.

TLS

  • TLS 1.2 e 1.3 apenas
  • ssl_certificate com a cadeia completa (fullchain), não só o certificado
  • HSTS depois de confirmar que todo o tráfego é https
  • OCSP stapling quando disponível

Read the full file on GitHub · 79 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. 7d ago First seen · 79 lines · 78 tokens per session scan A 24fe7e4ed805

Subscribe to this mod's changes

nginx-expert is a skill published in the GitHub repository pwdev-solucoes/pwdev-claude-marketplace (2 stars, last pushed today), licensed Apache-2.0. It adds 78 tokens to every session and 800 once invoked, about $0.0004 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

stripe-projects

Provision SaaS services + sync creds via Stripe Projects.

NousResearch/hermes-agent · 15 tokens

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

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

cve

Look up CVE records via x cve — cached, zero-API-key, daily xz TSV. Load for cve, vulnerability id, kev, epss, nvd, cvelist, or security advisory.

x-cmd/x-cmd · 49 tokens

wikipedia

Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.

x-cmd/x-cmd · 49 tokens

django-storages-s3

Use when configuring Django to store static and media files on AWS S3 with django-storages. Invoke when working with the STORAGES setting, S3 buckets, presigned URLs, CloudFront, or boto3-backed file storage in settings.py. Configures the Django 4.2+ STORAGES dict, public/private custom backends, presigned GET/POST…

Jeffallan/claude-skills · 138 tokens