convex-file-storage

Upload, serve, and manage file metadata in Convex applications.

Updated Aug 30, 2025
One-click install
npx skills add https://github.com/kristofferaas/deep-stortinget --skill convex-file-storage-kristofferaas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-file-storage
Source: https://github.com/kristofferaas/deep-stortinget/tree/main/.agents/skills/convex-file-storage
Command: npx skills add https://github.com/kristofferaas/deep-stortinget --skill convex-file-storage-kristofferaas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the entire process of handling files within Convex applications, from uploading and storing to serving and managing their metadata.

Core Features & Use Cases

  • File Uploads: Handles the complete upload flow, including generating secure upload URLs.
  • File Serving: Provides direct URLs to serve uploaded files.
  • Storage & Metadata: Stores generated files from actions and accesses file metadata from system tables.
  • Deletion: Manages the deletion of files from storage and associated database records.
  • Use Case: An e-commerce platform can use this Skill to allow users to upload product images, store them securely, and serve them directly on product pages.

Quick Start

Use the convex-file-storage skill to upload a new image file named 'profile.png'.

Frequently Asked Questions about convex-file-storage

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

FAQPage Schema
How do I handle file uploads in a Convex application?

Handle file uploads in a Convex application by generating secure upload URLs on the server, then using client-side upload logic to transfer files directly into Convex storage. This skill manages the complete upload flow seamlessly.

Can I store and serve images and PDFs using Convex file storage?

Store and serve files in Convex by generating direct URLs for uploaded assets. This skill provides comprehensive file management capabilities, allowing you to serve images and PDFs directly on your application pages.

Does Convex support deleting files from storage and database records?

Convex supports deleting files from storage and database records through integrated mutations. This skill manages the deletion process, ensuring both the physical file and its associated metadata are removed.

What is the best way to access file metadata in Convex system tables?

Access file metadata in Convex system tables by querying them through server-side actions. This skill provides the necessary operations to retrieve and manage metadata for files stored within your Convex application.

How do I store generated files from Convex actions in cloud storage?

Store generated files from Convex actions in cloud storage by executing server-side storage operations. This skill handles saving files created during actions directly into your Convex file storage system.