# Supabase DB

> Interacting with Supabase databases, user authentication, and storage buckets using the Python client.

- Skill: `lord1egypt/supabase-db-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lord1egypt/supabase-db-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lord1egypt/supabase-db-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT license
- Author: Lord1Egypt (https://skillmd.com/u/lord1egypt)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/lord1egypt/supabase-db-2

---


# Supabase Db

## Overview
Supabase is an open-source Firebase alternative providing database, auth, file storage, and real-time listeners.

## When to Use This Skill
Use to quickly store structured relational data in PostgreSQL without maintaining a server.

## Quick Start (with runnable code examples)

```python
from supabase import create_client

url = "https://your-project.supabase.co"
key = "your-anon-key"
supabase = create_client(url, key)

# Insert a row into the profiles table
data = supabase.table("profiles").insert({"username": "Lord1Egypt"}).execute()
print(data.data)
```

## Advanced Usage
Set up row-level security (RLS) policies, storage bucket uploads, and auth flow redirects.

## Key References
- [Supabase Documentation](https://supabase.com/docs)

## Dependencies
- supabase>=2.0.0

