Skip to main content
subagent

supabase-realtime-optimizer — Claude Code subagent: install

This subagent reviews Supabase Realtime subscriptions, WebSocket connections, latency, and message flow. Use it when realtime behavior needs diagnosis or tuning.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --agent realtime/supabase-realtime-optimizer
Open on GitHub

What supabase-realtime-optimizer does

The subagent examines Supabase Realtime subscriptions, message size, connection load, and delivery delays. It can investigate unstable WebSocket connections, authentication and RLS checks, subscription filters, and client-side bottlenecks. Its available tools are Read, Edit, Bash, and Grep.

Its workflow covers usage analysis, connection-log review, subscription and query changes, retry handling, and metric collection. It can suggest batching, channel multiplexing, fallback polling, state-management changes, and connection-health monitoring. The subagent depends on access to Read, Edit, Bash, and Grep, so those tools must be available in Claude Code.

What it helps with

  • trace unstable WebSocket connections
  • reduce unnecessary subscription traffic
  • tune retry and reconnect handling
  • review subscription filters and RLS checks
  • measure latency and connection health

Example prompts for the agent

  • Review our Supabase Realtime subscriptions and identify unnecessary data transfer.
  • Inspect the WebSocket connection logs, find the failure pattern, and suggest fixes.
  • Evaluate the subscription filters and reconnect flow, then edit the affected files.

How to install supabase-realtime-optimizer

1claude-code-templates

npx claude-code-templates@latest --agent realtime/supabase-realtime-optimizer

2Manually: put the files in place

.claude/agents/supabase-realtime-optimizer.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about supabase-realtime-optimizer

How do I install supabase-realtime-optimizer in Claude Code?

Run npx claude-code-templates@latest --agent realtime/supabase-realtime-optimizer, then add .claude/agents/supabase-realtime-optimizer.md.

What does supabase-realtime-optimizer do?

It reviews Supabase Realtime subscriptions, investigates WebSocket problems, and helps reduce delivery delays and excess traffic. It can also propose metrics and error-recovery changes.

Which tools does supabase-realtime-optimizer use?

The subagent uses Read, Edit, Bash, and Grep to inspect code and logs, change files, and run diagnostic commands.

Similar subagents

All subagents for Backend and APIs →

From the same set495

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor