catbox
Installation
SKILL.md
catbox
Upload files to catbox.moe — a free, anonymous file hosting service. No account or CLI tool required; uploads use a simple curl API.
- Max file size: 200 MB
- No authentication needed
- Direct links to hosted files (e.g.
https://files.catbox.moe/abc123.png) - Permanent — uploaded files do not expire
File upload
Upload a local file:
curl -F "reqtype=fileupload" -F "fileToUpload=@<FILE>" https://catbox.moe/user/api.php
Examples:
# Upload an image
curl -F "reqtype=fileupload" -F "fileToUpload=@screenshot.png" https://catbox.moe/user/api.php
# Upload a video
curl -F "reqtype=fileupload" -F "fileToUpload=@demo.mp4" https://catbox.moe/user/api.php
The response body is the direct URL to the file, e.g. https://files.catbox.moe/abc123.png.
URL upload
Re-host a file from another URL (no local download needed):
curl -F "reqtype=urlupload" -F "url=https://example.com/image.png" https://catbox.moe/user/api.php
Silent mode
Add -s for scripting — suppresses progress output, response is just the URL:
curl -s -F "reqtype=fileupload" -F "fileToUpload=@photo.jpg" https://catbox.moe/user/api.php
Output
After upload, present the direct https://files.catbox.moe/... URL to the user. Note that catbox links are permanent and publicly accessible.
Related skills