supabase

Assist with Supabase development tasks across products, client libraries, and schema changes.

2.5k|180|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/supabase/agent-skills --skill supabase-supabase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: supabase
Source: https://github.com/supabase/agent-skills/tree/main/skills/supabase
Command: npx skills add https://github.com/supabase/agent-skills --skill supabase-supabase

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires supabase-js, @supabase/ssr, supabase-py, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This skill addresses the complexities and nuances of Supabase development, enabling AI agents to efficiently assist with a variety of tasks related to Supabase products, integrations, and client libraries.

Core Features & Use Cases

  • Comprehensive Supabase Support: Covering all Supabase products and integrations, including Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues.
  • Client Libraries and SSR Integration: Facilitates the use of supabase-js, @supabase/ssr in Next.js, React, SvelteKit, Astro, Remix.
  • Auth Issue Troubleshooting: Handles login, logout, sessions, JWT, cookies, getSession, getUser, getClaims, RLS issues.
  • CLI and MCP Server Assistance: Provides guidance on using the Supabase CLI and MCP server.
  • Schema Management: Assists with schema changes, migrations, declarative schemas, security audits, and Postgres extensions.
  • Use Case: For instance, an AI agent can be instructed to "Review my schema for performance issues" or "Help me set up Supabase Auth with Next.js."

Quick Start

Use the supabase skill to optimize your Supabase query or review your schema for performance issues.

Frequently Asked Questions about supabase

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

FAQPage Schema
How do I set up Supabase Auth with Next.js and manage sessions?

To set up Supabase Auth with Next.js, use the @supabase/ssr library to handle login, logout, sessions, and cookie management. This integration ensures secure JWT and session handling across server-side rendering environments.

Can I use the Supabase CLI to manage schema migrations and declarative schemas?

Yes, the Supabase CLI supports schema management by assisting with schema changes, migrations, and declarative schemas. It enables developers to apply and track database schema modifications efficiently during local and remote development.

What is the best way to review my Postgres schema for performance and security issues?

Reviewing your Postgres schema for performance and security issues involves auditing declarative schemas, checking Row Level Security (RLS) policies, and evaluating Postgres extensions. This ensures optimized queries and protected data access.

Why does getSession return null when troubleshooting Supabase authentication issues?

When troubleshooting Supabase authentication, getSession returning null often indicates issues with JWT, cookies, or session expiration. Properly configuring @supabase/ssr and verifying getClaims and getUser helps resolve these RLS and session access problems.

Does Supabase support integration with client libraries like supabase-js and supabase-py?

Supabase supports integration with client libraries including supabase-js, @supabase/ssr, and supabase-py. These libraries facilitate product integrations for Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, and Queues.