supabase-realtime

Subscribe to Supabase Realtime database events over WebSocket using Bash.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/VibeStackCodes/platform --skill supabase-realtime-vibestackcodes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: supabase-realtime
Source: https://github.com/VibeStackCodes/platform/tree/main/skills/supabase-realtime
Command: npx skills add https://github.com/VibeStackCodes/platform --skill supabase-realtime-vibestackcodes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Subscribes to Supabase Realtime changes over WebSocket, enabling live listening to database events, presence updates, and broadcast messages across tables and channels.

Core Features & Use Cases

  • Real-time subscriptions to postgres_changes (INSERT, UPDATE, DELETE) across multiple tables
  • Presence tracking and broadcast messaging with websockets
  • Bash-based patterns, channel management, and optional REST polling fallback for reliability

Quick Start

Run a minimal Bash snippet to connect to your Supabase Realtime websocket and start listening to changes on a target table.

Frequently Asked Questions about supabase-realtime

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I listen to Supabase database changes in real time over WebSocket?

You can listen to Supabase database changes in real time by subscribing to postgres_changes events over a WebSocket connection. This enables live monitoring of INSERT, UPDATE, and DELETE operations across multiple target tables.

What's the best way to track user presence and broadcast messages with Supabase?

Tracking user presence and broadcasting messages with Supabase is handled through websocket channel management. You can subscribe to dedicated channels to monitor online status and distribute real-time broadcast messages across connected clients.

Can I manage Supabase Realtime subscriptions using Bash scripts?

Yes, you can manage Supabase Realtime subscriptions using Bash-based patterns. This involves establishing websocket connections, processing incoming messages, and handling channel subscriptions directly from your shell environment.

Does Supabase Realtime have a fallback if the WebSocket connection drops?

Yes, Supabase Realtime implementations can include an optional REST polling fallback for reliability. This ensures continuous monitoring of database events even when the primary websocket connection experiences interruptions.

How do I subscribe to specific Postgres changes like INSERT and UPDATE in Supabase?

You can subscribe to specific Postgres changes in Supabase by configuring your real-time websocket channels to filter for INSERT, UPDATE, or DELETE events. This allows targeted listening on individual tables within your database.

Why use WebSocket subscriptions instead of REST polling for Supabase database events?

WebSocket subscriptions provide immediate push notifications for Supabase database events, avoiding the latency of REST polling. They maintain persistent connections for real-time updates, with REST polling serving only as an optional fallback.