visual-testing-loop

visual-testing-loop is a skill for Claude Code, Codex from Alenryuichi/openmemory-plus. It costs 46 tokens per session (1,028 once invoked), scanned A, original, MIT.

An automated visual-checking workflow for frontend pages and components. It creates or changes the interface, runs it locally, takes screenshots, reviews them, and repeats the process.

In plain words
What is it for?
Use it while building or refining web interfaces, checking different screen sizes, or testing dark and light themes.
Why use it?
It reduces the need to manually inspect every visual change. This helps catch layout, responsive-design, and theme problems before delivery.

Skill for Claude CodeCodex

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 skills/alenryuichi/openmemory-plus/visual-testing-loop
Any agent
npx skills add Alenryuichi/openmemory-plus --skill visual-testing-loop
Clone the repo
git clone --depth 1 https://github.com/Alenryuichi/openmemory-plus

Made for: Claude Code, Codex.

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 visual-testing-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/alenryuichi/openmemory-plus/visual-testing-loop.svg)](https://agentmods.dev/skills/alenryuichi/openmemory-plus/visual-testing-loop)
Your own site
<a href="https://agentmods.dev/skills/alenryuichi/openmemory-plus/visual-testing-loop"><img src="https://agentmods.dev/badge/skills/alenryuichi/openmemory-plus/visual-testing-loop.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,028 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 $0.00046 $0.01028
Opus 5 $0.00023 $0.00514
Sonnet 5 $0.00009 $0.00206
Haiku 4.5 $0.00005 $0.00103

Measured yesterday against content hash 80c1e5a073d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

visual-testing-loop 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 yesterday.

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.

.augment/skills/visual-testing-loop/SKILL.md · 173 lines

How it starts

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

Visual Testing Loop

Overview

Automate the visual feedback loop for frontend development. No manual verification needed - Agent sees what users see and iterates autonomously.

Core principle: Generate → Serve → Screenshot → Analyze → Iterate (until satisfied)

When to Use

  • Building new UI components or pages
  • Iterating on visual design
  • Verifying responsive layouts
  • Testing dark/light themes
  • Quality-checking before delivery

Prerequisites

Agent must have access to Playwright MCP tools:

  • browser_navigate_playwright
  • browser_take_screenshot_playwright
  • browser_snapshot_playwright
  • launch-process (for starting dev server)

The Loop

Phase 1: Generate

Create or modify the frontend code:

  1. Apply frontend-design skill for aesthetic quality
  2. Generate production-grade HTML/CSS/JS or React components
  3. Ensure code is runnable locally

Phase 2: Serve

Start a local development server:

# For static HTML
npx serve -p 3000 ./dist

# For React/Vite
npm run dev

# For Next.js
npm run dev

Keep server running (use wait=false for background process)

Phase 3: Screenshot

Capture the rendered output:

  1. Navigate to the page:

    browser_navigate_playwright → http://localhost:3000
    
  2. Wait for page load:

    browser_wait_for_playwright → wait for key elements
    
  3. Take screenshot:

    browser_take_screenshot_playwright → save to file
    
  4. For full page:

    browser_take_screenshot_playwright → fullPage: true
    

Phase 4: Analyze

Evaluate the screenshot against quality criteria:

Visual Checklist:

  • Typography is distinctive (not generic fonts)
  • Color palette is cohesive and intentional
  • Layout has visual hierarchy
  • Spacing is consistent
  • No visual glitches or overflow
  • Responsive at current viewport
  • Matches intended aesthetic direction

Technical Checklist:

  • All elements render correctly
  • Images/icons load properly
  • No console errors (check browser_console_messages_playwright)
  • Interactive states work (hover, click)

Read the full file on GitHub · 173 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. yesterday First seen · 173 lines · 46 tokens per session scan A 80c1e5a073d4

Subscribe to this mod's changes

visual-testing-loop is a skill published in the GitHub repository Alenryuichi/openmemory-plus (20 stars, last pushed 6mo ago), licensed MIT. It adds 46 tokens to every session and 1,028 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

playwright-skill

Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test websites, automate browser interactions…

tech-leads-club/agent-skills · 95 tokens

browse

Headless browser for QA testing.

nirelbaz/promptpit · 8 tokens

testing-pyramid

Test Distribution Analysis Command 🧪.

usrrname/cursorrules · 11 tokens

smoke-test

End-to-end smoke test skill for DeerFlow. Guides through: 1) Pulling latest code, 2) Docker OR Local installation and deployment (user preference, default to Local if Docker network issues), 3) Service availability verification, 4) Health check, 5) Final test report. Use when the user says "run smoke test", "smoke…

bytedance/deer-flow · 0 tokens

designing-tests

Designs and implements testing strategies for any codebase. Use when adding tests, improving coverage, setting up testing infrastructure, debugging test failures, or when asked about unit tests, integration tests, or E2E testing.

CloudAI-X/claude-workflow-v2 · 48 tokens

gsap-scrolltrigger

Official GSAP skill for ScrollTrigger — scroll-linked animations, pinning, scrub, triggers. Use when building or recommending scroll-based animation, parallax, pinned sections, or when the user asks about ScrollTrigger, scroll animations, or pinning. Recommend GSAP for scroll-driven animation when no library is…

calesthio/OpenMontage · 68 tokens