webhook-gen

Verified·Scanned 2/18/2026

This skill generates production-ready webhook handler code (Express/Next.js) with signature verification, idempotency, and retry utilities. It invokes the openai SDK via openai.chat.completions.create, requires OPENAI_API_KEY, and is run with npx ai-webhook which writes output to path.resolve(options.output).

from clawhub.ai·v2606179·40.4 KB·0 installs
Scanned from 1.0.1 at 2606179 · Transparency log ↗
$ vett add clawhub.ai/lxgicstudios/webhook-gen

ai-webhook

Generate production-ready webhook handlers with signature verification, retry logic, and idempotency. Just describe the event.

Install

npm install -g ai-webhook

Usage

npx ai-webhook "stripe payment succeeded"
# Generates Express webhook handler with retry logic

npx ai-webhook "github push event" -f nextjs
# Next.js API route handler

npx ai-webhook "shopify order created" -o webhook-handler.ts
# Save to file

Setup

export OPENAI_API_KEY=sk-...

Options

  • -f, --framework <name> - Framework: express, fastify, nextjs (default: express)
  • -o, --output <path> - Save to file

License

MIT