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 inngest-nextjs-patternsgit 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/inngest-nextjs-patterns)<a href="https://agentmods.dev/skills/pproenca/dot-skills/inngest-nextjs-patterns"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/inngest-nextjs-patterns/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/inngest-nextjs-patterns"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/inngest-nextjs-patterns.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.00134 | $0.01352 |
| Opus 5.5 | $0.00054 | $0.00541 |
| Sonnet 5.5 | $0.00027 | $0.00270 |
| Haiku 4.5 | $0.00013 | $0.00135 |
Grade A, and why
inngest-nextjs-patterns 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 — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Inngest + Next.js Patterns
Templates and conventions for building event-driven, durable background work on Inngest from a Next.js App Router project. The skill enforces the conventions Inngest's own docs use (decentralized eventType() schemas, kebab-case stable function IDs, idempotent steps) so that retries, replays, and concurrency controls actually do what they advertise.
When to Apply
Read this skill when you are:
- Setting up Inngest in a Next.js app for the first time (client + route handler + first function)
- Adding a new background job, webhook handler, or scheduled task to a Next.js app
- Defining a new domain event that other functions will trigger on
- Orchestrating multi-step work that must survive process restarts (durable workflows, sagas)
- Reviewing existing Inngest code for event naming, step idempotency, or stable function IDs
- Migrating from
setTimeout/ a queue library / a cron service to Inngest's durable execution model
How to Use
- First time in this codebase? Read
references/conventions.mdbefore writing anything. The conventions explain why event names take a specific shape, why function IDs must be stable, and why everystep.runmust be idempotent — once you understand the reasoning, the templates make sense. - Pick a template from the catalog below based on what you're creating.
- Render it by substituting the documented parameters. Each template has a parameter table at the top of its file.
- Wire it up: new functions must be added to
src/inngest/functions/index.ts(the registry the route handler reads). The conventions doc shows the registry pattern.
Available Templates
| Template | Output Path | Use When |
|---|---|---|
client.ts.template |
src/inngest/client.ts |
One-time setup: create the singleton Inngest client. Generate once per app. |
route-handler.ts.template |
src/app/api/inngest/route.ts |
One-time setup: the App Router endpoint Inngest hits to invoke your functions. Generate once per app. |
event.ts.template |
src/inngest/events/{domain}.ts |
Defining a new typed event (with Zod schema) that producers send and functions consume. |
function.ts.template |
src/inngest/functions/{name}.ts |
Standard event-triggered durable function with steps. Parameterized retries, concurrency, throttle, debounce, cancelOn, onFailure. |
function-cron.ts.template |
src/inngest/functions/{name}.ts |
Scheduled function — runs on a cron expression (with timezone). Optionally also accepts a manual event trigger for ad-hoc invocation. |
function-fan-out.ts.template |
src/inngest/functions/{name}.ts |
Orchestrator that receives one event and fans out work — via step.sendEvent (fire-and-forget) or Promise.all(step.invoke(...)) (wait for results). |
What ships with it
10 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/client.ts.template 1.3 KB
- assets/templates/event.ts.template 3.2 KB
- assets/templates/function-cron.ts.template 3.7 KB
- assets/templates/function-fan-out.ts.template 3.7 KB
- assets/templates/function.ts.template 5.4 KB
- assets/templates/route-handler.ts.template 1.3 KB
- config.json 1.2 KB
- gotchas.md 371 B
- metadata.json 1.0 KB
- references/conventions.md 13 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 · 72 lines · 134 tokens per session scan A 89f1e61b3d35
inngest-nextjs-patterns is a skill published in the GitHub repository pproenca/dot-skills (231 stars, last pushed 3mo ago), licensed MIT. It adds 134 tokens to every session and 1,352 once invoked, about $0.0005 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.
inngest-nextjs-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| inngest-nextjs-patternspproenca/dot-skills | Skill | 231 | 3mo ago | MIT | A | 134 | 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 |