skills$openclaw/upload-gen
lxgicstudios4.9k

by lxgicstudios

upload-gen – OpenClaw Skill

upload-gen is an OpenClaw Skills integration for coding workflows. Generate file upload handling code. Use when building upload features with S3, local storage, or cloud providers.

4.9k stars3.6k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameupload-gen
descriptionGenerate file upload handling code. Use when building upload features with S3, local storage, or cloud providers. OpenClaw Skills integration.
ownerlxgicstudios
repositorylxgicstudios/upload-gen
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @lxgicstudios/upload-gen
last updatedFeb 7, 2026

Maintainer

lxgicstudios

lxgicstudios

Maintains upload-gen in the OpenClaw Skills directory.

View GitHub profile
File Explorer
9 files
.
src
cli.ts
641 B
index.ts
742 B
_meta.json
292 B
package-lock.json
30.2 KB
package.json
603 B
README.md
228 B
SKILL.md
2.4 KB
tsconfig.json
251 B
SKILL.md

name: upload-gen description: Generate file upload handling code. Use when building upload features with S3, local storage, or cloud providers.

Upload Handler Generator

File uploads are tricky. Validation, storage, progress tracking. This tool generates complete upload handling code for your stack. S3, local disk, Cloudflare R2. whatever you need.

One command. Zero config. Just works.

Quick Start

npx ai-upload "image upload to S3 with validation"

What It Does

  • Generates file upload handlers for Express, Fastify, or serverless
  • Includes file type validation and size limits
  • Supports S3, local storage, Cloudflare R2, and GCS
  • Creates presigned URL flows for direct uploads
  • Handles multipart uploads for large files

Usage Examples

# S3 upload with validation
npx ai-upload "images to S3 with 5MB limit and JPEG/PNG only"

# Local storage
npx ai-upload "documents to local disk with unique filenames"

# Presigned URLs for direct upload
npx ai-upload "presigned S3 URLs for client-side upload"

# Multiple file upload
npx ai-upload "bulk image upload up to 10 files"

# With progress tracking
npx ai-upload "large file upload with progress callback" --with-progress

Best Practices

  • Validate on both client and server - Never trust client-side validation alone
  • Use presigned URLs for large files - Don't proxy everything through your server
  • Set reasonable limits - Both file size and count per request
  • Scan for malware - Especially for user-uploaded executables

When to Use This

  • Adding profile picture uploads
  • Building document management features
  • Creating media libraries with file uploads
  • Implementing bulk import functionality

Part of the LXGIC Dev Toolkit

This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.

Find more:

Requirements

No install needed. Just run with npx. Node.js 18+ recommended.

npx ai-upload --help

How It Works

The tool generates upload handling code based on your storage target and requirements. It creates the middleware, validation logic, and storage integration code you need to handle file uploads properly.

License

MIT. Free forever. Use it however you want.

README.md

ai-upload

Generate file upload handling code

Install

npm install -g ai-upload

Usage

npx ai-upload "your description here"

Setup

export OPENAI_API_KEY=sk-...

License

MIT

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

No install needed. Just run with npx. Node.js 18+ recommended. ```bash npx ai-upload --help ```

FAQ

How do I install upload-gen?

Run openclaw add @lxgicstudios/upload-gen in your terminal. This installs upload-gen into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/lxgicstudios/upload-gen. Review commits and README documentation before installing.