Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

new-inngest-job

Skill by postmill-ai

Adds a new durable background function to the Postmill backend using Inngest. It is for developers who need cron sweeps, scheduled work, or event-driven workers.

  • Score 70
  • 355 stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install new-inngest-job

Built from the published package, never by AI.

git clone --depth 1 https://github.com/postmill-ai/postmill-app /tmp/postmill-app && mkdir -p ~/.claude/skills && cp -r /tmp/postmill-app/agents/skills/new-inngest-job ~/.claude/skills/new-inngest-job

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install new-inngest-job in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill guides an AI assistant through adding a new background job to the Postmill codebase. It follows a set order: domain logic goes into an activity class, a thin Inngest factory sets the trigger and calls the activity, and the activity is registered in the NestJS module and wired into the InngestService constructor. The skill covers cron triggers, event triggers, and cron sweeps that fan out per organization to a separate event function with its own concurrency cap.

The skill also lists rules meant to prevent common mistakes. These include using event-unique idempotency ids, gating event emitters on USE_INNGEST, avoiding while loops and @nestjs/schedule, and writing a factory spec with Vitest. It is intended for developers working on the Postmill backend who need to add scheduled or event-driven work.

Written from the project's SKILL.md and checked against it.

What it can do

  • Domain activity methodAdds a method to a matching injectable activity class that calls repositories or services, not Prisma directly.
  • Event schema entryAdds a new event to the InngestEvents type so the schema-validated client accepts it.
  • Function factoryCreates an Inngest function with a cron or event trigger that delegates to a single step.run call.
  • Cron fan-out sweepsGets organization ids in one step and sends a separate event per org to a capped handler.
  • Run tracking for cron jobsWraps cron work in trackRun so run status feeds the /health endpoint.
  • Module and service registrationRegisters the activity in the Inngest module and threads it through the function list and service.
  • Idempotency key guidanceExplains deterministic event ids for once-per-period work and why constant ids block later sends.
  • Factory spec templateDescribes a Vitest spec that mocks the Inngest client and asserts id, trigger, steps, and activity calls.

What you need

  • Access to the Postmill repository with its agents/ documentation
  • Docker, to run the Inngest dev server with the jobs profile
  • USE_INNGEST set to true in the backend environment
  • Vitest, for the factory and activity specs

Try asking

  • Add a nightly cron job that sweeps all organizations in Postmill
  • Create an Inngest event handler for a new event in Postmill
  • Set up a per-org fan-out job with its own concurrency cap

Good to know

  • Events are silently skipped unless USE_INNGEST is true or 1.
  • Functions do not set a retries option.
  • Scheduling should use Inngest, except for SessionCleanupService.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: agents/skills/new-inngest-job/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to new-inngest-job

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

new-inngest-job: common questions

Why does my Inngest event never fire?

The source says a constant event id on a recurring or fan-out send dedupes every later emit into the first one. Use a unique id per event or send no id for recurring loops.

Can I use @nestjs/schedule for a new periodic task in Postmill?

The source says to prefer Inngest for anything new. SessionCleanupService is the only sanctioned exception to using @nestjs/schedule.

Where does the new function show up for testing?

The source says to set USE_INNGEST=true, restart the backend, and confirm the function appears in the Inngest dev UI at http://localhost:8288.

How do I install new-inngest-job?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is new-inngest-job free?

The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.

Is new-inngest-job safe to use?

It scores 70 of 100. Grades: maintenance A, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to new-inngest-job?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

new-inngest-job Install

Add to stack

Loading.