file-upload-system

Automate secure file uploads to S3/R2 with presigned URLs and image optimization.

1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/mealpac/manus --skill file-upload-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-upload-system
Source: https://github.com/mealpac/manus/tree/main/skills/tier4-specialized/file-upload-system
Command: npx skills add https://github.com/mealpac/manus --skill file-upload-system

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @aws-sdk/client-s3, @aws-sdk/s3-request-presigner, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Automate secure file uploads to cloud storage by streamlining S3/R2 integration, presigned URLs, and built-in image optimization.

Core Features & Use Cases

  • S3/R2 SDK setup: Sets up the appropriate cloud storage SDKs for secure transfers.
  • Upload components: Generates ready-to-use upload UI and backend handlers.
  • Presigned URLs: Implements time-limited access tokens to upload files safely.
  • Image optimization: Performs on-the-fly optimization to reduce bandwidth.
  • Use Case: Build a user-generated content feature with secure, fast uploads across S3 and R2.

Quick Start

Run the setup_uploads.py script to initialize the S3/R2 file upload system.

Frequently Asked Questions about file-upload-system

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

FAQPage Schema
How do I generate presigned URLs for secure S3 uploads in a web application?

Presigned URLs provide time-limited access tokens to upload files safely to S3 or R2. This system automates generating these tokens using AWS SDKs, enabling secure, direct-to-cloud transfers without exposing your storage credentials to the client.

What is the best way to set up an R2 file upload system with image optimization?

An effective R2 file upload system uses S3-compatible SDKs and presigned URLs for secure transfers, plus on-the-fly image optimization to reduce bandwidth. This system automates that setup, generating the necessary backend handlers and UI components.

Does this file upload system work with both AWS S3 and Cloudflare R2?

Yes, the file upload system works across S3, R2, and compatible storage backends. It configures the appropriate cloud storage SDKs using @aws-sdk/client-s3 to handle secure transfers uniformly across both platforms.

How do I securely handle user-generated content uploads to cloud storage?

Secure user-generated content uploads require time-limited presigned URLs and direct-to-cloud transfers. This system sets up the SDKs, generates upload UI components, and creates backend handlers to safely manage scalable user file submissions.

Can I reduce bandwidth when uploading images to S3?

Yes, you can reduce bandwidth by performing on-the-fly image optimization during the upload process. This system integrates image optimization directly with S3 and R2 uploads to minimize file sizes before they reach your storage bucket.

What are the limitations of using presigned URLs for cloud storage uploads?

Presigned URLs for cloud storage uploads are time-limited and expire after a set duration, requiring careful token lifecycle management. This system handles the generation of these tokens to ensure safe, scalable access without credential exposure.