GIF optimization tool using WebAssembly and Gifsicle

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

It shows a single iPhone prompt to Claude Code producing a working WebAssembly-compiled GIF optimizer, letting anyone replicate browser-based ports of C tools with minimal prompting effort.

Read this as

Simon Willison built a free web tool, GIF Optimizer, that shrinks animated GIF files using Gifsicle, a classic compression program rewritten to run inside the browser. You drag a GIF onto the page, it shows several compressed versions with their file sizes and download buttons, and a demo GIF dropped from 274.0 KB to 110.4 KB. It was built entirely from a prompt typed into the Claude app on his phone.

This is a small free developer tool, not a product shift: a personal browser utility that compresses GIFs, from 274 KB down to 110 KB in the example. Its significance is as a case study in building software by prompting Claude Code from a phone, including using browser automation to test its own work. Competitors gain nothing directly; the takeaway is that agentic coding keeps lowering build costs for niche tools.

Willison prompted Claude Code for web from his iPhone to compile Gifsicle (Eddie Kohler's C GIF optimizer) to WebAssembly via a patched Emscripten-style build, producing a 233 KB wasm committed to his simonw/tools repo. The single-page tool drag-drops GIFs, previews multiple optimization settings (-O3, lossy, color reduction) with sizes and download buttons, and offers manual sliders. Claude tested the UI using Rodney, Willison's browser automation tool, and fixed bugs it found itself.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Gifsicle WebAssembly Claude Code simonw/tools Rodney LICEcap

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading