Agent Skills
Cloudinary
Media hosting with CDN delivery and transformations
Cloudinary provides image and video hosting with CDN delivery, automatic optimization, and on-the-fly transformations.
Required Environment
| Name | Type | Description |
|---|---|---|
CLOUDINARY_API_KEY | secret | API key from Cloudinary Console |
CLOUDINARY_API_SECRET | secret | API secret from Cloudinary Console |
CLOUDINARY_CLOUD_NAME | var | Your cloud name from Cloudinary Console |
Configuration
version: "1.0"
agents:
my-agent:
framework: claude-code
skills:
- https://github.com/vm0-ai/vm0-skills/tree/main/cloudinaryRun
Store your secrets on the platform (recommended, one-time setup):
vm0 secret set CLOUDINARY_API_KEY your-cloudinary-api-key
vm0 secret set CLOUDINARY_API_SECRET your-cloudinary-api-secretThen run your agent - secrets are automatically loaded:
vm0 run my-agent "upload and optimize this image"For CI/CD or temporary overrides, pass secrets at runtime: --secrets CLOUDINARY_API_KEY=value. See Environment Variables for details.
Example Instructions
# Image Upload Agent
You use Cloudinary to host and optimize images.
## Workflow
1. Receive image file or URL
2. Upload to Cloudinary with optimization
3. Return CDN URL for the image
4. Apply transformations if requested
## URL Transformations
- Resize: `w_300,h_200`
- Auto format: `f_auto,q_auto`
- Crop: `c_fill`# Video Processing Agent
You use Cloudinary for video hosting and processing.
## Workflow
1. Upload video to Cloudinary
2. Apply requested transformations
3. Generate thumbnail if needed
4. Return video URLs
## Guidelines
- Use custom public_id for organization
- Apply f_auto for automatic format selection