返回 Skill 列表
extension
分类: 开发与工程需要 API Key

Uploadthing

Uploadthing 文件托管服务——通过 Uploadthing API 上传、列出和管理文件。简单文件上传,自动 CDN 分发,支持文件元数据和使用量统计。

person作者: aiwithabidihubclawhub

📤 Uploadthing

Uploadthing file hosting — upload, list, and manage files via the Uploadthing API.

Features

  • File upload — upload files with metadata
  • File listing — list uploaded files with filtering
  • File deletion — remove files by key
  • URL generation — get CDN URLs for files
  • Usage tracking — storage and bandwidth usage
  • File metadata — name, size, type, upload date
  • Bulk operations — delete multiple files
  • App info — application configuration

Requirements

| Variable | Required | Description | |----------|----------|-------------| | UPLOADTHING_SECRET | ✅ | API key/token for Uploadthing |

Quick Start

# List uploaded files
python3 {baseDir}/scripts/uploadthing.py files --limit 50
# Upload a file
python3 {baseDir}/scripts/uploadthing.py upload document.pdf
# Delete files
python3 {baseDir}/scripts/uploadthing.py delete --keys file_key1,file_key2
# Get usage stats
python3 {baseDir}/scripts/uploadthing.py usage

Commands

files

List uploaded files.

python3 {baseDir}/scripts/uploadthing.py files --limit 50

upload

Upload a file.

python3 {baseDir}/scripts/uploadthing.py upload document.pdf

delete

Delete files.

python3 {baseDir}/scripts/uploadthing.py delete --keys file_key1,file_key2

usage

Get usage stats.

python3 {baseDir}/scripts/uploadthing.py usage

app-info

Get app configuration.

python3 {baseDir}/scripts/uploadthing.py app-info

url

Get file URL.

python3 {baseDir}/scripts/uploadthing.py url file_key

rename

Rename a file.

python3 {baseDir}/scripts/uploadthing.py rename file_key "new-name.pdf"

Output Format

All commands output JSON by default. Add --human for readable formatted output.

# JSON (default, for programmatic use)
python3 {baseDir}/scripts/uploadthing.py files --limit 5

# Human-readable
python3 {baseDir}/scripts/uploadthing.py files --limit 5 --human

Script Reference

| Script | Description | |--------|-------------| | {baseDir}/scripts/uploadthing.py | Main CLI — all Uploadthing operations |

Data Policy

This skill never stores data locally. All requests go directly to the Uploadthing API and results are returned to stdout. Your data stays on Uploadthing servers.

Credits


Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.

📅 Need help setting up OpenClaw for your business? Book a free consultation