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/JansenAnalytics/claudexnpx agentmods add skills/jansenanalytics/claudex/nginx-caddyWrote 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/jansenanalytics/claudex/nginx-caddy)<a href="https://agentmods.dev/skills/jansenanalytics/claudex/nginx-caddy"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/nginx-caddy/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/jansenanalytics/claudex/nginx-caddy"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/nginx-caddy.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.00046 | $0.01288 |
| Opus 5.5 | $0.00018 | $0.00515 |
| Sonnet 5.5 | $0.00009 | $0.00258 |
| Haiku 4.5 | $0.00005 | $0.00129 |
Grade B, and why
nginx-caddy scanned grade B with 2 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 2mo 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo nginx -t Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg How it starts
The opening of the file, as written. The whole thing — 235 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Nginx & Caddy Skill
Configure Nginx or Caddy as reverse proxy with SSL.
Use When
- Setting up reverse proxies for web services
- Configuring SSL/TLS certificates (Let's Encrypt)
- Routing domains to backend services
- Load balancing or serving static files
Nginx Quick Reference
Common Commands
# Test config syntax
sudo nginx -t
# Reload (graceful)
sudo systemctl reload nginx
# View error log
sudo tail -f /var/log/nginx/error.log
# View access log
sudo tail -f /var/log/nginx/access.log
Reverse Proxy (with SSL via Certbot)
server {
listen 80;
server_name example.com;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl http2;
server_name example.com;
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
location / {
proxy_pass http://127.0.0.1:8080;
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;
}
}
WebSocket Proxy
location /ws {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}
Static Files
server {
listen 80;
server_name static.example.com;
root /var/www/static;
index index.html;
location / {
try_files $uri $uri/ =404;
}
# Cache static assets
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff2)$ {
expires 30d;
add_header Cache-Control "public, immutable";
}
}
SSL with Certbot
# Install
sudo apt install certbot python3-certbot-nginx
# Get cert + auto-configure nginx
sudo certbot --nginx -d example.com -d www.example.com
# Renew all certs
sudo certbot renew --dry-run
# Auto-renewal is installed via systemd timer
systemctl list-timers | grep certbot
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.
- 2mo ago First seen · 235 lines · 46 tokens per session scan B 51fe3a95c1bd
nginx-caddy is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 5mo ago), licensed MIT. It adds 46 tokens to every session and 1,288 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
nginx-caddy compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nginx-caddyJansenAnalytics/claudex | Skill | 5 | 5mo ago | MIT | B | 46 | Claude Code, Codex |
| nginx-docspledgeandgrow/pledge-skills | Skill | 11 | 4mo ago | MIT | A | 39 | Claude Code, Codex |
| acmebytesagain/ai-skills | Skill | 16 | 7mo ago | none | A | 68 | Claude Code, Codex |
| domains-dnsericrisco/rsc-harness | Skill | 691 | 5d ago | MIT | A | 87 | Claude Code, Codex |
| performing-ssl-certificate-lifecycle-managementxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 45 | Claude Code, Codex |
| cis-aws-foundations-2.17CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 24 | Claude Code, Codex |
| dcs-cloudGGbond-bo/MemOmics-Agent | Skill | 33 | today | MIT | A | 92 | Claude Code, Codex |