360 Secure SkillHub
360 安全技能中心

Uploadthing

该 Skill 用 Python 标准库 CLI 调用 Uploadthing API,完成文件上传、列表、重命名、删除、CDN 链接获取,以及用量和应用信息查询;默认输出 JSON,可加 --human 输出可读文本,需配置 UPLOADTHING_SECRET,结果不落地本地。

aiwithabidi
aiwithabidi
热度 55.24
最近更新 2026-05-10 17:41:45
分类:自动化依赖:代码执行 / 读写文件 / 第三方 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