neon-postgres

Guides setup, connection, and management of Neon Serverless Postgres databases.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/elcokiin/vibe-tribe --skill neon-postgres-elcokiin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neon-postgres
Source: https://github.com/elcokiin/vibe-tribe/tree/main/.agents/skills/neon-postgres
Command: npx skills add https://github.com/elcokiin/vibe-tribe --skill neon-postgres-elcokiin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Working with Neon Serverless Postgres involves many decisions—choosing the right connection method, driver, auth approach, and management tooling—and outdated knowledge can lead to misconfiguration. This Skill provides verified, documentation-backed guidance for any Neon-related task. ## Core Features & Use Cases - Connection Guidance: Helps you choose between TCP, HTTP, WebSocket, and serverless drivers based on your runtime constraints (edge, serverless, long-running). - Platform Feature Coverage: Explains branching, autoscaling, scale-to-zero, instant restore, read replicas, connection pooling, and logical replication. - Tooling & SDKs: Covers the Neon CLI (neonctl), REST API, TypeScript and Python SDKs, Neon Auth, and the Neon JS data API. - Use Case: You are deploying a serverless app on Vercel and need to connect to Postgres. Use this Skill to determine whether to use the @neondatabase/serverless driver with HTTP queries or pooled connections, and how to configure it correctly. ## Quick Start Ask how to connect your application to a Neon Postgres database and which driver or connection method fits your runtime.

Frequently Asked Questions about neon-postgres

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

FAQPage Schema
How do I connect to a Neon Postgres database from a serverless app?

Use the @neondatabase/serverless driver, which supports HTTP queries for single-shot requests and WebSocket connections for transactions. For high-concurrency serverless runtimes, use the pooled connection endpoint by adding -pooler to your endpoint hostname.

What is the difference between Neon Auth and the Neon JS SDK?

Neon Auth is a managed user authentication service with UI components for Next.js and React apps. The Neon JS SDK (@neondatabase/neon-js) embeds Neon Auth together with a PostgREST-style data API, so it suits combined auth plus data querying workflows.

Does Neon support database branching for preview deployments?

Yes, Neon branches are instant copy-on-write clones with no full data copy, and each branch gets its own compute endpoint. You can create, inspect, and compare branches using the neonctl CLI or the Neon MCP server.

How do I manage Neon resources programmatically?

Use the Neon REST API for direct HTTP automation, the @neondatabase/api-client TypeScript SDK, or the neon-api Python package. The neonctl CLI also supports scripting and CI/CD automation workflows.

Why does my first Neon query take longer after idle periods?

Neon computes suspend automatically after an idle period (default 5 minutes) to reduce costs. The first query after suspension incurs a cold-start penalty of typically a few hundred milliseconds, while storage remains active.