supabase-realtime
Skill by supabase
Builds realtime features with the Supabase v3 Dart client. It covers live lists of table rows, table change events, broadcast messages, presence and channel cleanup. Intended for developers adding live updates, chat, cursors or online indicators.
Install supabase-realtime
Built from the published package, never by AI.
git clone --depth 1 https://github.com/supabase/supabase-flutter /tmp/supabase-flutter && mkdir -p ~/.claude/skills && cp -r /tmp/supabase-flutter/packages/supabase/skills/supabase-realtime ~/.claude/skills/supabase-realtimeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/supabase/supabase-flutter /tmp/supabase-flutter && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/supabase-flutter/packages/supabase/skills/supabase-realtime ~/.gemini/antigravity-cli/skills/supabase-realtimeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through realtime features with the Supabase v3 client. It explains which API to use for each need: live row lists with typed stream(), table change listeners with onTableChanges, broadcast messages between clients, and presence for tracking who is online. It also covers channel status handling and cleanup.
The skill lists rules that prevent common errors. Listeners must be created before channel.subscribe(), and forgotten channels should be removed with supabase.removeChannel(). It also notes which tables and rows receive changes, including the supabase_realtime publication and row level security. It is aimed at developers building Dart or Flutter apps on Supabase who need live updates, chat, cursors, an online indicator or database change notifications.
Written from the project's SKILL.md and checked against it.
What it can do
- Live row listsKeeps a typed list of table rows up to date with stream(), with filter, order and limit.
- Column-limited streamsStreams only selected columns of rows using streamOnly().
- Table change eventsReacts to inserts, updates and deletes with channel.onTableChanges().
- Broadcast messagesSends and receives messages between clients that are not stored in a table.
- PresenceTracks who is online in a channel with track() and onPresenceSync.
- Channel status and cleanupHandles subscription status, channel errors and removal of channels.
What you need
- Supabase Dart client v3
- Generated typed table definitions from the schema
Try asking
- Show me a live list of the latest 50 books for author 2 in Flutter.
- Add a chat room with broadcast messages and online presence to my app.
- Notify me in the app when a new row is inserted into the orders table.
Good to know
- Database changes only arrive for tables in the supabase_realtime publication.
- Only rows the user may select under row level security are delivered.
- Apps on v2 and v3 cannot read each other's broadcasts on a shared channel.
- Adding a postgres changes listener after channel.subscribe() throws a StateError.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/supabase/skills/supabase-realtime/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to supabase-realtime
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
supabase-realtime: common questions
Why don't my database change events arrive?
The table must be in the supabase_realtime publication, and the user must be allowed to select the rows under row level security.
Can v2 and v3 clients share a realtime channel?
No. v2 puts broadcast data at the top level, while v3 puts it under payload, so the two versions cannot read each other's broadcasts.
What happens when a realtime channel fails to join?
The status becomes channelError and the RealtimeException is in change.error. The stream itself is not errored.
How do I install supabase-realtime?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is supabase-realtime free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is supabase-realtime safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to supabase-realtime?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
