Compute simple pixel diffs between two images. Useful for visual regression testing and screenshot comparison in automation workflows.
Scanned 9/7/2026
Install to Claude Code
npx -y skills add jiayaoqijia/cryptoskill --skill xspoonai-official-screenshot-diff --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Xspoonai Official Screenshot Diff?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/jiayaoqijia-xspoonai-official-screenshot-diff)More formats (shields.io, HTML) on the badges page.
---
name: screenshot-diff
track: ai-productivity
version: 0.1.0
summary: Compute pixel diffs between images
---
## Description
Compute simple pixel diffs between two images. Useful for visual regression testing and screenshot comparison in automation workflows.
## Inputs
```json
{
"image1": "Path or base64 of first image",
"image2": "Path or base64 of second image",
"threshold": "Pixel difference threshold"
}
```
## Outputs
```json
{
"ok": true,
"data": {
"diff_percentage": "5.2%",
"changed_pixels": 1250,
"identical": false
}
}
```
## Usage
### Demo Mode
```bash
python scripts/main.py --demo
```
### Compare Images
```bash
echo '{"image1":"before.png","image2":"after.png"}' | python3 scripts/main.py
```
## Examples
### Example 1: Visual Regression Test
```bash
$ echo '{"image1":"screenshot1.png","image2":"screenshot2.png"}' | python3 scripts/main.py
{
"ok": true,
"data": {
"diff_percentage": "2.3%",
"changed_pixels": 450,
"identical": false
}
}
```
## Error Handling
When an error occurs, the skill returns:
```json
{
"ok": false,
"error": "Error description",
"details": {
"image1": "File not found"
}
}
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...
Interact with the Paperclip control plane API to manage tasks, coordinate with other agents, and follow company governance. Use when you need to check assignments, update task status, delegate work, post comments, set up or manage routines (recurring scheduled tasks), or call any Paperclip API endpoint. Do NOT use for the actual domain work itself (writing code, research, etc.) — only for Paperclip coordination.
Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.
Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.
Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"