Skip to content
software-mansion avatar

Argent Screenshot Diff

Compare saved or live app screenshots to catch pixel-visible UI regressions and layout drift.

CCM score
72 of 100
skills.sh installs
31.6K
GitHub stars
3.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers before/after visual checks, using a saved baseline PNG and either a saved or freshly captured current screenshot
  • Supports physical iPhone captures and returns a summary plus artifact paths for each comparison
  • Serves as supporting evidence alongside visual inspection, accessibility tree state, logs, and network checks, not a replacement
  • Designed for visual regression testing where stable, comparable screenshots can be produced, and not for tap-coordinate discovery

Install

$ npx -y skills add software-mansion/argent --skill argent-screenshot-diff -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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. Its description covers the input combinations, physical-iPhone captures and the result.

Do not use screenshot diffing for tap-coordinate discovery. Use describe to find targets first.

2. When To Use

  • 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 expected result is pixel-visible, or when the risk is an 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.

Details

Repository
github.com/software-mansion/argent
Categories
Testing & QA, Mobile Apps
First seen
Jul 14, 2026

Questions

What does the argent-screenshot-diff skill do?

It compares saved or live app screenshots using the argent screenshot-diff tool to catch visual regressions. It highlights pixel-visible changes in layout, spacing, color, typography, clipping, overflow and image or icon rendering between a baseline and a current capture.

How do I install the argent-screenshot-diff skill?

Run npx -y skills add software-mansion/argent --skill argent-screenshot-diff -y in your project. This adds the skill so your agent can run screenshot comparisons for UI QA and before/after checks.

Where does argent-screenshot-diff rank among Testing & QA skills?

It is in the Testing & QA category and ranks in the top 25 there. Other skills in the category include tdd, webapp-testing and break-ui, while this one focuses on visual screenshot comparison.

Does argent-screenshot-diff replace visual inspection or other tests?

No, the skill provides supporting visual evidence only. It does not replace visual inspection, accessibility tree checks, logs, network evidence or app behavior tests, and it is a poor fit for dynamic content or animations.

What do I need to use argent-screenshot-diff with a baseline?

Save a baseline PNG with the screenshot tool at scale 1.0 and keep its path, then call screenshot-diff with baselinePath, captureCurrent and udid. Keep one baseline per device model, since images of different sizes are not compared.

More from software-mansion/argent

All 17

Similar to Argent Screenshot Diff

More Testing & QA