# Tune Supabase Postgres queries, indexing, and RLS with Supabase Postgres Best Practices

> Review Supabase Postgres work for query performance, schema design, indexing, connection handling, and RLS pitfalls using Supabase's own prioritized guidance.

- Skill: `agentskillexchange/tune-supabase-postgres-queries-indexing-and-rls-with-supabas` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/tune-supabase-postgres-queries-indexing-and-rls-with-supabas`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/tune-supabase-postgres-queries-indexing-and-rls-with-supabas/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/tune-supabase-postgres-queries-indexing-and-rls-with-supabas

---


# Tune Supabase Postgres queries, indexing, and RLS with Supabase Postgres Best Practices

Review Supabase Postgres work for query performance, schema design, indexing, connection handling, and RLS pitfalls using Supabase's own prioritized guidance.

## Prerequisites

Supabase Postgres project access, SQL schema and query context, optional query plans and performance metrics

## Installation

Use the upstream install or setup path that matches your environment:
- npx skills add supabase/agent-skills
- npx skills add supabase/agent-skills --skill supabase
- npx skills add supabase/agent-skills --skill supabase-postgres-best-practices

Basic usage or getting-started notes:
- See the [Supabase AI Skills documentation](https://supabase.com/docs/guides/getting-started/ai-skills)
- for detailed installation instructions.
- bash

- Source: https://github.com/supabase/agent-skills/tree/main/supabase-postgres-best-practices
- Extracted from upstream docs: https://raw.githubusercontent.com/supabase/agent-skills/HEAD/README.md

## Documentation

- https://supabase.com/docs/guides/getting-started/ai-skills

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/tune-supabase-postgres-queries-indexing-and-rls-with-supabase-postgres-best-practices/)

