/lathe:web-image-prepfrom lathe
Prepare a folder of photos or screenshots for a website or post: remove GPS and camera metadata, resize, and optimize each file in one batch run. Use when the user wants to shrink, convert or clean photos before uploading them, or asks to remove location data from a picture.
Ships in lathe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Two tools do the work: scrub_metadata (privacy module) for one file at a time, and batch_process (batch module) for a folder. Both modules are off after an update. Turn them on with LATHE_PRIVACY_ENABLED=true and LATHE_BATCH_ENABLED=true in the MCP app's env block, restart the app, then call lathe_modules to confirm both are on.
scrub_metadata with mode="inspect" on it. It returns gps_present and the list of fields. Tell the user whether the photo has GPS data and which camera fields it holds. Do not repeat the coordinates in chat unless the user asks for them.batch_process with dry_run left at its default of true, operation="image_optimize", folder and output_folder inside the working folder, and quality=80. Read the plan: how many files are planned, how many are skipped because the output exists, and how many are rejected, with the reason for each rejected file.dry_run=false. A run of two or more files asks the person once to approve the whole plan in the MCP client. A declined run writes nothing. A single file runs without a prompt.scrub_metadata with mode="inspect" on one file in the output folder. gps_present must be false.| Need | Operation | Notes |
|---|---|---|
| Smaller files, same format, metadata removed | image_optimize | Strips metadata unless strip_metadata=false. JPEG, PNG and WebP keep their extension. |
| A fixed width for web pages | image_resize with width=1600 | Keeps the aspect ratio. Writes pixels only, so EXIF and GPS are not copied. |
| Modern format | image_convert with format="webp" | WebP output uses quality 85. |
| Small previews | image_thumbnail with size=400 | Fits inside a 400 x 400 square. |
Run image_resize first when the photos are very large, then image_optimize on its output folder. Each run of two or more files asks once for its approval.
output_folder. batch_process refuses an output folder that is the input folder.overwrite=true only when the user asks to replace the earlier files.max_files defaults to 50 and is capped at 500. When truncated is true, say how many files were left out, and run the rest in a second call with a narrower pattern.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
4 skills in this plugin
/getting-startedSet up and check the Lathe MCP bundle (images, PDF, audio and video, OCR, batch runs, metadata removal). Use when the user installs Lathe, asks what Lathe can do, gets a "lathe." error from a tool, sees a "missing" or "approval_unavailable" result, or wants to turn a module on or off./pdfConvert a Markdown file to a PDF with Chrome or Chromium in headless mode. Use when the user asks to turn a Markdown note, report or spec into a PDF and Chrome or Chromium is installed. Lathe's own PDF tools do not render Markdown./pdf-formsMake a PDF with real fillable fields (text boxes and checkboxes that a reader can tick or type in) from a page layout, for planners, trackers, checklists and order forms. Use when the user needs a PDF that people fill in on screen, not a static printable. Lathe's pdf tools read and split fields but do not create them.lathe@seayniclabs is listed by seayniclabs/plugins — review the source before installing
npx claudepluginhub seayniclabs/plugins --plugin lathe