Registry / vila-lab

vila-lab/figmirror/figure-preprocessor

Stage-0 image cropper for FigMirror. Cleans the user-supplied reference screenshot before Drawer/Reviewer style analysis by preserving the raw upload, cropping away captions/page text/screenshot margins/neighboring panels when safe, writing reference_clean.png plus a before/after crop check and report. Dispatched before figure-illustrator and figure-critic.

AI agent · version 0.0.0-main.1794520011.g11631cc · from VILA-Lab/FigMirror

Install

npx yarkr-cli add agent:vila-lab/figmirror/figure-preprocessor

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add agent:vila-lab/figmirror/figure-preprocessor
wget -qO- https://yarkr.com/install.sh | sh -s -- add agent:vila-lab/figmirror/figure-preprocessor

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add agent:vila-lab/figmirror/figure-preprocessor

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.