convex-file-storage

Generate upload URLs, store files, and serve them via Convex.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/Yahia89/ordering-food --skill convex-file-storage-yahia89
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-file-storage
Source: https://github.com/Yahia89/ordering-food/tree/main/.claude/skills/convex-file-storage
Command: npx skills add https://github.com/Yahia89/ordering-food --skill convex-file-storage-yahia89

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex-based applications struggle to securely and efficiently handle user-uploaded files, generate accessible URLs, and maintain file metadata.

Core Features & Use Cases

  • Generate secure upload URLs and manage upload flows for images, documents, and generated content.
  • Store files in Convex storage, serve them via generated URLs, and expose metadata for client display and auditing.
  • Manage file lifecycle with metadata tracking and deletion cleanup, enabling display, download, and programmatic references.

Quick Start

Upload a file to Convex storage and retrieve its public serving URL for display or download.

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, generate a secure upload URL, perform the client-side upload, save the file reference to the database, and retrieve the generated URL for display or download.

Can I store user-uploaded images and documents in Convex storage?

Yes, you can store user-uploaded images and documents in Convex storage. The workflow supports generating upload URLs, saving file references, and exposing metadata for client display and auditing.

What is the best way to manage file metadata and deletion in Convex?

The best way to manage file metadata and deletion in Convex is to track file references in the database and execute storage deletion cleanup upon record removal to maintain the file lifecycle.

Does Convex file storage support generating upload URLs for client-side uploads?

Yes, Convex file storage supports generating secure upload URLs to facilitate direct client-side uploads for images, documents, and generated content before saving references to the database.

How do I retrieve a public URL for a stored file in Convex?

To retrieve a public URL for a stored file in Convex, query the saved file reference from the database to obtain the generated serving URL for client display or download.

What happens to stored files when a database record is removed in Convex?

When a database record is removed in Convex, the file lifecycle management process triggers deletion cleanup to remove the associated file from storage and prevent orphaned data.