supabase-webhooks-events
Skill by jeremylongshore
Implements Supabase database webhooks, pg_net HTTP calls, LISTEN/NOTIFY and Edge Function event handlers with signature verification. Aimed at developers building event-driven Supabase backends. It stresses reviewed contracts and does not guarantee exactly-once delivery.
Install supabase-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/supabase-webhooks-events ~/.claude/skills/supabase-webhooks-eventsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install supabase-webhooks-events in Claude Code
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/supabase-webhooks-events ~/.gemini/antigravity-cli/skills/supabase-webhooks-eventsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install supabase-webhooks-events in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides setup of event-driven patterns in Supabase. It covers Database Webhooks and pg_net for outbound HTTP from PostgreSQL triggers, LISTEN/NOTIFY for lightweight database notifications, and Realtime Postgres Changes for UI updates. It also includes an application-owned HMAC signed receiver that authenticates raw bytes and persists accepted events to an inbox table with a unique event ID.
The skill stresses explicit transport and authentication contracts, and separates native webhook behavior from custom signing. It states that the inbox receiver returns 202 for accepted events and 409 for duplicate IDs, with business processing left to a separate authorized worker. It is aimed at developers who run Supabase projects and want to design event delivery carefully, with reviews before deployment. Reading the skill deploys nothing.
Written from the project's SKILL.md and checked against it.
What it can do
- Database webhook designSelects a delivery contract for INSERT, UPDATE and DELETE events with review of trigger SQL.
- pg_net HTTP from triggersDescribes sending async HTTP requests from PostgreSQL triggers using pg_net.
- LISTEN/NOTIFY guidanceExplains lightweight database notifications and why they should carry minimal IDs only.
- Realtime Postgres ChangesCovers handling Realtime postgres_changes as an event source with user and RLS setup.
- Signed receiver with HMACProvides an application-owned signing protocol and an Edge Function receiver that verifies signatures.
- Inbox persistence with unique IDsStores accepted events in an inbox table using a unique producer event ID, returning 202 or 409.
What you need
- A Supabase project
- Claude Code
Try asking
- Set up a Supabase database webhook for INSERT events on my orders table
- Use pg_net to call an HTTP endpoint from a PostgreSQL trigger
- Write an Edge Function that verifies HMAC signatures and stores events
Good to know
- Does not guarantee exactly-once delivery or complete business processing.
- Native Database Webhooks do not generate the custom HMAC protocol.
- LISTEN/NOTIFY is not a persistent queue and oversized payloads fail rather than being truncated.
- Reading the skill deploys nothing; deployment needs explicit authorization.
Security check
B- Allowed to use Write without limitsIn
SKILL.md
Checked automatically: skills/.curated/supabase-webhooks-events/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: WriteBash(supabase:*)Bash(curl:*)Bash(psql:*)
Alternatives to supabase-webhooks-events
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
supabase-webhooks-events: common questions
Does this skill guarantee exactly-once event delivery?
No. The source says the signed receiver shows accepted inbox ingestion, not complete processing or exactly-once delivery.
Can Supabase native Database Webhooks use the HMAC signature?
No. Native Database Webhooks send the headers you configure and do not implicitly generate the custom HMAC protocol in the skill.
Is LISTEN/NOTIFY a durable queue?
No. The source says LISTEN/NOTIFY is not a persistent queue and has a strict payload size limit, so it should carry only IDs.
How do I install supabase-webhooks-events?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is supabase-webhooks-events free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is supabase-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 without limits). Review the code before you install. How grades work.
What are alternatives to supabase-webhooks-events?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
