A specialized code generator that automates the creation of secure and efficient file upload handlers for various storage backends.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install upload-gen
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install upload-gen using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Upload Handler Generator is a developer-centric utility designed to simplify the complex task of managing file uploads in modern applications. As a key part of the Openclaw Skills suite, it allows developers to quickly generate robust code for Express, Fastify, or serverless environments. Whether you need to handle local storage, AWS S3, or Cloudflare R2, this tool automates the creation of middleware, validation logic, and storage integration. It ensures that security best practices—such as file type verification and size limits—are baked into your application from day one, reducing the risk of common vulnerabilities associated with user-generated content.
This tool requires Node.js 18 or higher. You can run it directly without a global installation using npx, making it a highly accessible part of the Openclaw Skills ecosystem.
npx ai-upload "images to S3 with 5MB limit"
To view all available options, use the help command:
npx ai-upload --help
The generator produces structured code components that organize upload metadata and file handling logic as follows:
| Component | Purpose |
|---|---|
| Storage Interface | Defines the connection logic for S3, R2, or local paths. |
| Validation Logic | Enforces rules for file extensions, MIME types, and maximum sizes. |
| Presigned URL Logic | (Optional) Generates secure tokens for direct-to-cloud client uploads. |
| Error Handling | Provides structured responses for failed uploads or validation errors. |
Loading
A streamlined developer tool that instantly converts JSON objects and API payloads into clean, production-ready TypeScript interfaces.

An intelligent CLI tool that generates perfectly tailored tsconfig.json files based on your specific project description.

An AI-driven CLI tool that transforms brand colors into fully functional, accessible design systems and CSS variables.

Automatically generate production-ready unit tests with real assertions by analyzing your source code logic.

A specialized tool that automatically converts TypeScript interfaces and types into production-ready Zod or Yup validation schemas.

A CLI tool that automatically generates optimized Vercel configuration files based on your project framework and structure.








































