argent-screenshot-diff
Compare saved or live app screenshots with the argent screenshot-diff tool.
Skill by gmarcospires
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/gmarcospires-argent-screenshot-diff
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/argent-screenshot-diff
What's inside
- Skill name
argent-screenshot-diff- Description
- 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.
- License
- MIT
- Instructions
- 64 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
## 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:
```json
{ "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.
```json
{
"baselinePath": "/tmp/baseline.png",
"captureCurrent": true,
"udid": "<UDID>",
"outputDir": "/tmp/argent-diff"
}
```
If both images are already saved, use file paths for both sides:
```json
{
"baselinePath": "/tmp/baseline.png",
"currentPath": "/tmp/current.png",
"udid": "<UDID>",
"outputDir": "/tmp/argent-diff"
}
```From gmarcospires/tento-truco, MIT.
More from gmarcospires/tento-truco
- 0.529score
argent-create-flow
gmarcospires
Create, record, edit, replay, or repair reusable Argent flow YAML files.
SkillBFreshness: BClaude Code +9 - 0.529score
argent-react-native-profiler
gmarcospires
Profile a React Native Hermes app to measure re-render and CPU performance using argent profiler tools.
SkillBFreshness: BClaude Code +9 - 0.529score
argent-metro-debugger
gmarcospires
Debug a JS runtime via CDP using argent debugger tools.
SkillBFreshness: BClaude Code +9 - 0.529score
argent-device-interact
gmarcospires
Interact with an iOS simulator, Android emulator, or Chromium (CDP) app using argent MCP tools.
SkillBFreshness: BClaude Code +9 - 0.529score
argent-react-native-optimization
gmarcospires
Optimizes a React Native app by profiling first to find real bottlenecks, then sweeping for mechanical issues.
SkillBFreshness: BClaude Code +9 - 0.524score
argent-screen-recording
gmarcospires
Record a video of an iOS simulator or Android emulator/device screen using argent MCP tools.
SkillBFreshness: BClaude Code +9 - 0.524score
argent-settings-permissions
gmarcospires
Grant, deny, or reset an app's runtime permissions (camera, microphone, photos, contacts, notifications, calendar, location, location-always, media-library…
SkillBFreshness: BClaude Code +9 - 0.524score
argent-tv-interact
gmarcospires
Control and inspect TV apps via argent — Apple TV (tvOS), Android TV (leanback), and Amazon Fire TV (Vega).
SkillBFreshness: BClaude Code +9 - 0.524score
argent-test-ui-flow
gmarcospires
Autonomously test an app UI (iOS or Android) by running interact-screenshot-verify loops using argent MCP tools.
SkillBFreshness: BClaude Code +9 - 0.524score
argent-lens
gmarcospires
Propose multiple visual design variants for on-screen elements and let the human pick in the Argent Lens window.
SkillBFreshness: BClaude Code +9 - 0.524score
argent-native-profiler
gmarcospires
Native profiling for CPU hotspots, UI hangs, memory issues.
SkillBFreshness: BClaude Code +9 - 0.524score
argent-qa-flows
gmarcospires
Create repeatable QA regression E2E tests as Argent flows from test cases, tickets, or acceptance criteria.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 30, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/gmarcospires/tento-truco
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from gmarcospires
- 0.529score
argent-react-native-optimization
gmarcospires
Optimizes a React Native app by profiling first to find real bottlenecks, then sweeping for mechanical issues.
SkillBFreshness: BClaude Code +9 - 0.529score
argent-device-interact
gmarcospires
Interact with an iOS simulator, Android emulator, or Chromium (CDP) app using argent MCP tools.
SkillBFreshness: BClaude Code +9 - 0.529score
argent-create-flow
gmarcospires
Create, record, edit, replay, or repair reusable Argent flow YAML files.
SkillBFreshness: BClaude Code +9 - 0.529score
argent-react-native-profiler
gmarcospires
Profile a React Native Hermes app to measure re-render and CPU performance using argent profiler tools.
SkillBFreshness: BClaude Code +9 - 0.529score
argent-metro-debugger
gmarcospires
Debug a JS runtime via CDP using argent debugger tools.
SkillBFreshness: BClaude Code +9 - 0.524score
argent-lens
gmarcospires
Propose multiple visual design variants for on-screen elements and let the human pick in the Argent Lens window.
SkillBFreshness: BClaude Code +9
Cite this page
argent-screenshot-diff skill. Agent Mart. https://agentmart.dev/skills/gmarcospires-argent-screenshot-diff (last updated 2026-10-24)