nginx

nginx is a skill for Claude Code, Codex from RightNow-AI/openfang. It costs 20 tokens per session (740 once invoked), scanned A, original, Apache-2.0.

An Nginx configuration specialist. Nginx is web-server software that can serve websites, forward requests to application servers, balance traffic, and handle encrypted connections.

In plain words
What is it for?
Use it to configure reverse proxies, load balancing, virtual hosts, TLS, access rules, structured logs, upstream services, and tested reloads.
Why use it?
It helps prevent routing and security mistakes, improve request performance, and apply configuration changes safely without unnecessary downtime.

Skill for Claude CodeCodex

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

Good fit Use it to configure reverse proxies, load balancing, virtual hosts, TLS, access rules, structured logs, upstream services, and tested reloads.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rightnow-ai/openfang/nginx
About the project

OpenFang is an open-source operating system for autonomous AI agents, built in Rust to run agents that perform scheduled work such as research, monitoring, lead generation, and reporting. It is for people who want agents to operate continuously rather than only respond to prompts. The catalogue add-ons extend workflows around the OpenFang agent system.

RightNow-AI/openfang · 18,296 stars · on GitHub · openfang.sh

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 RightNow-AI/openfang --skill nginx
Clone the repo
git clone --depth 1 https://github.com/RightNow-AI/openfang

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/rightnow-ai/openfang/nginx/github.svg)](https://agentmods.dev/skills/rightnow-ai/openfang/nginx)
Your own site
<a href="https://agentmods.dev/skills/rightnow-ai/openfang/nginx"><img src="https://agentmods.dev/badge/skills/rightnow-ai/openfang/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/rightnow-ai/openfang/nginx"><img src="https://agentmods.dev/badge/skills/rightnow-ai/openfang/nginx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 740 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.00020 $0.00740
Opus 5.5 $0.00008 $0.00296
Sonnet 5.5 $0.00004 $0.00148
Haiku 4.5 $0.00002 $0.00074

Measured 3mo ago against content hash 54942c40b04b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • nginx — 100% identical, 0 lines differ
  • nginx — 97% identical, 3 lines differ
crates/openfang-skills/bundled/nginx/SKILL.md · 39 lines

How it starts

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

Nginx Configuration and Performance

You are a senior systems engineer specializing in Nginx configuration for reverse proxying, load balancing, TLS termination, and high-performance web serving. You write configurations that are secure by default, well-structured with includes, and optimized for throughput and latency. You understand the directive inheritance model and the difference between server, location, and upstream contexts.

Key Principles

  • Use separate server {} blocks for each virtual host; never overload a single block with unrelated routing
  • Terminate TLS at the edge with modern cipher suites and forward plaintext to backend upstreams
  • Apply the principle of least privilege in location blocks; deny by default and allow specific paths
  • Log structured access logs with upstream timing for debugging latency issues
  • Test every configuration change with nginx -t before reload; never restart when reload suffices

Techniques

  • Configure upstream blocks with upstream backend { server 127.0.0.1:8080; server 127.0.0.1:8081; } and reference via proxy_pass http://backend
  • Set proxy_set_header Host $host, X-Real-IP $remote_addr, and X-Forwarded-For $proxy_add_x_forwarded_for for correct header propagation
  • Enable TLS 1.2+1.3 with ssl_protocols TLSv1.2 TLSv1.3 and use ssl_prefer_server_ciphers on with a curated cipher list
  • Apply rate limiting with limit_req_zone $binary_remote_addr zone=api:10m rate=10r/s and limit_req zone=api burst=20 nodelay
  • Enable gzip with gzip on; gzip_types text/plain application/json application/javascript text/css; gzip_min_length 256;
  • Proxy WebSocket connections with proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";

Common Patterns

  • Security Headers Block: Add add_header X-Frame-Options DENY, X-Content-Type-Options nosniff, Strict-Transport-Security "max-age=31536000; includeSubDomains" as a reusable include file
  • Static Asset Caching: Use location ~* \.(js|css|png|jpg|woff2)$ { expires 1y; add_header Cache-Control "public, immutable"; } for cache-friendly static files
  • Health Check Endpoint: Define location /health { access_log off; return 200 "ok"; } to keep health probes out of access logs
  • Graceful Backend Failover: Configure proxy_next_upstream error timeout http_502 http_503 with max_fails=3 fail_timeout=30s on upstream servers

Read the full file on GitHub · 39 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. 3mo ago First seen · 39 lines · 20 tokens per session scan A 54942c40b04b

Subscribe to this mod's changes

nginx is a skill published in the GitHub repository RightNow-AI/openfang (18,296 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 20 tokens to every session and 740 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

nginx compared with skills from other repositories

nginx next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nginxRightNow-AI/openfangSkill18k5mo agoApache-2.0A20Claude Code, Codex
githubHKUDS/nanobotSkill50ktodayMITA19Claude Code, Codex
horizonThysrael/HorizonSkill15ktodayMITA95Claude Code, Codex
intelligence-vocabularyCopilotKit/CopilotKitSkill39ktodayMITA79Claude Code
migrating-openai-agents-sdk-to-pydantic-aipydantic/pydantic-aiSkill21ktodayMITA87Codex
sd-recon-enginelixiaoxiao9888-create/manju-laoli-skillSkill3.5k4d agoMITA334Claude Code, Codex
sd-decision-enginelixiaoxiao9888-create/manju-laoli-skillSkill3.5k4d agoMITA207Claude Code, Codex