browser-visual-validation

browser-visual-validation is a cursor rule for Cursor from Oriolshhh/runware-image-mcp. It costs 17 tokens per session (533 once invoked), scanned A, original, MIT.

A process for checking a real, rendered website across different screens and user states.

In plain words
What is it for?
Use it after frontend changes to test key user tasks, inspect browser errors and layout problems, and capture comparable before-and-after evidence.
Why use it?
It replaces confidence based only on source code with evidence that the interface actually works, including loading, error, keyboard, and responsive states.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/oriolshhh/runware-image-mcp/browser-visual-validation
Clone the repo
git clone --depth 1 https://github.com/Oriolshhh/runware-image-mcp

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for browser-visual-validation

README.md
[![agentmods](https://agentmods.dev/badge/rules/oriolshhh/runware-image-mcp/browser-visual-validation.svg)](https://agentmods.dev/rules/oriolshhh/runware-image-mcp/browser-visual-validation)
Your own site
<a href="https://agentmods.dev/rules/oriolshhh/runware-image-mcp/browser-visual-validation"><img src="https://agentmods.dev/badge/rules/oriolshhh/runware-image-mcp/browser-visual-validation.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 533 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.00533
Opus 5 $0.00009 $0.00267
Sonnet 5 $0.00003 $0.00107
Haiku 4.5 $0.00002 $0.00053

Measured 2d ago against content hash 3b1357aec822, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

browser-visual-validation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/browser-visual-validation.mdc · 51 lines

How it starts

The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: browser-visual-validation

Browser Visual Validation

Purpose

Replace code-only confidence with reproducible evidence from the rendered product.

When to use it

  • After frontend changes and before completing UI review or improvement workflows.

Instructions

  1. Discover the repository's documented install and preview commands. Do not invent commands, silently change ports, or install browser tooling without approval.
  2. Establish a reproducible URL, route, fixture/account, viewport set, and target states. Record authentication or data limitations without exposing secrets.
  3. Capture a baseline before changes when improving existing UI.
  4. Use the strongest available browser surface: existing project tests, Playwright, browser-control/MCP, Storybook, or another repository-approved tool.
  5. Exercise the primary task plus loading, empty, error, success, keyboard/focus, narrow/wide layouts, zoom, reduced motion, and long content as applicable.
  6. Inspect console errors, failed network requests, runtime exceptions, layout overflow, obscured controls, and focus loss.
  7. Capture comparable final evidence and run existing unit/component/E2E/visual and accessibility checks. Never update visual baselines merely to make tests pass.
  8. Write .agent/evidence/ui/<task>/report.md with environment, steps, evidence paths, findings, fixes, remaining risks, and untested coverage. Store binary artifacts only when useful and follow repository policy for committing them.

Output format

A reproducible browser-evidence report with baseline/final comparison, tested viewports/states/interactions, console/network observations, tests, and limitations.

Anti-patterns

  • Declaring visual success from source inspection alone.
  • Testing only one desktop happy path or using different data for before/after.
  • Hiding console errors, blindly accepting screenshot changes, or claiming screen-reader coverage not performed.

Read the full file on GitHub · 51 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 51 lines · 17 tokens per session scan A 3b1357aec822

Subscribe to this mod's changes

browser-visual-validation is a cursor rule published in the GitHub repository Oriolshhh/runware-image-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 17 tokens to every session and 533 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.