360 Secure SkillHub
360 安全技能中心

Uploadthing

核心功能涵盖文件上传、列示、删除、重命名,生成CDN访问链接,查看存储带宽使用统计及应用配置。适用于Web应用文件存储、媒体管理、AI代理文件托管等场景。通过CLI命令操作,需配置UPLOADTHING_SECRET密钥;输出默认JSON格式,可加--human参数转为可读格式,所有数据直连Uploadthing API,不本地存储。

aiwithabidi
aiwithabidi
热度 55.24
最近更新 2026-05-10 17:41:45
分类:自动化依赖:代码执行 / 第三方 API应用场景:API 集成 / 自动化脚本 / 任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add uploadthing
Metadata
name
uploadthing
description
Uploadthing file hosting — upload, list, and manage files via the Uploadthing API. Simple file uploads with automatic CDN delivery, file metadata, and usage tracking. Built for AI agents — Python stdlib only, zero dependencies. Use for file uploads, file hosting, CDN delivery, media management, and file storage for web apps.
homepage
https://www.agxntsix.ai
license
MIT
compatibility
Python 3.10+ (stdlib only — no dependencies)
metadata
{"openclaw":{"emoji":"📤","requires":{"env":["UPLOADTHING_SECRET"]},"primaryEnv":"UPLOADTHING_SECRET","homepage":"https://www.agxntsix.ai"}}

📤 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