inngest-nextjs-patterns

inngest-nextjs-patterns is a skill for Claude Code, Codex from pproenca/dot-skills. It costs 134 tokens per session (1,352 once invoked), scanned A, original, MIT.

Patterns for running durable, event-triggered background work in a Next.js application using Inngest, a workflow service.

In plain words
What is it for?
Use it to set up Inngest, define typed events, add scheduled jobs, process webhooks, or coordinate long-running tasks.
Why use it?
It helps background jobs survive restarts and handle retries, schedules, webhooks, and multi-step workflows consistently.

Skill for Claude CodeCodex

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

Good fit Use it to set up Inngest, define typed events, add scheduled jobs, process webhooks, or coordinate long-running tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pproenca/dot-skills/inngest-nextjs-patterns
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 pproenca/dot-skills --skill inngest-nextjs-patterns
Clone the repo
git clone --depth 1 https://github.com/pproenca/dot-skills

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 inngest-nextjs-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/pproenca/dot-skills/inngest-nextjs-patterns/github.svg)](https://agentmods.dev/skills/pproenca/dot-skills/inngest-nextjs-patterns)
Your own site
<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.

agentmods 80×15 button for inngest-nextjs-patterns

Your own site · 80×15
<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>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,352 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.00134 $0.01352
Opus 5.5 $0.00054 $0.00541
Sonnet 5.5 $0.00027 $0.00270
Haiku 4.5 $0.00013 $0.00135

Measured 2mo ago against content hash 89f1e61b3d35, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/.experimental/inngest-nextjs-patterns/SKILL.md · 72 lines

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

  1. First time in this codebase? Read references/conventions.md before writing anything. The conventions explain why event names take a specific shape, why function IDs must be stable, and why every step.run must be idempotent — once you understand the reasoning, the templates make sense.
  2. Pick a template from the catalog below based on what you're creating.
  3. Render it by substituting the documented parameters. Each template has a parameter table at the top of its file.
  4. 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).

Read the full file on GitHub · 72 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. 2mo ago First seen · 72 lines · 134 tokens per session scan A 89f1e61b3d35

Subscribe to this mod's changes

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.

Related

inngest-nextjs-patterns compared with skills from other repositories

inngest-nextjs-patterns next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
inngest-nextjs-patternspproenca/dot-skillsSkill2313mo agoMITA134Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k4d agoApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.2ktodayApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3kyesterdayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.1ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill6916d agoMITA105Claude Code, Codex