convex-file-storage

Upload, store, serve, and manage files in Convex apps.

1|1|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/Cheggin/request-for-startups --skill convex-file-storage-cheggin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-file-storage
Source: https://github.com/Cheggin/request-for-startups/tree/main/skills/convex-file-storage
Command: npx skills add https://github.com/Cheggin/request-for-startups --skill convex-file-storage-cheggin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex applications often require reliable, scalable file handling that integrates storage, serving URLs, and metadata without building a bespoke backend. This Skill provides a built-in pattern for uploading files, persisting references, serving content with generated URLs, and managing file metadata and lifecycle.

Core Features & Use Cases

  • Automatic URL generation for serving files
  • Supports any file type (images, PDFs, documents, etc.)
  • Metadata access via the _storage system table
  • Mutations and actions integration to store and reference files
  • Lifecycle management such as deletion and cleanup of orphaned storage

Quick Start

Follow the setup to enable convex file storage in your app and begin uploading, storing references, and serving files via generated URLs.

Frequently Asked Questions about convex-file-storage

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

FAQPage Schema
How do I upload and serve files in a Convex application?

To upload and serve files in a Convex application, use the built-in storage API with mutations and actions to store assets and generate automatic URLs for serving content to your frontend.

Can I store and reference user-uploaded images and PDFs using Convex file storage?

Yes, Convex file storage supports any file type including images and PDFs, allowing you to upload user assets, persist references via mutations, and retrieve them through generated serving URLs.

How does Convex handle file metadata and lifecycle management?

Convex handles file metadata through the _storage system table, enabling you to access file details and manage the lifecycle by deleting files and cleaning up orphaned storage references.

What is the best way to generate serving URLs for stored files in Convex?

The best way to generate serving URLs for stored files in Convex is by using the built-in storage API, which automatically produces URLs to serve uploaded assets directly to your application.

Do I need to build a custom backend to manage file uploads in Convex?

No, you do not need a custom backend to manage file uploads in Convex because this approach provides an end-to-end pattern using the built-in storage API to handle storing, serving, and metadata access.

How do I delete files and clean up orphaned storage in Convex?

You delete files and clean up orphaned storage in Convex by implementing lifecycle management workflows that remove unused references and permanently delete assets from the _storage system table.