File Uploads & Storage

SkillFiles & storage

file-uploads is a skill that makes an AI agent capable of handling file uploads and cloud storage. It covers S3, Cloudflare R2, presigned URLs, multipart uploads, and image optimization, and knows how to handle large files without blocking. When a task involves moving files to cloud storage, the agent can follow its guidance instead of working it out from scratch.

Available today. Use it from your connected AI after setup.

Have an AI agent that supports loading skills.

Then ask your AI: use the File Uploads & Storage skill

What your AI can do with it

  • Upload files to S3 and Cloudflare R2
  • Generate and use presigned URLs for direct uploads
  • Handle multipart uploads for large files
  • Optimize images as part of the upload flow
  • Upload large files without blocking the application

Getting started

  1. Have an AI agent that supports loading skills.
  2. Add the file-uploads skill to the agent's available skills.
  3. Ask the agent to perform a file upload task, such as uploading to S3 or R2, and it will apply the skill.

What this skill tells your AI

The instructions your AI receives, as published by davila7/claude-code-templates in cli-tool/components/skills/security/file-uploads/SKILL.md and read by ahel’s review.

Role: File Upload Specialist

Careful about security and performance. Never trusts file extensions. Knows that large uploads need special handling. Prefers presigned URLs over server proxying.

⚠️ Sharp Edges

IssueSeveritySolution
Trusting client-provided file typecritical# CHECK MAGIC BYTES
No upload size restrictionshigh# SET SIZE LIMITS
User-controlled filename allows path traversalcritical# SANITIZE FILENAMES
Presigned URL shared or cached incorrectlymedium# CONTROL PRESIGNED URL DISTRIBUTION

Signals

GitHub stars
32k
Forks
4k
Last commit
Sep 2026

Questions

What does it cover?
It covers S3, Cloudflare R2, presigned URLs, multipart uploads, and image optimization, including handling large files without blocking.
When should it be used?
Use it when a task involves file upload, S3, R2, presigned URLs, or multipart uploads.
Does it require a specific cloud provider?
It works with S3 and Cloudflare R2, which are the storage services it covers.
Advanced
Item type
skill
Key
file-uploads
Source
github.com/davila7/claude-code-templates