File Uploads & Storage
SkillFiles & storagefile-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.
No other account needed.
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
- Have an AI agent that supports loading skills.
- Add the file-uploads skill to the agent's available skills.
- 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
| Issue | Severity | Solution |
|---|---|---|
| Trusting client-provided file type | critical | # CHECK MAGIC BYTES |
| No upload size restrictions | high | # SET SIZE LIMITS |
| User-controlled filename allows path traversal | critical | # SANITIZE FILENAMES |
| Presigned URL shared or cached incorrectly | medium | # 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