supabase-storage

Manage Supabase Storage buckets, files, URLs, and RLS policies.

6|Updated Oct 29, 2025
One-click install
npx skills add https://github.com/Raudbjorn/claude --skill supabase-storage-raudbjorn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: supabase-storage
Source: https://github.com/Raudbjorn/claude/tree/main/supabase-storage
Command: npx skills add https://github.com/Raudbjorn/claude --skill supabase-storage-raudbjorn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive guide for managing Supabase Storage, including buckets, objects, access controls, URL generation, and image transformations, enabling teams to securely store and serve assets with minimal boilerplate.

Core Features & Use Cases

  • Bucket management: create and configure public or private buckets with size limits and MIME-type controls.
  • File operations: upload, download, list, move, copy, and delete files, plus resumable uploads.
  • URL generation & access: generate public URLs, signed URLs, and signed upload URLs for controlled access.
  • Security & policies: implement Row Level Security (RLS) policies and edge-function-backed access control.
  • Image transformations: apply on-the-fly image processing to reduce storage needs.
  • Helpers: utilize utility functions like storage.foldername(name) and storage.extension(name) for path parsing.
  • Best practices: guidance on security, performance, and organization.

Quick Start

Create a public bucket named "avatars", upload a sample image, and generate a public URL and a signed URL to verify access.

Frequently Asked Questions about supabase-storage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate signed URLs for private Supabase Storage buckets?

Signed URLs provide secure, time-limited access to files in private Supabase Storage buckets. You generate them to serve private assets without exposing the bucket publicly, ensuring controlled file delivery.

How do I configure Row Level Security policies for Supabase Storage?

Configuring Row Level Security (RLS) policies for Supabase Storage involves defining access rules directly on the storage buckets. This restricts file uploads, downloads, and modifications based on user authentication and specific criteria.

Can I apply image transformations on the fly with Supabase Storage?

Yes, you can apply on-the-fly image transformations with Supabase Storage. This feature dynamically resizes and modifies images during delivery, reducing storage needs and optimizing bandwidth usage.

What is the best way to handle resumable file uploads to Supabase?

The best way to handle resumable file uploads to Supabase is by utilizing the built-in resumable upload functionality. This allows large file transfers to pause and resume automatically, ensuring reliable uploads even with unstable connections.

How do I create and configure Supabase Storage buckets with MIME-type controls?

To create and configure Supabase Storage buckets with MIME-type controls, you set up public or private buckets and enforce specific file type restrictions. This prevents unauthorized file formats from being uploaded to your storage.

Does Supabase Storage integrate with edge functions for access control?

Yes, Supabase Storage integrates with edge functions to enforce custom access control. You can route file requests through edge functions to validate permissions and securely serve protected assets dynamically.