skills$openclaw/webhook-gen
lxgicstudios6.6k

by lxgicstudios

webhook-gen – OpenClaw Skill

webhook-gen is an OpenClaw Skills integration for coding workflows. Generate webhook handlers with retry logic using AI. Use when integrating Stripe, GitHub, or any webhook provider.

6.6k stars3.2k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namewebhook-gen
descriptionGenerate webhook handlers with retry logic using AI. Use when integrating Stripe, GitHub, or any webhook provider. OpenClaw Skills integration.
ownerlxgicstudios
repositorylxgicstudios/webhook-gen
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @lxgicstudios/webhook-gen
last updatedFeb 7, 2026

Maintainer

lxgicstudios

lxgicstudios

Maintains webhook-gen in the OpenClaw Skills directory.

View GitHub profile
File Explorer
9 files
.
src
cli.ts
1.1 KB
index.ts
942 B
_meta.json
286 B
package-lock.json
30.2 KB
package.json
642 B
README.md
666 B
SKILL.md
2.5 KB
tsconfig.json
251 B
SKILL.md

name: webhook-gen description: Generate webhook handlers with retry logic using AI. Use when integrating Stripe, GitHub, or any webhook provider.

Webhook Generator

Describe the webhook you're handling. Get a complete handler with signature verification, retry logic, and proper error handling. Stripe, GitHub, Twilio. all the patterns you need.

One command. Zero config. Just works.

Quick Start

npx ai-webhook "stripe payment succeeded"

What It Does

  • Generates complete webhook handler functions
  • Includes signature verification for popular providers
  • Adds idempotency checks to prevent duplicate processing
  • Implements retry-safe patterns with proper status codes
  • Handles common webhooks from Stripe, GitHub, Shopify, and more

Usage Examples

# Stripe payment webhook
npx ai-webhook "stripe checkout.session.completed"

# GitHub push events
npx ai-webhook "github push event to trigger deployment"

# Generic webhook with retry
npx ai-webhook "order created webhook with idempotency" 

# Specify provider explicitly
npx ai-webhook "new subscriber notification" --provider convertkit

# TypeScript output
npx ai-webhook "invoice paid" --typescript

Best Practices

  • Always verify signatures - Never trust raw webhook payloads
  • Return 200 quickly - Process async. Don't make providers wait
  • Handle duplicates - Webhooks retry. Your handler should be idempotent
  • Log everything - Debugging webhook issues without logs is painful

When to Use This

  • Integrating a payment provider like Stripe or Paddle
  • Setting up GitHub Actions alternatives with webhooks
  • Building notification systems triggered by external services
  • Any third-party integration that sends webhooks

Part of the LXGIC Dev Toolkit

This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.

Find more:

Requirements

No install needed. Just run with npx. Node.js 18+ recommended.

npx ai-webhook --help

How It Works

The tool recognizes common webhook patterns from your description. It generates a handler function with the appropriate verification method, event parsing, and response codes. AI ensures the handler follows best practices for reliability and security.

License

MIT. Free forever. Use it however you want.

README.md

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

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

No install needed. Just run with npx. Node.js 18+ recommended. ```bash npx ai-webhook --help ```

FAQ

How do I install webhook-gen?

Run openclaw add @lxgicstudios/webhook-gen in your terminal. This installs webhook-gen into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/lxgicstudios/webhook-gen. Review commits and README documentation before installing.