Token导航 LogoToken导航TokenDH.com
开发执行命令clawhub未标认证来源可访问clear审计提醒

file-upload-clifile upload CLI 开发

Agent Skill

file-upload-cli 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,375

周安装

177

GitHub Stars

公开资料未说明

下载量

1,374
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:file-upload-cli(file upload CLI 开发)
来源仓库:https://github.com/raphacastelloes/file-upload-cli
安装命令:
openclaw skills install file-upload-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install file-upload-cli

简介

将文件上传至 litterbox.catbox.moe 并获取可共享链接,适用于临时文件分享需求。

  • 适合需要快速生成短期有效(72小时)外链的场景,如测试数据、日志或演示文件。
  • 通过命令行工具调用,自动返回下载 URL,无需手动操作文件传输流程。
  • 安装前需确认是否允许联网及文件读写权限,注意链接有效期限制。
  • 维护状态和 API 稳定性依赖第三方服务,建议结合 README 了解具体使用边界。

SKILL.md

name
file-upload-cli
description
Upload files to the litterbox.catbox.moe file sharing service and get shareable URLs (72h expiry). Use when the user wants to share a file temporarily or needs a quick file hosting solution.

File Upload CLI Tool

A Node.js command-line tool for uploading files to the litterbox.catbox.moe file sharing service using curl.

Quick Start

Upload a file and receive a shareable URL:

node file-upload-cli.js <filePath>

Example:

node file-upload-cli.js document.pdf

Output:

Uploading...
File uploaded successfully!
URL: https://litter.catbox.moe/abc123.pdf
Note: File will be available for 72 hours.

Instructions

Step 1: Installation

Ensure Node.js v14+ and curl are installed:

Requirements:

  • Node.js v14+
  • curl (included in Windows 10+, macOS, and most Linux distributions)
cd file-upload-cli
npm install  # No external dependencies required

Step 2: Upload a File

Run the CLI tool with a file path:

node file-upload-cli.js <filePath>

Path Types:

  • Relative: node file-upload-cli.js ./file.txt
  • Absolute: node file-upload-cli.js /home/user/file.txt (Unix) or node file-upload-cli.js C:\Users\user\file.txt (Windows)
  • With spaces: node file-upload-cli.js "my file.txt"

Step 3: Use the URL

The tool outputs a shareable URL that can be:

  • Shared with others
  • Embedded in documents
  • Used in applications

URL Format: https://0x0.st/<random-id>

Examples

Upload Different File Types

Text file:

node file-upload-cli.js notes.txt

Image:

node file-upload-cli.js photo.jpg

PDF document:

node file-upload-cli.js report.pdf

Archive:

node file-upload-cli.js backup.zip

Large Files with Progress

For files larger than 1MB, the tool displays upload progress:

node file-upload-cli.js large-video.mp4

Output:

Uploading...
File uploaded successfully!
URL: https://litter.catbox.moe/xyz789.mp4
Note: File will be available for 72 hours.

Cross-Platform Paths

Windows:

node file-upload-cli.js C:\Users\user\Documents\file.pdf
node file-upload-cli.js .\file.txt

macOS/Linux:

node file-upload-cli.js /home/user/documents/file.pdf
node file-upload-cli.js ./file.txt

Error Handling

The tool provides clear error messages for common issues:

Validation Errors (Exit Code 4)

No file path provided:

Error: No file path provided
Usage: node file-upload-cli.js <filePath>

File not found:

Error: File not found - /path/to/file.txt
Please check the file path and try again.

Path is a directory:

Error: Path is a directory - /path/to/folder
Please provide a file path, not a directory.

File too large:

Error: File too large - 1.5 GB (limit: 1 GB)
The file exceeds the litterbox.catbox.moe service limit.

Empty file:

Error: File is empty - /path/to/file.txt
Cannot upload an empty file.

Network Errors (Exit Code 2)

Connection failure:

Error: Network error - Cannot connect to litterbox.catbox.moe
Please check your internet connection and try again.

Timeout:

Error: Connection timeout
The upload request timed out. Please try again.

Service Errors (Exit Code 3)

File too large (service rejection):

Error: Service error - File too large (413)
The litterbox.catbox.moe service rejected the file. Maximum size is 1 GB.

Server error:

Error: Service error - Internal server error (500)
The litterbox.catbox.moe service encountered an error. Please try again later.

Service unavailable:

Error: Service unavailable (503)
The litterbox.catbox.moe service is temporarily unavailable. Please try again later.

Security Considerations

File Access

  • The tool only reads the file you specify
  • No directory traversal or unauthorized file access
  • Files are not modified or deleted
  • File path validation prevents malicious inputs

Network Security

  • Only communicates with https://litterbox.catbox.moe (HTTPS encrypted)
  • Uses system curl command for secure file transmission
  • No other external services are contacted
  • No authentication tokens or API keys required
  • Secure TLS connection for file transmission

Data Privacy

⚠️ Important: Files are uploaded to a public file sharing service:

  • URLs are publicly accessible by anyone who has the link
  • Files automatically expire after 72 hours
  • No authentication or access control
  • Do not upload sensitive, confidential, or private files
  • User is responsible for file content and compliance

Dependencies

The tool uses:

  • Native Node.js modules: child_process, fs, path, util
  • System curl: Pre-installed on most systems, widely trusted and security-audited
  • No external npm packages required

Limitations

  • Maximum file size: 1GB (litterbox.catbox.moe service limit)
  • File expiry: Files are automatically deleted after 72 hours
  • Upload timeout: 60 seconds
  • Single file: One file per command (no batch uploads)
  • No retry logic: Failed uploads must be manually retried
  • Public URLs: All uploaded files are publicly accessible
  • Requires curl: System must have curl installed

Technical Details

Implementation: file-upload-cli.js (Node.js script)

Exit Codes:

  • 0: Success
  • 1: General error
  • 2: Network error
  • 3: Service error
  • 4: Validation error

Requirements:

  • Node.js v14.0.0 or higher
  • Internet connection
  • Read access to the file being uploaded

Troubleshooting

"curl command not found"

  • Install curl on your system (included in Windows 10+, macOS, most Linux distributions)

"Permission denied"

  • Check file permissions: chmod +r file.txt (Unix)
  • Ensure you have read access to the file

"Connection timeout"

  • Check internet connection
  • Try again with a smaller file
  • Verify firewall allows HTTPS connections

"Service error"

  • The litterbox.catbox.moe service may be temporarily down
  • Wait a few minutes and try again
  • Check service status at https://catbox.moe

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

75.56%
按下载量换算1,038

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install file-upload-cli 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills