clerk-webhooks-events
Skill by jeremylongshore
Configures Clerk webhooks and handles user, organization and session events. Built for developers who sync Clerk data with external systems through Svix webhooks.
Install clerk-webhooks-events
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/clerk-webhooks-events ~/.claude/skills/clerk-webhooks-eventsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/clerk-webhooks-events ~/.gemini/antigravity-cli/skills/clerk-webhooks-eventsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install clerk-webhooks-events in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill sets up Clerk webhook endpoints and handles authentication events. Clerk uses Svix for webhook delivery with HMAC-SHA256 signature verification. The skill covers two verification options: the built-in verifyWebhook() helper in @clerk/backend, and manual verification with the svix package. It includes example handlers for user, organization and session events, plus an idempotency pattern keyed on svix-id.
The skill also explains how to add the endpoint and subscribed events in the Clerk Dashboard, and how to test locally with ngrok. It includes examples for Next.js and Express.js and a troubleshooting table. It is aimed at developers who need user sync or auth event handling in a Clerk-based app.
Written from the project's SKILL.md and checked against it.
What it can do
- Verify webhook signaturesChecks Clerk webhook signatures with verifyWebhook() or manual Svix verification.
- Create webhook endpointsProvides route examples for Next.js and Express.js webhook handlers.
- Handle user eventsSyncs user.created, user.updated and user.deleted events to a database.
- Handle organization eventsProcesses organization.created and organizationMembership.created events.
- Prevent duplicate processingUses svix-id as a unique key so retried deliveries are not processed twice.
- Configure endpoints in DashboardLists steps to add an endpoint and select events in the Clerk Dashboard.
- Test locally with ngrokExplains how to expose a local server to receive Clerk webhooks.
- Troubleshoot webhook errorsMaps common errors such as invalid signatures and duplicate deliveries to fixes.
What you need
- Clerk account with a webhook endpoint configured in the Dashboard
- HTTPS endpoint, or ngrok for local development
- CLERK_WEBHOOK_SECRET environment variable (starts with whsec_)
- npm to install the svix package for manual verification
Try asking
- Set up a Clerk webhook endpoint that verifies Svix signatures.
- Sync Clerk user.created and user.updated events into my database.
- Add idempotency to my Clerk webhook handler using svix-id.
Good to know
- Verification needs the raw request body; parsing JSON first breaks the signature.
- Svix replay protection rejects events older than 5 minutes by default.
- Session events are high volume and are marked optional in the source.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/clerk-webhooks-events/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBash(npm:*)Grep
Alternatives to clerk-webhooks-events
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
clerk-webhooks-events: common questions
How does Clerk secure its webhook deliveries?
Clerk uses Svix for delivery and HMAC-SHA256 signature verification. The skill supports the verifyWebhook() helper in @clerk/backend or manual Svix verification.
How are duplicate Clerk webhook events handled?
Clerk or Svix may retry failed deliveries, so the skill recommends recording svix-id and skipping events already processed.
Which Clerk events does this skill cover?
It covers user created, updated and deleted events, organization and membership events, and session created events. Session ended is optional.
How do I install clerk-webhooks-events?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is clerk-webhooks-events free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is clerk-webhooks-events safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to clerk-webhooks-events?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
