Skip to content
alinaqi avatar

Supabase Python

FastAPI backend patterns combining Supabase Auth and storage with SQLAlchemy or SQLModel for type-safe database access.

CCM score
52 of 100
skills.sh installs
264
GitHub stars
712
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers project structure, pyproject dependencies, environment configuration, database sessions, and models for a FastAPI app
  • Includes Supabase client factories, JWT auth dependencies, and signup/signin routes using supabase.auth calls
  • Separates anon-key clients that respect RLS from service-role clients that bypass it, enforced through distinct factory functions
  • Designed for Python projects with a Supabase backend that need Alembic migrations alongside Supabase's own migration folder

Install

$ npx -y skills add alinaqi/maggy --skill supabase-python -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Supabase + Python Skill

FastAPI patterns with Supabase Auth and SQLAlchemy/SQLModel for database access.

Sources: Supabase Python Client | SQLModel


Core Principle

SQLAlchemy/SQLModel for queries, Supabase for auth/storage.

Use SQLAlchemy or SQLModel for type-safe database access. Use supabase-py for auth, storage, and realtime. FastAPI for the API layer.


Project Structure

Details

Repository
github.com/alinaqi/maggy
Categories
Backend & APIs, Python, Databases
First seen
Jun 3, 2026

Questions

What does the supabase-python skill do?

supabase-python gives Claude Code FastAPI patterns for a backend that uses Supabase Auth, with SQLAlchemy or SQLModel handling database queries. It covers the API layer, auth dependencies, and a Supabase client for auth, storage, and realtime.

How do I install the supabase-python skill?

Run npx -y skills add alinaqi/maggy --skill supabase-python -y in a project to install it. Once installed, the agent can build Python and FastAPI apps on a Supabase backend using these patterns.

What does supabase-python need before I use it?

supabase-python expects a Python project with FastAPI, uvicorn, supabase, sqlmodel and asyncpg installed, plus a .env file holding the Supabase URL, anon key, service role key and a Postgres database URL. Those keys come from running Supabase locally.

Where does supabase-python sit in its category?

supabase-python is in the Backend & APIs category on Claude Marketplaces, next to entra-app-registration, neon, firebase-basics, firebase-auth-basics and workers-best-practices. Its focus is Python backends built on Supabase Auth and SQLAlchemy or SQLModel.

More from alinaqi/maggy

All 54

Similar to Supabase Python

More Backend & APIs