---
name: composio-community-supabase-cli
description: "Manage Postgres databases, auth, edge functions, storage, and local dev environments. Use when an agent needs to manage Supabase projects, run database migrations, deploy edge functions, or start a local Supabase stack."
metadata:
  decimalai-skill-id: "f65f1869-b615-443f-87f5-c104ce5ece3e"
  decimalai-version-id: "ff8b4c88-866d-404f-af1e-05cadf7bd39f"
  decimalai-version: "1"
  decimalai-body-sha256: "caaa4eff6ec00ad419eb37db44932ea475c8a0ed221e899a78aae725fa198515"
  decimalai-name: "composio-community/Supabase CLI"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "devops"
  decimalai-source: "https://app.decimal.ai/s/composio-community-supabase-cli@1/SKILL.md"
---
# Supabase CLI

Manage Postgres databases, auth, edge functions, and storage.

- **Repo**: https://github.com/supabase/cli
- **Docs**: https://supabase.com/docs/guides/cli

## Installation

```bash
npx supabase --help
```

## Key Commands

```bash
npx supabase init
npx supabase start                    # local dev stack
npx supabase db push                  # apply migrations
npx supabase db diff --schema public  # generate migration
npx supabase functions deploy my-func
npx supabase gen types typescript --local
npx supabase migration new my_change
npx supabase db reset
npx supabase link --project-ref <ref>
npx supabase secrets set KEY=value
```

## Agent-Friendly Features

- Local development with `supabase start`
- Database diffing and migration generation
- TypeScript type generation from schema
- Edge function deployment
- Token auth via `SUPABASE_ACCESS_TOKEN`
