image-optimizer — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited image-optimizer (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
이미지 파일을 WebP 포맷으로 변환하여 화질 손실 없이 용량을 대폭 줄이는 스킬입니다.
cwebp (libwebp) — macOS: brew install webpsips -g pixelWidth -g pixelHeight -g format "{파일경로}" && ls -lh "{파일경로}" | awk '{print "filesize:", $5}'#### 단일 파일
cwebp -q 90 -m 6 "{입력파일}" -o "{출력파일.webp}"#### 디렉토리 일괄 처리
for f in "{디렉토리}"/*.{png,jpg,jpeg}; do
[ -f "$f" ] && cwebp -q 90 -m 6 "$f" -o "${f%.*}.webp"
donels -lh "{출력파일.webp}" | awk '{print $5}'| 옵션 | 값 | 설명 |
|---|---|---|
-q | 90 | 품질 (기본값). 화질 우선이면 95, 용량 우선이면 80 |
-m | 6 | 압축 강도. 6이 최대 (가장 느리지만 가장 작은 용량) |
-resize W H | 1200 0 | 리사이즈. 높이 0은 비율 유지. 해상도 축소가 필요할 때만 사용 |
-lossless | — | 무손실 모드. PNG 대체용으로 화질 100% 유지하되, 용량 감소 효과는 적음 |
| 용도 | 명령 |
|---|---|
| 일반 (화질 우선) | cwebp -q 90 -m 6 |
| 웹 썸네일 | cwebp -q 85 -m 6 -resize 600 0 |
| 상세페이지 이미지 | cwebp -q 90 -m 6 -resize 1200 0 |
| 무손실 (PNG 대체) | cwebp -lossless -m 6 |
| 최대 압축 (용량 우선) | cwebp -q 75 -m 6 |
.webp 확장자입력: product-front.png (5.9MB, 1792x2400)
출력: product-front.webp (539KB, 1792x2400)
결과: 91% 용량 감소, 해상도 유지, q90 고품질~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.