supabase-connect

Connect to Supabase PostgreSQL to create tables and run SQL queries.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/monicajeon28/GMcruise --skill supabase-connect
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: supabase-connect
Source: https://github.com/monicajeon28/GMcruise/tree/main/.claude/skills/supabase-connect
Command: npx skills add https://github.com/monicajeon28/GMcruise --skill supabase-connect

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill requires pg.

What problem does it solve?

Supabase PostgreSQL ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์ง์ ‘ ์—ฐ๊ฒฐํ•˜์—ฌ ํ…Œ์ด๋ธ” ์ƒ์„ฑ, SQL ์‹คํ–‰, ์Šคํ‚ค๋งˆ ํ™•์ธ ๋“ฑ์˜ ์ž‘์—…์„ ์ž๋™ํ™”ํ•ฉ๋‹ˆ๋‹ค.

Core Features & Use Cases

  • .env์—์„œ ์—ฐ๊ฒฐ ์ •๋ณด ์ž๋™ ๋กœ๋“œ
  • Node.js pg ํด๋ผ์ด์–ธํŠธ๋กœ SQL ์‹คํ–‰
  • ๊ฐ„๋‹จํ•œ ์Šคํฌ๋ฆฝํŠธ๋กœ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๊ด€๋ฆฌ ๋ฐ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๊ฐ€์ด๋“œ

Quick Start

ํ”„๋กœ์ ํŠธ ๋ฃจํŠธ์—์„œ node ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์‹คํ–‰ํ•ด SQL ์ฟผ๋ฆฌ๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

Frequently Asked Questions about supabase-connect

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

FAQPage Schema
How do I connect to a Supabase PostgreSQL database and execute SQL queries?โ–ผ

Connect to Supabase PostgreSQL using the Node.js pg client with environment-based connection credentials (host, port, user, password, database). Load connection info from .env, disable SSL rejectUnauthorized, and execute raw SQL queries directly through the pg Client connection pool.

What environment variables do I need to connect to Supabase?โ–ผ

You need host, port, user, password, and database name from your Supabase project. Store these in .env and load them at runtime. Supabase also provides pooler URLs for connection pooling and requires IPv4-first DNS handling for WSL environments.

Can I automate table creation and schema management in Supabase?โ–ผ

Yes. Write Node.js scripts using the pg client to execute CREATE TABLE, ALTER, DROP, and other DDL statements directly. This allows you to automate table creation, modify schemas, and manage migrations programmatically from environment-based connection strings.

Do I need SSL configuration to connect to Supabase from Node.js?โ–ผ

Yes. Supabase requires SSL connections. Configure the pg client with SSL enabled and set rejectUnauthorized to false for development, or use proper certificate handling for production environments.

How do I handle database migrations in Supabase with Node.js?โ–ผ

Write SQL migration scripts executed through the pg client. Load connection info from environment variables, execute raw SQL to create or modify tables, and manage schema changes programmatically as part of your deployment workflow.