
Neon Realtime
Live SQL queries and reactivity primitives that keep app and agent state synced with Lakebase Postgres rows.
- CCM score
- 61 of 100
- skills.sh installs
- 27.7K
- GitHub stars
- 119
- last updated
- Nov 24, 2026
Own this skill? Claim it
What it does
- Covers defining, sealing, and exposing live SQL queries, then subscribing to them from a client with initial results and batched change updates
- Includes Drizzle and Kysely adapters, a raw SQL option, and React
useLiveQuerybindings for optimistic mutations withawaitTxId() - Enforces read-only sealed queries so clients cannot alter the SQL or parameters, using
NEON_REALTIME_SECRETon the backend - Designed for dashboards, feeds, and multi-user sync that would otherwise rely on polling or another realtime sync system
Install
$ npx -y skills add neondatabase/agent-skills --skill neon-realtime -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
FIRST: Use the parent neon skill for a Neon overview, getting started with Neon, Neon development best practices, and more.
If the neon skill is not installed, fetch it from https://neon.com/docs/ai/skills/neon/SKILL.md or install it with:
neon skills -s neon -y
Neon Realtime
Neon's Realtime makes any SQL query live. Subscribe in realtime to your Lakebase Postgres database. Develop apps and agents with end-to-end reactivity using type-safe live queries and optimistic mutations.
Realtime is new and in beta, so its APIs aren't in your training data. Start from the core pattern below, and read each section's reference file before writing that code.
How It Works
Realtime's layers compose: a live query engine inside Postgres, the Live SQL API (a WebSocket API), lower-level client SDKs (seal(), subscribe()), and reactivity primitives such as useLiveQuery.
Details
- Repository
- github.com/neondatabase/agent-skills
- Categories
- Databases, Backend & APIs
- First seen
- Nov 24, 2026
More from neondatabase/agent-skills
All 9Similar to Neon Realtime
More Databases
sanity-migrationsanity-io/agent-toolkit25K installsPlans, implements, and reviews migrations from other CMSes and content systems into Sanity. Use when migrating or replatforming to Sanity from AEM, Adobe Experi
upstash-redis-jsupstash/skills24.7K installsWork with the Upstash Redis TypeScript/JavaScript SDK for serverless Redis operations. Use for caching, session storage, rate limiting, leaderboards, full-text
clickhouse-best-practicesclickhouse/agent-skills23.5K installsMUST USE when reviewing ClickHouse schemas, queries, or configurations. Contains 31 rules that MUST be checked before providing recommendations. Always read rel
sql-optimization-patternswshobson/agents21K installsMaster SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debug
bigquery-basicsgoogle/skills20.2K installsManages datasets, tables, and jobs in BigQuery. Use when you need to interact with BigQuery, run SQL queries, manage BigQuery resources (datasets, tables, views
database-migrationwshobson/agents18.5K installsExecute database migrations across ORMs and platforms with zero-downtime strategies, data transformation, and rollback procedures. Use when migrating databases,