skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
agntswrm/agent-media67 installs

image-convert

Converts an image to a different format (PNG, JPG, WebP). Use when you need to change image formats, optimize for web, or prepare images for specific applications.

How do I install this agent skill?

npx skills add https://github.com/agntswrm/agent-media --skill image-convert
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill is safe. It provides utility for converting images between different formats using a standard Node.js package. It supports local file paths and remote URLs as inputs.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerpass

    1 file scanned · No issues

What does this agent skill do?

Image Convert

Converts an image to a different format (PNG, JPG, or WebP).

Command

npx agent-media@latest image convert --in <path> --format <format> [options]

Inputs

OptionRequiredDescription
--inYesInput file path or URL
--formatYesOutput format: png, jpg, webp
--qualityNoQuality for lossy formats (1-100, default: 80)
--outNoOutput path, filename or directory (default: ./)
--providerNoProvider to use (default: auto-detect)

Output

Returns a JSON object with the converted image path:

{
  "ok": true,
  "media_type": "image",
  "action": "convert",
  "provider": "local",
  "output_path": "converted_123_abc.webp",
  "mime": "image/webp",
  "bytes": 23456
}

Examples

Convert PNG to WebP:

npx agent-media@latest image convert --in photo.png --format webp

Convert to high-quality JPEG:

npx agent-media@latest image convert --in photo.png --format jpg --quality 95

Convert with custom output directory:

npx agent-media@latest image convert --in image.png --format webp --out ./converted

Providers

  • local (default) - Uses sharp library, no API key required

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/agntswrm/agent-media/image-convert">View image-convert on skillZs</a>