Catbox & Litterbox File Uploader

•
2
•

Uploads files to Catbox and Litterbox services for permanent or temporary public sharing directly from the terminal.

The catbox-upload-skill empowers Claude to seamlessly handle file hosting by integrating with Catbox.moe and Litterbox.catbox.moe. It automates the process of validating file paths, choosing between temporary (Litterbox) or permanent (Catbox) storage, and generating direct sharing URLs. This is particularly useful for developers and users who need to share logs, assets, or archives quickly without leaving their coding environment, supporting large files up to 1GB and custom expiration windows.

Key Features

01Supports temporary uploads via Litterbox with configurable expiration (1h to 72h)
022 GitHub stars
03Handles large file uploads up to 1GB for temporary storage
04Enables permanent file hosting via Catbox with user account integration
05Provides instant, direct URLs for immediate sharing and download
06Validates file existence and permissions before attempting upload

Use Cases

01Sharing build logs or debug reports with team members during collaboration
02Storing permanent media files or project documentation via direct links
03Hosting temporary assets for testing webhooks or external integrations
Error in user YAML: (<unknown>): mapping values are not allowed in this context at line 2 column 172
---
name: catbox-upload-skill
description: Upload files to catbox.moe (permanent) or litterbox.catbox.moe (temporary). Use when you want to upload files for sharing via catbox services. Trigger phrases: "upload to catbox", "upload file", "share file via catbox".
---

Catbox/Litterbox File Uploader

Upload files to catbox services for easy sharing and temporary storage.

How It Works

  1. Takes a file path as input
  2. Checks file existence and validates arguments
  3. Uploads to specified service (litterbox default or catbox)
  4. Returns direct URL to uploaded file
  5. Supports different expiration times for litterbox

Usage

bash ~/.claude/skills/catbox-upload/scripts/upload.sh /path/to/file

Arguments:

  • file_path (required) - Path to file to upload
  • --service (optional) - Service to use: litterbox (default, temporary) or catbox (permanent)
  • --time (optional) - Litterbox expiration: 1h, 12h, 24h, 72h (default: 24h)
  • --userhash (optional) - Catbox account hash (required for permanent uploads)

Examples:

Upload to litterbox (24h default):

bash ~/.claude/skills/catbox-upload/scripts/upload.sh ~/Documents/video.mp4

Upload to litterbox with 1h expiration:

bash ~/.claude/skills/catbox-upload/scripts/upload.sh ~/Documents/file.zip --time 1h

Upload to catbox (permanent):

bash ~/.claude/skills/catbox-upload/scripts/upload.sh ~/Documents/image.png --service catbox --userhash YOUR_HASH

Output

https://litterbox.catbox.moe/xxxxxxxxx.mp4

Or for catbox:

https://catbox.moe/xxxxxxxxx.png?userhash=YOUR_HASH

Present Results to User

When a file is successfully uploaded, present the URL to the user in this format:

✅ File uploaded successfully!

📤 Download link: https://litterbox.catbox.moe/xxxxxxxxx.mp4

⏰ Expires in: 24 hours

💡 Tip: Share this link with others for easy download access

Troubleshooting

File not found:

  • Verify the file path is correct
  • Use absolute paths or ensure you're in the correct directory
  • Check file permissions

Upload failed:

  • Ensure you have internet connectivity
  • Check if catbox services are operational
  • Verify file size limits (Litterbox: 1GB, Catbox: 200MB)
  • For Catbox uploads, ensure you have a valid userhash

Python not found:

  • Ensure Python 3 is installed
  • Check that requests library is available: pip install requests

Permission denied:

  • Ensure the file is readable
  • Check directory permissions

Limits

Service Max Size Duration
Litterbox 1 GB 1h - 72h
Catbox 200 MB Permanent

Notes

  • Litterbox is the default service for temporary uploads
  • Catbox requires a userhash for permanent storage and tracking
  • The URL returned is directly accessible and can be shared immediately
  • No account creation required for Litterbox
  • Catbox userhash can be obtained from catbox.moe account