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.
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-webRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/moeru-ai/airi /tmp/airi && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/airi/.agents/skills/use-vishot-with-web ~/.gemini/antigravity-cli/skills/use-vishot-with-webAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install use-vishot-with-web in Antigravity CLI
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
ANo 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 →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
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.
