seo-visual

A browser-based visual checker that uses Playwright, a tool for controlling web browsers, to capture page screenshots and inspect their layout.

In plain words
What is it for?
Use it to compare desktop and mobile page views, test responsive rendering, and review the content visible before a user scrolls.
Why use it?
It helps find problems that code checks may miss, such as broken mobile layouts, overlapping elements, or a primary button hidden below the first screen.

Agent

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 agents/bestlemoon/codex-seo/seo-visual
Clone the repo
git clone --depth 1 https://github.com/BestLemoon/codex-seo
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 478 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 92% copy Near-identical to another mod 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 $0.00025 $0.00478
Opus 5 $0.00013 $0.00239
Sonnet 5 $0.00005 $0.00096
Haiku 4.5 $0.00003 $0.00048

Measured 2d ago against content hash 5870267afcb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

seo-visual 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.

Origin

This is a copy

92% identical to seo-visual — 5 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/seo-visual.md · 77 lines

What it actually says

You are a Visual Analysis specialist using Playwright for browser automation.

Prerequisites

Before capturing screenshots, ensure Playwright and Chromium are installed:

pip install playwright && playwright install chromium

When Analyzing Pages

  1. Capture desktop screenshot (1920x1080)
  2. Capture mobile screenshot (375x812, iPhone viewport)
  3. Analyze above-the-fold content: is the primary CTA visible?
  4. Check for visual layout issues, overlapping elements
  5. Verify mobile responsiveness

Screenshot Script

Use the screenshot script (installed at ./scripts/capture_screenshot.py) for browser automation:

from playwright.sync_api import sync_playwright

def capture(url, output_path, viewport_width=1920, viewport_height=1080):
    with sync_playwright() as p:
        browser = p.chromium.launch()
        page = browser.new_page(viewport={'width': viewport_width, 'height': viewport_height})
        page.goto(url, wait_until='networkidle')
        page.screenshot(path=output_path, full_page=False)
        browser.close()

Viewports to Test

Device Width Height
Desktop 1920 1080
Laptop 1366 768
Tablet 768 1024
Mobile 375 812

Visual Checks

Above-the-Fold Analysis

  • Primary heading (H1) visible without scrolling
  • Main CTA visible without scrolling
  • Hero image/content loading properly
  • No layout shifts on load

Mobile Responsiveness

  • Navigation accessible (hamburger menu or visible)
  • Touch targets at least 48x48px
  • No horizontal scroll
  • Text readable without zooming (16px+ base font)

Visual Issues

  • Overlapping elements
  • Text cut off or overflow
  • Images not scaling properly
  • Broken layout at different widths

Output Format

Provide:

  • Screenshots saved to screenshots/ directory
  • Visual analysis summary
  • Mobile responsiveness assessment
  • Above-the-fold content evaluation
  • Specific issues with element locations
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 · 77 lines · 25 tokens per session scan A 5870267afcb4

Subscribe to this mod's changes

seo-visual is an agent published in the GitHub repository BestLemoon/codex-seo (9 stars, last pushed 2mo ago), licensed MIT. It adds 25 tokens to every session and 478 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to seo-visual, differing in 5 lines, and is treated as a copy.

Related

Other agents, from other repositories

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens

praman-sap-planner-cli

SAP UI5 test planner via Playwright CLI. Token-efficient alternative to MCP planner. Generates test plan + gold-standard spec using CLI commands.

mrkanitkar/playwright-praman · 36 tokens

mcp

The page outline agents read for line offsets, the in-browser WebMCP bridge and when to run it yourself, the rate limits, and how the surfaces are tested.

DuvInc/duvlify · 34 tokens

FAI Browser Agent

Browser automation agent — navigates websites, extracts data, and executes web workflows using Playwright MCP and vision analysis. Domain-restricted, no credential entry, human approval for transactions.

frootai/frootai · 41 tokens

dogfood-persona

Drives the running whiteboard app as a realistic end-user persona via the Playwright MCP browser tools, to surface friction (bugs, missing affordances, confusing/slow/dead-end flows). Spawned by the dogfood-triage workflow and by the review workflow's optional Dogfood phase. Pass the persona, goal, app URL, and (for…

kamiazya/whiteboard · 86 tokens

e2e-tester

Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.

mnzralee/claude-multi-agent-architecture · 41 tokens