Claude Skill 'tiny' Compresses Images via TinyPNG With One Command
A developer has built a Claude skill called 'tiny' that compresses PNG, JPEG, and WebP images using the TinyPNG API with a single instruction, replacing the original file with a smaller version. The tool demonstrated a real-world reduction of a cover image from 70.3 KB to 19.9 KB, a saving of over 71 percent. It supports single files, multiple files, and glob patterns, and safely leaves the original untouched if any error occurs during compression. A key feature is built-in usage tracking: TinyPNG's free tier allows 500 compressions per month, and the skill warns users before they exceed that limit to prevent accidental charges. The skill is installed by cloning a GitHub Gist into Claude's skills folder and registering a free TinyPNG API key.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in