Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
software-mansion avatar

Argent Screenshot Diff

  • 8.5k installs
  • 1.9k repo stars
  • Updated August 4, 2026
  • software-mansion/argent

argent-screenshot-diff is an agent skill: Compare saved or live app screenshots with the argent screenshot-diff tool. Use when testing visual regressions, before/after UI comparisons

About

The argent-screenshot-diff skill Compare saved or live app screenshots with the argent screenshot-diff tool. Use when testing visual regressions, before/after UI comparisons, screenshot diff checks, visible layout, spacing, color, typography, clipping, overflow, text rendering, or image/icon rendering changes.. 1. Role Use `screenshot-diff` as supporting visual evidence for UI QA and visual regression checks. It highlights pixel-visible change or stability; it does not replace visual inspection, accessibility/component-tree state, frame/attribute checks, logs, network evidence, or app behavior. Do not use screenshot diffing for tap-coordinate discovery. Use `describe`, `debugger-component-tree`, or `native-describe-screen` to find targets first. 2. When To Use Use `screenshot-diff` when pixel comparison can answer the verification question: - Required for explicit "UI regression test", "visual regression test", "screenshot diff", "compare screenshots", or "before/after visual comparison" requests, unless stable comparable Agents should read SKILL.md quick start steps, verify required binaries and environment variables, and follow reference files for exact parameters before calling.

  • Covers argent-screenshot-diff quick start, workflow steps, and reference pointers from SKILL.md.
  • Tagged for stage ship and subphase testing in the closed Skillselion taxonomy.
  • Documents prerequisites, permissions shell, filesystem, and compatible agents.
  • Includes AEO tagMeta with task queries, keywords, and evidence quotes for discovery.
  • Cross-links related skills and generated REFERENCE.md tables where the repo provides them.

Argent Screenshot Diff by the numbers

  • 8,455 all-time installs (skills.sh)
  • +1,072 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #199 of 2,153 Testing & QA skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

argent-screenshot-diff capabilities & compatibility

Capabilities
argent screenshot diff documented workflow · quick start examples · reference parameter lookup · taxonomy aligned metadata · aeo discovery fields
Works with
playwright
Use cases
testing · ui design
From the docs

What argent-screenshot-diff says it does

Compare saved or live app screenshots with the argent screenshot-diff tool. Use when testing visual
SKILL.md
npx skills add https://github.com/software-mansion/argent --skill argent-screenshot-diff

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs8.5k
repo stars1.9k
Security audit3 / 3 scanners passed
Last updatedAugust 4, 2026
Repositorysoftware-mansion/argent

How do I run argent-screenshot-diff correctly without guessing steps, tools, or parameters?

Compare saved or live app screenshots with the argent screenshot-diff tool. Use when testing visual regressions, before/after UI comparisons, screenshot diff checks, visible layout, spacing, colo

Who is it for?

Teams using argent-screenshot-diff when SKILL.md triggers match the user request.

Skip if: Skip when the task is outside argent-screenshot-diff documented triggers or sibling skill scope.

When should I use this skill?

User mentions argent-screenshot-diff, related trigger phrases, or asks to follow this SKILL.md workflow.

What you get

Completed argent-screenshot-diff workflow with outputs and checks defined in SKILL.md.

  • argent-screenshot-diff output per SKILL.md

By the numbers

  • Stage ship/testing
  • Category Testing & QA
  • Complexity intermediate

Files

SKILL.mdMarkdownGitHub ↗

1. Role

Use screenshot-diff as supporting visual evidence for UI QA and visual regression checks. It highlights pixel-visible change or stability; it does not replace visual inspection, accessibility/component-tree state, frame/attribute checks, logs, network evidence, or app behavior.

Do not use screenshot diffing for tap-coordinate discovery. Use describe, debugger-component-tree, or native-describe-screen to find targets first.

2. When To Use

Use screenshot-diff when pixel comparison can answer the verification question:

  • Required for explicit "UI regression test", "visual regression test", "screenshot diff", "compare screenshots", or "before/after visual comparison" requests, unless stable comparable screenshots cannot be produced.
  • Good fit when the affected screen has stable before/after states and the expected result is pixel-visible: layout, position, size, spacing, color, typography, image/icon rendering, clipping, overflow, or text rendering.
  • Good fit when the risk is unintended visual regression outside the exact element changed.
  • Poor fit when the result is better verified structurally: state changes, navigation existence, accessibility tree contents, console/network behavior, or unit tests.
  • Poor fit when dynamic content, unpausable animation, timestamps, ads, random data, or missing baseline/current screenshots would make the comparison noisy or meaningless.

3. Capture Rules

Use normal downscaled screenshot calls for UI context and state checks. Use full-resolution screenshots only when saving baseline/current PNG files for visual regression comparison. Suppress the image block so the full-size PNG is not loaded into context:

{ "udid": "<UDID>", "scale": 1.0, "includeImageInContext": false }

Capture the stable baseline before the relevant interaction or before editing whenever feasible. Compare it to the post-change or post-interaction screen after the app reloads, rebuilds, or reaches the state under test.

4. Parameters

Provide udid and exactly one input for the baseline side and exactly one input for the current side:

  • Common UI regression flow: saved baseline plus live current -> baselinePath, captureCurrent: true, udid, outputDir.
  • Both screenshots already saved -> baselinePath, currentPath, udid, outputDir.
  • Rare fixture flow: live baseline plus saved current -> captureBaseline: true, currentPath, udid, outputDir.
  • Do not combine captureBaseline: true with captureCurrent: true, or provide both a path and live capture flag for the same side.

5. Deterministic Flow

1. Navigate to the known-good state. 2. Capture a baseline PNG with screenshot using scale: 1.0 and includeImageInContext: false; keep the returned path. 3. Perform the interaction, apply the code change and navigate to the state under test. 4. Call screenshot-diff with the saved baselinePath, captureCurrent: true, udid, and outputDir. 5. Inspect the summary and artifact paths, then combine the diff with normal visual inspection and any structural/runtime evidence needed for the assertion.

{
  "baselinePath": "/tmp/baseline.png",
  "captureCurrent": true,
  "udid": "<UDID>",
  "outputDir": "/tmp/argent-diff"
}

If both images are already saved, use file paths for both sides:

{
  "baselinePath": "/tmp/baseline.png",
  "currentPath": "/tmp/current.png",
  "udid": "<UDID>",
  "outputDir": "/tmp/argent-diff"
}

Related skills

How it compares

argent-screenshot-diff implements its own SKILL.md workflow rather than a generic substitute skill.

FAQ

Who is argent-screenshot-diff for?

Agents and developers following the argent-screenshot-diff SKILL.md guidance.

When should I use argent-screenshot-diff?

When user intent matches description triggers and quick start scenarios.

Is argent-screenshot-diff safe to install?

Review the Security Audits panel before production shell or network use.

Testing & QAtestingfrontend

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.