$npx skillfedfor your agent

supabase-python

This skill teaches FastAPI development using Supabase for authentication and storage, paired with SQLAlchemy or SQLModel for database operations. It covers project structure, async session management, JWT validation, and API routes for signup and signin workflows.

Supabase-python provides FastAPI patterns combining Supabase Auth with SQLModel for building type-safe backend applications.

AI-generated summary based on this skill's SKILL.md

703 56 MITupdated by alinaqi

Decision gist · record as of 2026-07-14

Supabase-python provides FastAPI patterns combining Supabase Auth with SQLModel for building type-safe backend applications. This skill teaches FastAPI development using Supabase for authentication and storage, paired with SQLAlchemy or SQLModel for database operations. It covers project structure, async session management, JWT validation, and API routes for signup and signin workflows.

manual: git clone https://github.com/alinaqi/maggy → cp -r maggy/skills/supabase-python ~/.claude/skills/supabase-python
skills/supabase-python/SKILL.md · version c8b94806

Use it when

  • supabase-python covers async database access with SQLModel and PostgreSQL in FastAPI through async session management patterns.
  • supabase-python teaches implementing Supabase authentication and JWT validation in FastAPI routes.

Verify before relying

Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

alinaqi/maggy/supabase-python · repository language: Python

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I set up fastapi supabase python integration?

supabase-python teaches FastAPI development with Supabase backend using SQLAlchemy or SQLModel for database operations. Start by installing FastAPI, Supabase client, and SQLModel. Configure your Supabase project URL and API keys in environment variables, then initialize the Supabase client in your FastAPI app. The skill covers project structure, async session management, and connecting your FastAPI routes to Supabase PostgreSQL databases with proper ORM patterns.

What does supabase-python teach about async database access?

supabase-python covers async database access with SQLModel and PostgreSQL in FastAPI through async session management patterns. You'll learn to configure async engines, use dependency injection for database sessions, and write async route handlers that query Supabase PostgreSQL without blocking. The skill demonstrates how to combine SQLModel's ORM capabilities with asyncpg for non-blocking database operations in production FastAPI applications.

How does supabase-python handle authentication and JWT validation?

supabase-python teaches implementing Supabase authentication and JWT validation in FastAPI routes. The skill covers signup and signin workflows, extracting JWT tokens from request headers, validating tokens against Supabase, and protecting routes with dependency injection. You'll learn to use Supabase's service role key for server-side operations and implement Row Level Security (RLS) policies to secure data access at the database level.

What patterns does supabase-python cover for storage and realtime?

supabase-python teaches patterns for Supabase storage, realtime subscriptions, and migrations in Python. The skill includes file upload workflows using Supabase Storage buckets, async realtime event handling, and database migrations with Alembic. You'll learn to integrate these features into FastAPI routes, manage CORS middleware for cross-origin requests, and structure your application for scalable Supabase integration.

Can supabase-python help with SQLModel ORM and Supabase backend?

Yes, supabase-python focuses on SQLModel ORM with Supabase backend integration. The skill teaches how to define SQLModel schemas, configure async SQLAlchemy engines for Supabase PostgreSQL, and use dependency injection to manage database sessions in FastAPI. You'll learn model relationships, query patterns, and how to leverage SQLModel's validation alongside Supabase's authentication and storage capabilities in a cohesive FastAPI application.

How does supabase-python address environment setup and CORS?

supabase-python covers configuring environment variables, CORS middleware, and dependency injection for FastAPI. The skill teaches how to securely store Supabase credentials and API keys, set up CORS policies for frontend integration, and use FastAPI's dependency injection system to manage database sessions and authentication across routes. Proper configuration ensures your FastAPI application safely communicates with Supabase and frontend clients.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

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

``` project/ ├── src/ │ ├── api/ │ │ ├── init.py │ │ ├── routes/ │ │ │ ├── init.py │ │ │ ├── auth.py │ │ │ ├── posts.py │ │ │ └── users.py │ │ └── deps.py # Dependencies (auth, db) │ ├── core/ │ │ ├── init.py │ │ ├── config.py # Settings │ │ └── security.py # Auth helpers │ ├── db/ │ │ ├── init.py │ │ ├── session.py # Database session │ │

(truncated - see the full file via the links below)

File tree — 1 file
skills/supabase-python/SKILL.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Build a FastAPI application with Supabase backend and SQLAlchemy/SQLModel ORM”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

python-fastapi
by JosiahSiegel · JosiahSiegel/claude-plugin-marketplace

python-fastapi guides you through architecting enterprise-grade FastAPI applications with proven patterns for project layout, schema validation, dependency injection, and authentication. It covers async database integration with SQLAlchemy, JWT security, Docker containerization, and testing strategies to ensure your API runs reliably in production.

MITupdated Jun 2026
★ 49repo stars
fastapi-templates
by HermeticOrmus · HermeticOrmus/LibreUIUX-Claude-Code

This skill provides structured project templates for FastAPI applications, covering directory organization, configuration management, and async database integration. It includes patterns for dependency injection, CRUD repositories, and service layers to establish a scalable foundation for backend API development.

MITupdated May 2026
★ 86repo stars
Fastapi
by manutej · manutej/luxor-claude-marketplace

Master FastAPI for building scalable customer support APIs with async request handling, dependency injection, and Pydantic validation. Learn database integration with PostgreSQL, WebSocket real-time capabilities, authentication patterns, and background task management. This intermediate-to-advanced skill covers the complete lifecycle from endpoint design to production deployment.

no license declared → metadata onlyupdated Jun 2026
★ 61repo stars
python-backend
by jiatastic · jiatastic/open-python-skills

Master production-grade backend development with FastAPI, async patterns, and type-safe code. This skill covers REST API design, authentication, database operations with SQLAlchemy, and Redis caching via Upstash—all built on async-first principles and security best practices.

MITupdated Jan 2026
★ 7repo stars
Python Backend Expert
by hieutrtr · hieutrtr/ai1-skills

Python Backend Expert guides implementation of FastAPI endpoints, SQLAlchemy models, Pydantic schemas, and layered architecture with repositories and services. It covers async session management, dependency injection, error handling, and database migrations for Python 3.12+ projects.

no license declared → metadata onlyupdated Feb 2026
★ 8repo stars
fastapi-patterns
by affaan-m · affaan-m/ECC

Master production-grade FastAPI development through organized project layouts, Pydantic v2 validation, dependency injection patterns, and async request handling. This skill covers authentication, authorization, transactional service layers, and testing strategies to build scalable applications.

MITupdated Jul 2026
★ 234,207repo stars

More skills fastapi-templates (MIT) · Fastapi Coder (NOASSERTION) · Fastapi Expert (Unlicense) · sqlalchemy (MIT) · sqlalchemy-postgres (MIT) · fastapi-patterns (Apache-2.0) · Sqlmodel Expert (unlicensed)

Tags
backend-frameworkdatabase-ormauth-jwtasync-patternscloud-backendtype-safetymigration-toolsfile-storagerealtime-sync