/diffy:compare-screenshotsfrom diffy
Creates a visual diff between two screenshot sets using Diffy CLI. Use when comparing before/after screenshots or creating diffs from screenshot IDs.
Ships in diffy. 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.
Create a diff from two screenshot set IDs and return a DIFF_ID. Do not upload screenshots or do detailed
diff result analysis in this skill.
diffy from PATH../vendor/bin/diffy exists in the current repo, use that./usr/local/bin may need sudo; Homebrew on Apple Silicon uses
/opt/homebrew/bin):
wget -O /usr/local/bin/diffy https://github.com/diffywebsite/diffy-cli/releases/latest/download/diffy.phar && chmod a+x /usr/local/bin/diffy~/.diffy-cli/diffy-cli.yaml must exist. If it does not, run
diffy auth:login <API_KEY> after the user provides the key (key from https://app.diffy.website/#/keys).Required:
PROJECT_IDIf screenshot IDs are missing, inspect recent screenshot sets:
diffy screenshot:list <PROJECT_ID> --limit=10
This prints a PHP var_export dump, not JSON. Read each set's ID from its 'id' => <number> line
rather than trying to parse the output as JSON.
Ask only for the missing ID(s). Treat the first ID as the baseline/before screenshot and the second ID as the after/current screenshot unless the user says otherwise.
Use --wait by default unless the user explicitly asks to start the diff asynchronously.
diffy diff:create <PROJECT_ID> <SCREENSHOT_ID_BEFORE> <SCREENSHOT_ID_AFTER> --wait --name="<diff-name>"
The command prints the DIFF_ID.
Naming:
Uploaded screenshots 2026-07-06.Wait behavior:
--wait polls until Diffy completes or fails.--max-wait=<seconds> can be added when the user needs a custom timeout.get-diff-info later to check status and results.Write metadata to .diffy-skills/diffs/last-diff.json:
{
"projectId": 12345,
"beforeScreenshotId": 111,
"afterScreenshotId": 222,
"diffId": 333,
"name": "Uploaded screenshots 2026-07-06",
"createdAt": "2026-07-06T12:00:00Z"
}
Return:
Stop there. Tell the user to use get-diff-info for the detailed changed-page report.
This skill writes metadata under .diffy-skills/; offer to add .diffy-skills/ to the repo's .gitignore
if it is not already ignored.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub diffywebsite/diffy-cli --plugin diffy9 skills in this plugin
/compare-environmentsCompare two environments of a Diffy project server-side with project:compare — Diffy screenshots both environments on its own servers and produces a visual-regression diff, returning a diff ID. Use when the user wants to compare prod vs staging, prod vs a custom/PR/UAT URL, or two arbitrary URLs remotely, without capturing anything locally. This runs on Diffy's servers; to compare a locally running app on THIS machine instead, use the visual-diff skill. If the user is ambiguous about local vs remote, ask./create-projectCreate a Diffy project with the diffy CLI from user-provided project details. Use when the user asks to create a Diffy project, set up a new project in Diffy, or turn a base URL, pages, and breakpoints into a new Diffy project. Requires the user to provide base_url and returns the created project ID./Other plugins' skills for the same job