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-modulesgit 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-modules)<a href="https://agentmods.dev/skills/pproenca/dot-skills/nginx-c-modules"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/nginx-c-modules/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-modules"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/nginx-c-modules.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.00079 | $0.01804 |
| Opus 5 | $0.00039 | $0.00902 |
| Sonnet 5 | $0.00016 | $0.00361 |
| Haiku 4.5 | $0.00008 | $0.00180 |
Grade A, and why
nginx-c-modules 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 6d 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 — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
nginx.org C Module Development Best Practices
Comprehensive development guide for nginx C modules, derived from the official nginx development documentation and community expertise. Contains 49 rules across 8 categories, prioritized by impact to guide correct module implementation and prevent common crashes, memory leaks, and undefined behavior.
When to Apply
Reference these guidelines when:
- Writing new nginx C modules (handlers, filters, upstream, load-balancers)
- Implementing configuration directives and merge logic
- Managing memory with nginx pools and shared memory zones
- Handling the HTTP request lifecycle (body reading, subrequests, finalization)
- Working with nginx's event loop, timers, and thread pools
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Memory Management | CRITICAL | mem- |
| 2 | Request Lifecycle | CRITICAL | req- |
| 3 | Configuration System | HIGH | conf- |
| 4 | Handler Development | HIGH | handler- |
| 5 | Filter Chain | MEDIUM-HIGH | filter- |
| 6 | Upstream & Proxy | MEDIUM | upstream- |
| 7 | Event Loop & Concurrency | MEDIUM | event- |
| 8 | Data Structures & Strings | LOW-MEDIUM | ds- |
Quick Reference
1. Memory Management (CRITICAL)
mem-pool-allocation- Use Pool Allocation Instead of Heap mallocmem-check-allocation- Check Every Allocation Return for NULLmem-pcalloc-structs- Use ngx_pcalloc for Struct Initializationmem-cleanup-handlers- Register Pool Cleanup Handlers for External Resourcesmem-pnalloc-strings- Use ngx_pnalloc for String Data Allocationmem-pfree-limitations- Avoid Relying on ngx_pfree for Pool Allocationsmem-shared-slab- Use Slab Allocator for Shared Memory Zones
What ships with it
52 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 694 B
- metadata.json 933 B
- references/_sections.md 1.9 KB
- references/conf-build-config.md 2.2 KB
- references/conf-context-flags.md 1.8 KB
- references/conf-custom-handler.md 2.1 KB
- references/conf-merge-all-fields.md 1.9 KB
- references/conf-module-ctx-null.md 2.5 KB
- references/conf-null-command.md 1.7 KB
- references/conf-unset-init.md 1.7 KB
- references/ds-cpymem-pattern.md 1.5 KB
- references/ds-hash-readonly.md 2.7 KB
- references/ds-list-iteration.md 1.9 KB
- references/ds-ngx-str-not-null-terminated.md 1.7 KB
- references/ds-ngx-str-set-literals.md 1.7 KB
- references/event-handle-read-write.md 1.8 KB
- references/event-no-blocking.md 1.7 KB
- references/event-posted-events.md 1.8 KB
- references/event-thread-pool.md 3.2 KB
- references/event-timer-management.md 1.3 KB
- references/filter-buffer-chain-iteration.md 1.6 KB
- references/filter-buffering-flag.md 1.9 KB
- references/filter-call-next.md 1.4 KB
- references/filter-check-subrequest.md 1.5 KB
- references/filter-registration-order.md 1.7 KB
- references/handler-add-variable.md 2.7 KB
- references/handler-content-handler.md 1.8 KB
- references/handler-empty-response.md 1.6 KB
- references/handler-error-page.md 1.9 KB
- references/handler-last-buf.md 2.2 KB
- references/handler-module-ctx.md 2.2 KB
- references/handler-phase-registration.md 1.8 KB
- references/handler-send-header-first.md 1.8 KB
- references/mem-check-allocation.md 1.7 KB
- references/mem-cleanup-handlers.md 2.5 KB
- references/mem-pcalloc-structs.md 1.8 KB
- references/mem-pfree-limitations.md 2.2 KB
- references/mem-pnalloc-strings.md 1.7 KB
- references/mem-pool-allocation.md 1.8 KB
- references/mem-shared-slab.md 2.2 KB
- references/req-body-async.md 1.8 KB
- references/req-count-reference.md 1.8 KB
- references/req-discard-body.md 2.2 KB
- references/req-finalize-once.md 1.7 KB
- references/req-internal-redirect.md 1.6 KB
- references/req-no-access-after-finalize.md 1.3 KB
- references/req-subrequest-completion.md 1.8 KB
- references/upstream-connection-reuse.md 3.2 KB
- references/upstream-create-request.md 2.7 KB
- references/upstream-finalize.md 1.9 KB
- references/upstream-peer-free.md 1.6 KB
- references/upstream-process-header.md 2.1 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.
- 6d ago First seen · 121 lines · 79 tokens per session scan A 464525774e6d
nginx-c-modules is a skill published in the GitHub repository pproenca/dot-skills (205 stars, last pushed 24d ago), licensed MIT. It adds 79 tokens to every session and 1,804 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.
Other skills, from other repositories
printing-press-amend
Amend a published CLI from one of two input sources: (1) dogfood mode mines the active Claude Code session transcript for friction (missing flags, hand- rolled API payloads, silent-null returns); (2) direct-input mode accepts user-supplied asks (rename a command, add commands or feeds, fix a named bug, optionally…
convex-performance-audit
Audits Convex performance for reads, subscriptions, write contention, and function limits. Use for slow features, insights findings, OCC conflicts, or read amplification.
convex-insights
Query a running Convex app's logs + health in natural language (official MCP): failures, slow/expensive functions, deploy causality — scoped, evidence-backed, with a dashboard deep link.
ssl-proxy-troubleshoot
Systematic workflow for troubleshooting SSL/proxy connectivity issues with government websites.
diagnose-backend-bug
Diagnose a bounded backend or multi-service failure from GitHub Issues, Jira, Aone, user-provided exports, logs, traces, responses, stack traces, or job records. Use when a service, API, RPC, worker, queue, CLI, or scheduled job bug needs correlation through the project's existing observability route before repair; do…
platform-apex-anonymous-run
Use this skill to run anonymous Apex against the connected Salesforce org — from a .apex file or a pasted snippet — capturing the debug log, surfacing compile and runtime errors, and summarizing results. Trigger on phrases like "run this anonymous apex", "execute this script against my org", "run this snippet of…