pixel-diff SKILL.md skillA
pixel-diff from mukiwu/muki-ai-plugins is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mukiwu/muki-ai-plugins/pixel-diff@git:20260705.d1a0405Pins git:20260705.d1a0405 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mukiwu/muki-ai-plugins
- Path
plugins/figma-visual-reviewer/skills/pixel-diff/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260705.d1a0405, committed Jul 5, 2026
- First version recorded
- Mar 29, 2026
- Size
- 2,613 bytes
- Repository stars
- 73
- License
- none declared
Pixel-level image comparison between two screenshots. Generates a visual diff overlay highlighting differences. Use for comparing Figma designs against web implementations.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Pixel Diff
兩張截圖的像素級比對,產出差異視覺化圖。
## 使用時機
- 比對 Figma 設計稿與網頁截圖
- 檢測 CSS 變更造成的視覺 regression
- 前後版本的 UI 變化追蹤
## 前置條件
- 安裝 `Pillow` 和 `numpy`:`pip install Pillow numpy`
## 使用方式
```bash
python "${CLAUDE_PLUGIN_ROOT}/scripts/pixel-diff.py" <image_a> <image_b> --output diff.png \
[--threshold 10] [--pass-below 5] [--block-above 15] [--ignore-region x,y,w,h]
```
腳本在 plugin 目錄裡,不在使用者專案裡——路徑一定要用 `${CLAUDE_PLUGIN_ROOT}`,寫相對路徑會找不到檔案。
## 參數
| 參數 | 必填 | 說明 |
|------|------|------|
| `image_a` | 是 | 參考圖(設計稿) |
| `image_b` | 是 | 比對圖(網頁截圖) |
| `--output` | 否 | 差異圖輸出路徑(預設 `diff.png`) |
| `--threshold` | 否 | 每像素色差敏感度 0-100(預設 10,值越低越嚴格)。這是「色差多大才算不同」,不是整體容許比例 |
| `--pass-below` | 否 | 整體差異低於此百分比判 PASS(預設 5) |
| `--block-above` | 否 | 整體差異高於此百分比判 BLOCK(預設 15),之間為 WARNING |
| `--ignore-region` | 否 | 忽略區域 `x,y,w,h`,可重複——遮掉時鐘、輪播等動態內容 |
| `--background` | 否 | 透明圖層合成的背景色(預設 `white`) |
| `--highlight-color` | 否 | 差異標記顏色(預設 `red`) |
## 輸出
1. **diff.png** — 差異視覺化圖(差異區域用半透明紅色標記)
2. **stdout JSON** — 差異統計數據:
```json
{
"total_pixels": 2073600,
"diff_pixels": 12450,
"diff_percentage": 0.60,
"diff_regions": [
…Read the whole file at its exact version.
How to install
mdr add mukiwu/muki-ai-plugins/pixel-diff@sha256:a698fafa10ae3817The line at the top of this page pins the label git:20260705.d1a0405, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_gfm27imq6vdsosjs)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Mar 29, 2026 and Jul 5, 2026, about one every 98 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260705.d1a0405 latest | 2026-07-05 | d1a0405 | 2,613 B | A | view · diff |
| git:20260329.48322c1 | 2026-03-29 | 48322c1 | 1,626 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2613 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
mukiwu/muki-ai-plugins · 73 stars · license none declared · pushed 2026-10-20 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_gfm27imq6vdsosjs GET https://markdownregistry.com/api/v1/resolve?ref=mukiwu/muki-ai-plugins/pixel-diff GET https://markdownregistry.com/api/v1/blob/a698fafa10ae381728e981a97f24aee0b4bd17869c2923f6a0b9f0948bfdc574
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.