verify-visual
Skill1 starsChanged 5 months agoMITView on GitHub
Visual verification for UI changes using Playwright screenshots and native model vision (GPT-5.5, Claude). For models without vision (DeepSeek), uses Playwright screenshot capture with pixel comparison for regression detection. BackstopJS available as optional regression tool.
In this repository42 other files it gives its agents.
- codex/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- new-hookSkill
- new-ruleSkill
- new-skillSkill
- publishSkill
- agent-config-adapterSkill
- agent-update-watcherSkill
- autopilotSkill
- autoresearch-toolfinderSkill
- claude-desktop-sessionsSkill
- code-verifierSkill
- doc-writingSkill
- end-of-turn-markerSkill
- figma-authoring-constraintsSkill
- figma-design-fetchSkill
- autopilotSkill
- autoresearch-toolfinderSkill
- code-verifierSkill
- linux-freeze-triageSkill
- long-running-tasksSkill
- preview-templateSkill
- privacy-redactSkill
- research-criticSkill
- agent-harness-generalSkill
- system-cleanupSkill
- verify-templateSkill
- verify-visualSkill
- init-codex-configSkill
- long-running-tasksSkill
- memory-flywheelSkill
- preview-templateSkill
- privacy-redactSkill
- prompt-librarySkill
- research-criticSkill
- system-cleanupSkill
- task-orchestratorSkill
- feature-audit-templateSkill
- workflow-fix-templateSkill
- task-relationship-analysisSkill
- tui-installerSkill
- verify-templateSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
When the model has vision capability, screenshots are captured and analyzed directly by the model.
- Distinctive: line 41
No model needed. Good for CI regression testing.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
verify-visual
Detection: vision capability
| Model | Vision | Backend |
| GPT-5, GPT-5.5 | ✅ native | Model-based screenshot analysis |
| Claude Opus 4+ | ✅ native | Model-based + chrome-devtools MCP |
| DeepSeek V3, DeepSeek R1 | ❌ none | Playwright screenshot capture + pixel comparison |
Backend 1: Native model vision (GPT-5.5, Claude)
When the model has vision capability, screenshots are captured and analyzed directly by the model. No external API needed.
Backend 2: Playwright screenshots (always available)
The scripts/codex_visual_verify.sh script captures screenshots at
specified viewports using Playwright or headless Chrome. Works with ANY model.
VISUAL_VERIFY_URL=https://localhost:3000 bash scripts/codex_visual_verify.shOutput goes to .visual-verify/YYYY-MM-DD_HHMMSS/ with a results.json.
Backend 3: BackstopJS (pixel-level regression)
BackstopJS compares screenshots pixel-by-pixel against reference images. No model needed. Good for CI regression testing.
npx backstopjs init
# Configure backstop.json then:
npx backstopjs testWorkflow
graph TD
START["/verify-visual <url>"] --> DETECT{"Model has<br/>vision?"}
DETECT -->|"✅ GPT-5.5, Claude"| VISION["Native model vision<br/>analyze screenshots directly"]
DETECT -->|"❌ DeepSeek"| SCREENSHOT["Playwright screenshot capture<br/>multiple viewports"]
SCREENSHOT --> CHOOSE{"Need regression?"}
CHOOSE -->|"Yes"| BACKSTOP["BackstopJS pixel comparison<br/>against reference images"]
CHOOSE -->|"No"| REPORT["Return screenshot paths<br/>for manual review"]
VISION --> REPORT2["Report visual issues<br/>layout, contrast, readability"]
BACKSTOP --> REPORT2Configuration
Optional ~/.config/agent-harness/visual-verify.json:
{
"viewports": ["1280x720", "375x812", "1920x1080"],
"reference_dir": "./.visual-verify/reference"
}Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

