This handles WebSocket connections to Supabase Realtime using websocat, letting you subscribe to database changes, broadcast messages between clients, and track presence in channels. You get practical bash scripts for listening to INSERT, UPDATE, and DELETE events on specific tables, filtering by row conditions, and processing changes with custom handlers. The examples show how to build continuous listeners that pipe events through jq for processing, which is useful for triggering workflows or notifications when your database changes. It's honestly a bit clunky compared to using the JavaScript client, but if you're working in bash or need to integrate realtime features into shell scripts, the patterns here give you what you need to subscribe to table events and handle the WebSocket protocol directly.

skills.sh installs
323
GitHub stars
19
last updated
Aug 21, 2026

Install

$ npx -y skills add nice-wolf-studio/claude-code-supabase-skills --skill supabase-realtime --agent claude-code

Installs into .claude/skills of the current project.

Files

Supabase Realtime

Overview

This skill provides guidance for working with Supabase Realtime features. Realtime allows you to listen to database changes, broadcast messages, and track presence using WebSocket connections.

Note: Realtime operations require WebSocket support, which is more complex in bash. This skill focuses on practical patterns and examples using available tools.

Prerequisites

Required environment variables:

export SUPABASE_URL="https://your-project.supabase.co"
export SUPABASE_KEY="your-anon-or-service-role-key"

Additional tools:

  • websocat or wscat for WebSocket connections
  • jq for JSON processing

Install websocat:

# macOS
brew install websocat

# Linux
wget https://github.com/vi/websocat/releases/download/v1.12.0/websocat.x86_64-unknown-linux-musl
chmod +x websocat.x86_64-unknown-linux-musl
sudo mv websocat.x86_64-unknown-linux-musl /usr/local/bin/websocat

WebSocket Connection

Connect to Supabase Realtime:

SUPABASE_URL="https://your-project.supabase.co"
SUPABASE_KEY="your-anon-key"

Sponsors

Details

Repository
github.com/nice-wolf-studio/claude-code-supabase-skills
Categories
Backend & APIs, Databases
First seen
Jun 3, 2026

More from nice-wolf-studio/claude-code-supabase-skills

All 5
1patricio0312rev avatarapi-test-suite-generatorpatricio0312rev/skillsGenerates comprehensive API test suites using Jest, Vitest, or Supertest from Express, Next.js, Fastify, or other API routes. Creates integration tests, contrac314skills.sh installs
2sattva2020 avatardokploy-api-mcpsattva2020/skillsDeploy and manage applications on Dokploy (self-hosted PaaS). Use when deploying apps, managing Docker Compose services, databases (PostgreSQL, MySQL, MariaDB, 312skills.sh installs
3davila7 avatarrailway-databasedavila7/claude-code-templatesAdd official Railway database services (Postgres, Redis, MySQL, MongoDB). Use when user wants to add a database, says "add postgres", "add redis", "add database310skills.sh installs
4jezweb avatarclerk-authjezweb/claude-skillsClerk auth with API Keys beta (Dec 2025), Next.js 16 proxy.ts (March 2025 CVE context), API version 2025-11-10 breaking changes, clerkMiddleware() options, webh310skills.sh installs
5davila7 avatarkegg-databasedavila7/claude-code-templatesDirect REST API access to KEGG (academic use only). Pathway analysis, gene-pathway mapping, metabolic pathways, drug interactions, ID conversion. For Python wor295skills.sh installs
6borghei avatarsenior-backendborghei/claude-skillsBackend development with Node.js/Express/Fastify and PostgreSQL. Use when designing REST or GraphQL APIs, optimizing database queries, implementing authenticati294skills.sh installs