lelong0606/.agent/agent-browser-visual
Claude Code and agent skill by lelong0606/.agent
- community
Checking that the SKILL.md file is still in the repository.
[INTERNAL TEMPLATE] Visual evidence capture and regression testing protocol. Called by agent-browser orchestrator.
Install
npx vskill@latest install lelong0606/.agent/agent-browser-visualSKILL.md
The same SKILL.md was published earlier as owenleezy/agent-browser-skill/agent-browser-visual.
Visual Evidence & Regression — Execution Protocol
Internal template. Entry point:agent-browserskill.
NEVER
Use Case Decision Tree
| Goal | Command | |
|---|---|---|
| Catch visual regression (before/after deploy) | diff screenshot --baseline | |
| Compare staging vs production side by side | diff url | |
| Detect DOM structure changes | diff snapshot | |
| Create shareable demo / bug report video | record start → actions → record stop | |
| Annotated screenshot for docs / ticket | screenshot --annotate | |
| Capture full network trace for perf/debug | network har start → actions → network har stop |
Visual Regression Workflow
Threshold guide:
0.1(default) — tolerates antialiasing, minor rendering differences0.05— catches subtle color/font changes0.01— pixel-perfect (sensitive to any rendering difference)0.2— forgiving mode for dynamic content areas
Video Recording Workflow
To convert WebM → GIF:ffmpeg -i demo.webm -vf "fps=10,scale=800:-1:flags=lanczos" demo.gif
Annotated Screenshot
Output: screenshot with numbered labels overlaid + a legend mapping each number to its element name.
Ideal for: bug reports, documentation, sharing context with non-technical reviewers. The annotation labels survive screenshot compression better than cursor overlays.
HAR Recording (full network trace)
Use when: diagnosing slow pages, verifying API calls, auditing third-party requests.
DOM Snapshot Diff
Use when: verifying a code change didn't silently alter DOM structure, or checking that a UI component renders identically across environments.
Recovery Patterns
| Failure | Recovery | |
|---|---|---|
| Diff always shows changes (animation/loading) | wait --load networkidle + add wait 500 for CSS transitions | |
| Diff too sensitive (antialiasing noise) | Increase --threshold 0.2 | |
| Diff misses real regression | Decrease --threshold 0.05 | |
| Video file too large | Scope recording to shorter flow; use screenshot --full for static evidence | |
| HAR missing early requests | Restart: network har start must be called before open | |
record loses auth state | Always open + wait first, then record start (no URL arg) |
Pitfalls
| Mistake | Fix | |
|---|---|---|
| Screenshot before page is stable | wait --load networkidle before any capture | |
| Baseline not updated after intentional design change | Delete old baseline, re-capture: screenshot --full baseline.png | |
diff screenshot without --baseline | --baseline <file> is required | |
| HAR started after XHR calls already fired | network har start must come before open or reload | |
record start before page open loses auth | Open page + wait first, then start recording |
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/agent-browser-visual/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lelong0606/.agent/agent-browser-visual)