screenshot-compression

The screenshot-compression skill reduces file sizes for PNG and JPEG images by overwriting them with optimized versions using pngquant and jpegoptim. It supports recursive directory processing and configurable quality settings.

1.2K
Installs
3
Use cases
9/10
Quality

Is screenshot-compression safe to install?

Review before installing

Review before installing: our audit of screenshot-compression's source files found 4 shell commands, 0 external URLs, file reads and writes (medium risk). Every command and URL listed appears verbatim in the skill's source. The script overwrites original files in place. It requires external system dependencies pngquant and jpegoptim to function.

How we audit skills: our security review methodology.

Who is this skill for?

Developers and content creators who need to reduce image file sizes for documentation, repositories, or web content while maintaining original file format compatibility.

What can you do with it?

  • Preparing images for GitHub READMEs, blog posts, or documentation.
  • Reducing image sizes before committing to a repository.
  • Batch compressing a directory of screenshots.

How good is this skill?

Quality score: 9/10. The documentation is clear and provides specific examples for various use cases. The warning regarding in-place overwriting is prominent.

What does the skill file contain?

SKILL.md
# Skill: Screenshot Compression

Compress screenshot images (PNG/JPEG) in place while keeping the original format. Uses `pngquant` for PNG and `jpegoptim` for JPEG — both are highly effective for screenshot content (UI elements, text, flat colors).

> **Prerequisites**: `pngquant` and `jpegoptim` must be installed on the system. The script will **not** install them automatically — it checks for their presence and prints install instructions if missing.

---

## When to Use

The user has screenshot files that are too large and wants to reduce file size without changing format. Common scenarios:...

Frequently asked questions

Does the script create backup copies of my images?

No. The script compresses files in place and overwrites the original files.

What happens if I do not have pngquant or jpegoptim installed?

The script detects the missing dependencies, prints installation instructions, and exits without processing any files.

Can I use this to compress WebP files?

No. The script only processes .png, .jpg, and .jpeg files.

Data sourced from zc277584121/marketing-skills on GitHub. Install counts from skills.sh. The summary and security audit are derived from the skill's source files: every command and URL listed appears verbatim in the source.

Related skills

lark-workflow-meeting-summary

219.7K

Users who need to summarize meeting minutes, generate weekly reports, or review meeting history within the Lark ecosystem

The lark-workflow-meeting-summary skill provides a structured workflow for agents to aggregate meeting minutes from Lark VC, generate summaries, and create or update reports in Lark Docs.

highlarkmeeting-summarylarksuite

programmatic-seo

83.5K

Content strategists, SEO specialists, and marketers building large-scale, data-driven website content

The programmatic-seo skill provides a framework for generating SEO-optimized pages at scale using templates and data. It guides users through keyword research, data sourcing, template design, internal linking, and indexation strategies while emphasizing content uniqueness to avoid search engine penalties.

lowseomarketingcoreyhaines31

ad-creative

64.0K

Performance marketers, growth teams, and advertisers who need to produce ad copy at scale or optimize existing ad creative

The ad-creative skill generates, iterates, and scales ad copy for paid advertising platforms including Google, Meta, LinkedIn, TikTok, and Twitter. It provides frameworks for creating ad headlines, descriptions, and primary text based on product context and performance data.

highmarketingadvertisingcoreyhaines31

recipe-save-email-attachments

16.9K

Users who manage email attachments and Google Drive storage using the Google Workspace CLI

This recipe automates the process of locating Gmail messages containing attachments and saving those files to a specified Google Drive folder.

highgmailgoogle-drivegoogleworkspace