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.
npx skills add pproenca/dot-skills --skill nginx-c-module-perfgit clone --depth 1 https://github.com/pproenca/dot-skillsWrote 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/pproenca/dot-skills/nginx-c-module-perf)<a href="https://agentmods.dev/skills/pproenca/dot-skills/nginx-c-module-perf"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/nginx-c-module-perf/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/pproenca/dot-skills/nginx-c-module-perf"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/nginx-c-module-perf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00082 | $0.01849 |
| Opus 5.5 | $0.00033 | $0.00740 |
| Sonnet 5.5 | $0.00016 | $0.00370 |
| Haiku 4.5 | $0.00008 | $0.00185 |
Grade A, and why
nginx-c-module-perf 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
nginx.org C Module Performance & Reliability Best Practices
Comprehensive performance optimization and reliability guide for nginx C modules, derived from the official nginx development documentation and production engineering experience. Contains 43 rules across 8 categories, prioritized by impact to guide automated optimization and resilience improvements.
Companion skill: This skill complements nginx-c-modules which covers correctness (memory safety, request lifecycle, configuration). This skill covers performance optimization and operational reliability.
When to Apply
Reference these guidelines when:
- Optimizing nginx C module throughput and latency
- Reducing buffer copies and enabling zero-copy I/O paths
- Tuning connection pooling and socket options
- Minimizing shared memory lock contention across workers
- Implementing graceful error recovery and fallback responses
- Configuring upstream timeouts and retry strategies
- Building in-module response caches with shared memory
- Tuning worker process behavior under load
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Buffer & Zero-Copy I/O | CRITICAL | buf- |
| 2 | Connection Efficiency | CRITICAL | conn- |
| 3 | Lock Contention & Atomics | HIGH | lock- |
| 4 | Error Recovery & Resilience | HIGH | err- |
| 5 | Timeout & Retry Strategy | MEDIUM-HIGH | timeout- |
| 6 | Response Caching | MEDIUM | cache- |
| 7 | Worker & Process Tuning | MEDIUM | worker- |
| 8 | Logging & Metrics | LOW-MEDIUM | log- |
Quick Reference
1. Buffer & Zero-Copy I/O (CRITICAL)
buf-chain-reuse- Reuse Buffer Chain Links Instead of Allocating New Onesbuf-file-sendfile- Use File Buffers for Static Content Instead of Reading into Memorybuf-avoid-copy- Avoid Copying Buffers When Passing Through Filter Chainbuf-coalesce-small- Coalesce Small Buffers Before Outputbuf-shadow-reference- Use Shadow Buffers for Derived Data Instead of Full Copiesbuf-recycled-flag- Mark Buffers as Recycled for Upstream Response Reuse
What ships with it
46 files 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.
- assets/templates/_template.md 691 B
- metadata.json 1.2 KB
- references/_sections.md 1.9 KB
- references/buf-avoid-copy.md 2.3 KB
- references/buf-chain-reuse.md 2.1 KB
- references/buf-coalesce-small.md 2.7 KB
- references/buf-file-sendfile.md 2.9 KB
- references/buf-recycled-flag.md 2.5 KB
- references/buf-shadow-reference.md 2.4 KB
- references/cache-conditional-store.md 3.6 KB
- references/cache-key-hash.md 3.3 KB
- references/cache-shm-lru.md 3.5 KB
- references/cache-stampede-lock.md 3.5 KB
- references/cache-ttl-atomic.md 2.7 KB
- references/conn-close-linger.md 2.9 KB
- references/conn-drain-pressure.md 3.5 KB
- references/conn-prealloc-pool.md 3.6 KB
- references/conn-reusable-queue.md 2.8 KB
- references/conn-ssl-session-reuse.md 3.5 KB
- references/conn-tcp-nodelay.md 2.6 KB
- references/err-blocked-counter.md 2.8 KB
- references/err-cache-errno.md 2.1 KB
- references/err-connection-error-check.md 2.0 KB
- references/err-fallback-response.md 2.4 KB
- references/err-log-once-pattern.md 2.4 KB
- references/err-resource-exhaustion.md 2.3 KB
- references/lock-alloc-outside.md 3.3 KB
- references/lock-atomic-counters.md 2.1 KB
- references/lock-minimize-critical.md 3.2 KB
- references/lock-per-worker-aggregate.md 2.6 KB
- references/lock-rw-pattern.md 3.3 KB
- references/lock-trylock-fallback.md 2.7 KB
- references/log-action-string.md 3.0 KB
- references/log-connection-context.md 3.0 KB
- references/log-error-dedup.md 2.9 KB
- references/log-level-guard.md 2.3 KB
- references/log-shared-metrics.md 2.6 KB
- references/timeout-backoff-reconnect.md 3.1 KB
- references/timeout-client-body-limit.md 3.4 KB
- references/timeout-retry-next-upstream.md 3.3 KB
- references/timeout-upstream-phases.md 3.4 KB
- references/worker-accept-mutex.md 3.1 KB
- references/worker-connection-prealloc.md 3.4 KB
- references/worker-cycle-conf.md 2.9 KB
- references/worker-graceful-shutdown.md 3.2 KB
- references/worker-single-process-debug.md 3.2 KB
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 · 120 lines · 82 tokens per session scan A 25adacade553
nginx-c-module-perf is a skill published in the GitHub repository pproenca/dot-skills (231 stars, last pushed 3mo ago), licensed MIT. It adds 82 tokens to every session and 1,849 once invoked, about $0.0003 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-09-03.
nginx-c-module-perf compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nginx-c-module-perfpproenca/dot-skills | Skill | 231 | 3mo ago | MIT | A | 82 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 4d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 92 | Claude Code |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 78 | Claude Code |
| fastapi-router-pymicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 46 | Claude Code |
| dev-runtimelangwatch/langwatch | Skill | 5.1k | today | Apache-2.0 | A | 172 | Claude Code |
| api-designericrisco/rsc-harness | Skill | 691 | 6d ago | MIT | A | 105 | Claude Code, Codex |