Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

use-vishot-with-web

Skill by moeru-ai

Captures deterministic screenshots of local web routes with Vishot, including responsive viewports and interaction-driven UI states. It is for Codex when the selected Vishot target is a locally runnable browser application.

  • Score 89
  • 52k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install use-vishot-with-web

Built from the published package, never by AI.

git clone --depth 1 https://github.com/moeru-ai/airi /tmp/airi && mkdir -p ~/.claude/skills && cp -r /tmp/airi/.agents/skills/use-vishot-with-web ~/.claude/skills/use-vishot-with-web

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install use-vishot-with-web in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill tells Codex how to capture a locally running web application with Vishot. It covers choosing a route, viewport, theme, locale and output directory, starting the app with its own development or preview command, and running a documented scene command or a direct `vishot render` call with a fixed settle time. It also explains how to change viewports during a scenario using Playwright's viewport API.

The skill sets readiness rules for each route and UI state. It asks for state-specific visible locators, checks for loading screens and overlays, and waits for loaded styles and `document.fonts.ready` when UnoCSS is in use. It recommends semantic locators and idempotent helpers for drawers, menus and other stateful UI. It is intended for developers and Codex agents who need repeatable UI captures of local apps, and it asks users to keep the target app local and captures comparable at identical dimensions.

Written from the project's SKILL.md and checked against it.

What it can do

  • Route captureCaptures a local URL directly with `vishot render` or runs a product-owned scene command.
  • Responsive viewportsSets browser dimensions with Vishot or changes the Playwright viewport during a scenario.
  • Interaction-driven statesOpens drawers, menus and other UI states before capture, using state checks before clicks.
  • Readiness conditionsWaits for state-specific locators, overlays to clear, loaded styles and fonts before capturing.
  • Missing-runtime recoveryInstalls the Playwright Chromium runtime with pnpm if Vishot reports a missing executable.
  • Capture reviewChecks each image for loading screens, stale data, iframe refusal, missing fonts and animation instability.

What you need

  • pnpm
  • Playwright Chromium runtime, installable with pnpm exec playwright install chromium
  • A locally runnable browser application with a development or preview command

Try asking

  • Capture the settings route of my local app at 1440 by 900.
  • Take mobile and desktop screenshots of the checkout page at 390 and 1440 wide.
  • Capture the open navigation drawer state of my local web app.

Good to know

  • Intended for local target apps only, not untrusted remote pages.
  • Vishot has no default settle delay, so a final rendering needs an explicit settle time such as 2500 ms.
  • Browser window resizing via DOM APIs is not used because it does not reliably control the capture viewport.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/use-vishot-with-web/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • agents/openai.yaml192 B

Alternatives to use-vishot-with-web

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

use-vishot-with-web: common questions

Does this skill need agent-browser?

The skill's description says it captures routes without requiring agent-browser.

How does it handle styles that load after the page appears?

It recommends waiting for representative computed styles from loaded utilities and for document.fonts.ready before capture. It also says not to change production CSS to satisfy capture readiness.

Can I compare before and after captures?

Yes. The skill says to use identical dimensions and device scale behavior for captures that will be compared.

How do I install use-vishot-with-web?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is use-vishot-with-web free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is use-vishot-with-web safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to use-vishot-with-web?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

use-vishot-with-web Install

Add to stack

Loading.