Qiniu Upload
name: qiniu-upload
by chenggongdu · published 2026-04-01
$ claw add gh:chenggongdu/chenggongdu-qiniu-upload---
name: qiniu-upload
description: Upload local files to Qiniu Cloud and return a publicly accessible URL (or signed private URL). Use when the user wants to upload a local file path to Qiniu, obtain a CDN/public URL, prepare files for downstream cloud processing, or convert local audio/video/documents into externally accessible URLs for other skills such as speech transcription.
homepage: https://www.qiniu.com/
metadata: {"clawdbot":{"emoji":"☁️","requires":{"env":["QINIU_ACCESS_KEY","QINIU_SECRET_KEY","QINIU_BUCKET","QINIU_DOMAIN"]},"tags":["cloud","storage","cdn","upload"]}}
---
# Qiniu Upload
Use this skill when a task needs a local file turned into a Qiniu-hosted URL.
Required environment variables
Optional:
Safety rules
Primary command
Run the Node script:
node scripts/upload.js --file-path "E:\\audio\\sample.mp3" --prefix audioOptional flags:
Output contract
The script returns JSON like:
{
"success": true,
"bucket": "example-bucket",
"key": "audio/uuid.mp3",
"url": "https://cdn.example.com/audio/uuid.mp3",
"isPrivate": false,
"size": 12345,
"mimeType": "audio/mpeg",
"sourcePath": "E:\\audio\\sample.mp3"
}Domain and access caveat
Some Qiniu domains may sit behind auth or anti-leeching. Upload success does not automatically guarantee anonymous public fetch success. If downstream services need to fetch the object, verify the returned URL is externally accessible, or use private signed URLs / a proper public CDN domain.
Chaining to other skills
After upload succeeds, pass the returned `url` into downstream skills such as an Aliyun speech transcription workflow.
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...