/install cloudinary-cli
Cloudinary CLI Uploader
Upload local files or remote URLs to Cloudinary with automatic image compression support.
Workflow
1. Check Installation
Check if the CLI binary exists at ./cloudinary-cli (project root). If not, run the install script:
bash .agents/skills/cloudinary-cli/scripts/install.sh
If Go is not installed, prompt the user to install Go first.
2. Check Configuration (.env)
Check if cmd/cli/.env exists and contains all required variables. If any are missing, prompt the user for the missing values and write them to cmd/cli/.env.
Required variables:
CLOUDINARY_CLOUD- Cloudinary cloud nameCLOUDINARY_KEY- API keyCLOUDINARY_SECRET- API secret
Optional variables:
CLOUDINARY_DIRECTORY- Upload folder (default: root)CLOUDINARY_COMPRESS- Auto-compress images:true/false(default:true)
3. Upload Files
Run the upload script with file paths:
bash .agents/skills/cloudinary-cli/scripts/upload.sh \x3Cfile1> [file2] ...
Or run the CLI directly:
cd cmd/cli && ../../cloudinary-cli file1.jpg file2.png
The CLI automatically:
- Compresses images when
CLOUDINARY_COMPRESS=true - Leaves non-image files untouched
- Supports both local paths and remote URLs
Image Compression
When CLOUDINARY_COMPRESS is true (default), images are uploaded with Cloudinary q_auto transformation for automatic quality optimization. Supported image formats: jpg, jpeg, png, gif, webp, bmp, tiff, svg, ico, heic, heif, avif.
To disable compression for a specific upload, temporarily set CLOUDINARY_COMPRESS=false in .env.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cloudinary-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/cloudinary-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Cloudinary Cli 是什么?
Upload files and images to Cloudinary via CLI. Use when user wants to upload local files or images to Cloudinary CDN, especially when needing automatic image... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 26 次。
如何安装 Cloudinary Cli?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cloudinary-cli」即可一键安装,无需额外配置。
Cloudinary Cli 是免费的吗?
是的,Cloudinary Cli 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Cloudinary Cli 支持哪些平台?
Cloudinary Cli 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Cloudinary Cli?
由 Bryce(@mnhkahn)开发并维护,当前版本 v1.0.0。