Uploadthing for Openclaw

A zero-dependency Python utility for AI agents to upload, manage, and deliver files via the Uploadthing API and CDN.

aiwithabidi
v1.0.0
Mar 7, 2026
0
367
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install uploadthing

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install uploadthing using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Uploadthing?

Uploadthing is a streamlined file hosting and management integration designed specifically for Openclaw Skills. It allows AI agents to interact directly with the Uploadthing API to handle file storage, CDN delivery, and media management without the overhead of external dependencies. By leveraging only the Python standard library, it provides a lightweight yet powerful way for agents to programmatically control assets, ensuring high performance and security.

This skill is essential for developers looking to automate file-related workflows within their AI-driven environments. Whether it is generating public URLs for media or tracking storage usage, this tool bridges the gap between AI agents and cloud storage infrastructure, making it a cornerstone for Openclaw Skills deployments that require robust file handling.

Uploadthing Use Cases

  • Automating the upload of generated media or documents to a global CDN for instant accessibility.
  • Programmatically managing asset libraries for web applications during the development and testing phases.
  • Implementing automated cleanup routines to delete redundant or temporary files by their unique keys.
  • Generating and retrieving direct URLs for files to be used in frontend applications or documentation.
  • Monitoring bandwidth and storage quotas to ensure cost-effective cloud resource management.

How Uploadthing Works

  1. The skill authenticates with the Uploadthing API using the UPLOADTHING_SECRET environment variable.
  2. When an upload command is triggered, the script reads the local file and streams it directly to the Uploadthing servers.
  3. The API processes the file and returns a unique file key, metadata, and a persistent CDN URL.
  4. For management tasks like listing or deleting, the skill sends signed requests to the API endpoints to fetch or modify file states.
  5. All responses are returned in a structured JSON format, allowing Openclaw Skills to parse and use the data in subsequent automated steps.

Uploadthing Setup

To integrate this skill with your Openclaw Skills setup, you must provide your API secret. Set the environment variable as follows:

export UPLOADTHING_SECRET="your_uploadthing_secret_key"

Once configured, you can run commands directly via the Python script:

# Check application info and configuration
python3 scripts/uploadthing.py app-info

# Upload a specific file
python3 scripts/uploadthing.py upload my-image.png

Uploadthing Data Schema & Taxonomy

The skill interacts with the Uploadthing API to manage the following data entities:

Entity Attributes Description
File Key, Name, Size, Type Core metadata for every uploaded object
App Info ID, Region, Plan Configuration details of the Uploadthing project
Usage Storage, Bandwidth Real-time metrics of resource consumption
Response JSON / Human Flexible output formats for agent or developer use

Uploadthing Advanced Features

  • Bulk deletion support allows for removing multiple files simultaneously using a comma-separated list of keys.
  • Native JSON output by default facilitates seamless integration with other Openclaw Skills in a pipeline.
  • Zero-dependency design ensures the script runs in any Python 3.10+ environment without installing pip packages.
  • Real-time usage tracking provides programmatic access to storage and bandwidth statistics for automated reporting.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Github Stars: 0
forks: 0

Featured*