Skill: Inngest Flow Control
by Inngest
Seven ways to throttle agent and background workloads — concurrency keys, throttling, rate limiting, debounce, singleton, priority and batching — with a decision guide that picks the right one.
Inngest's durable-execution playbook as an agent skill — steps and memoisation, event and cron triggers, idempotency, cancellation, retries and non-retriable errors.
Add this skill to your favorite AI agent in a few steps.
Learn how to use this skill with different AI agents.
Turn this webhook handler into an Inngest durable function so retries don't double-charge the customer.
Durable execution is easy to get subtly wrong, and the failure mode is quiet: a workflow that looks correct replays a Date.now() on every retry, or writes the same Stripe charge twice, and nobody notices until production. This skill from the Inngest team gives a coding agent the model it needs to avoid that class of bug while writing the code.
It leads with the rule that matters most. Every non-deterministic operation and every side effect must live inside a step.run, because completed steps are memoised and everything outside them re-executes on each replay. The skill opens with a bad/good pair showing exactly that — a timestamp computed in the function body versus inside a step — before it gets anywhere near API surface. That ordering is deliberate, and it is the correction most agents need.
What it covers. Function configuration and limits; the three trigger types (event, cron, invoke) with concrete configuration for each; step IDs and how memoisation keys off them; idempotency at both ends — an event-level key on the producer side and a function-level key on the consumer side, with guidance on when each is the right one; cancellation, both event-based (cancelOn) and timeout-based, plus cleanup handling; error handling with default and custom retry counts, NonRetriableError for failures that will never succeed, and custom retry timing; structured logging that survives replay; and checkpointing for performance.
Scope. The examples are TypeScript. Inngest's Python and Go SDKs share the concepts but not the syntax, and the skill says so up front and points at the docs rather than pretending otherwise.
Part of the fourteen-skill inngest/inngest-skills set, Apache-2.0 licensed.
by Inngest
Seven ways to throttle agent and background workloads — concurrency keys, throttling, rate limiting, debounce, singleton, priority and batching — with a decision guide that picks the right one.
by Inngest
A controlled upgrade path from Inngest SDK v3 to v4 — triggers into createFunction options, EventSchemas to eventType, realtime imports, step.invoke string IDs — with a scan-first, verify-last order.
by Inngest
An evidence-first audit skill: walk an existing TypeScript repo, name the exact call sites where background work can be lost, and land an incremental durability plan.
Build crash-safe AI agents on AgentKit and step.ai — durable tool calls, human-in-the-loop approval, realtime progress, and when not to reach for an agent loop at all.