convert-to-webp
Skill7 starsChanged 4 months agoMITView on GitHub
Convert images (PNG, JPG, etc.) to WebP format. Use when saving screenshots or images for web projects, Hugo sites, or any context where WebP is preferred.
- Installs packages
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- beadsSkill
- azadvertizerSkill
- business-planSkill
- c7searchSkill
- clear-and-humanSkill
- cv-and-humanSkill
- cv-cover-letterSkill
- cv-evidence-baseSkill
- dev-fleetSkill
- excalidraw-diagramSkill
- frontier-roundsSkill
- ghost-publishSkill
- hook-and-humanSkill
- interview-panelSkill
- job-feedsSkill
- markdown-converterSkill
- nano-banana-pro-jsonSkill
- readabilitySkill
- report-builderSkill
- social-image-prepSkill
- source-snapshotSkill
- terraform-registrySkill
- terragrunt-skillSkill
- transcribe-summarizeSkill
- travel-planningSkill
- trilium-captureSkill
- use-linearisSkill
- ux-auditSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 33
If --dest is provided, output to that directory with the same filename but .webp extension
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Convert to WebP
Convert one or more images to WebP format.
Usage
Arguments: one or more file paths, optionally followed by --dest <directory> and/or --quality <number>.
Examples:
/convert-to-webp /tmp/screenshot.png/convert-to-webp /tmp/a.png /tmp/b.jpg --dest /path/to/site/static/images/convert-to-webp /tmp/photo.jpg --quality 90
Instructions
First, check which tool is available (run once per session):
cwebp-- best quality control. Install viabrew install webpsips-- built into macOS (Monterey+), no install needed. No quality flag for WebP output.
Pick whichever is available. Prefer cwebp if both exist.
For each input file:
- Skip if the file is already
.webp - Determine the output path:
- If
--destis provided, output to that directory with the same filename but.webpextension - Otherwise, output to the same directory as the input with
.webpextension
- If
- Convert:
- cwebp:
cwebp -q <quality> <input> -o <output>(default quality: 85) - sips:
sips -s format webp <input> --out <output>
- cwebp:
- Report the output path and file size
Provenance
This skill drives two interchangeable command-line tools and bundles neither:
cwebp— part of Google's libwebp (© Google, BSD-3-Clause), installed separately viabrew install webp.sips— Apple's Scriptable Image Processing System, built into macOS.
The skill documents the conversion workflow; it is not affiliated with or endorsed by Google or Apple. The MIT license covers this skill's content, not the wrapped tools.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

