Use Vishot use-vishot

Capture deterministic screenshots with Vishot and return a structured manifest of the generated images.

Use it when uI inspection, documentation, visual comparison inputs, or any screenshot task across Electron, web, and Capacitor applications; this skill is not specific to pull requests.

Works in Claude, ChatGPT, Codex and more
Our test
8/10✓ Verified
tested Dec 6, 2026
GitHub stars
52k
moeru-ai/airi
Added by
0
members
Updated
Dec 6
commit f28d10e
Content
2 files
no scripts · 4 KB
License
MIT
free to use

What our test found

The skill gives a clear, deterministic capture workflow and manifest contract, with useful guidance for runtime selection and image validation.

Request we tested it on“Capture the web app's dashboard and connection settings at 1440×900 in the light theme, and return a manifest of the images.”

Limits spotted

  • It depends on separate runtime and helper skills, so the complete workflow may not be available in isolation.
  • It does not specify exact Vishot command syntax or how to handle cases where no capture tools are accessible.
View on GitHub ↗
name: use-vishot
description: Capture deterministic screenshots with Vishot and return a structured manifest of the generated images. Use for UI inspection, documentation, visual comparison inputs, or any screenshot task across Electron, web, and Capacitor applications; this skill is not specific to pull requests.

Use Vishot

Use Vishot as the common screenshot interface and delegate runtime-specific behavior to the matching variant skill.

Workflow

  1. Identify every requested surface and state: route or window, viewport, theme, locale, fixture data, and any interaction needed to reach it.
  2. Reuse product-owned Vishot scenarios, stories, routes, and stable selectors before creating temporary automation.
  3. If the existing scenarios do not expose a valid reusable helper for the requested state, write the smallest disposable scenario or helper needed to reach it. Keep one-off automation outside tracked scenario directories. When the state will be checked again during UI iteration, add it as a reusable scenario in the matching packages/scenarios-* package, as enforce-rules-for-ui-tests describes. Run the complete startup, state preparation, capture, and artifact-inspection flow; do not stop after documenting that a helper is missing.
  4. Select the runtime variant:
  5. Invoke $use-vishot-with-electron for Electron windows.
  6. Invoke $use-vishot-with-web for browser routes.
  7. Invoke $use-vishot-with-capacitor for Capacitor WebView or native-shell evidence.
  8. Also invoke $use-vishot-with-input-file when reaching the requested state requires a local file chooser or file input.
  9. When developing or debugging the disposable automation, use a locally available $agent-browser to inspect web or Capacitor DOM and interaction paths. For Electron window discovery and interaction, also invoke $agent-browser-electron. Use these skills as development and validation aids; do not make their availability a prerequisite for Vishot capture.
  10. Produce the final screenshot artifacts with Vishot whenever possible, even when agent-browser helped discover selectors or verify the interaction sequence. Treat a missing product helper as temporary automation work, not as proof that Vishot cannot capture the state; report a Vishot limitation only after reproducing a concrete runtime failure.
  11. Give the variant an explicit output directory. Directory ownership belongs to the caller; Vishot only writes named capture artifacts into that directory.
  12. Keep locale, theme, data, viewport, and readiness conditions deterministic when captures will be compared.
  13. Inspect every generated image. Reject blank, loading, error, permission, onboarding, or unstable frames unless that is the requested state.
  14. Return a manifest rather than relying on directory order:
   id: settings-connection
   title: Settings / Connection
   runtime: web
   viewport: 1440x900
   image: /absolute/output/settings-connection.png

Include the failure reason instead of an image path when capture cannot complete. Do not invent PR, revision, upload, or repository-storage policy; the invoking workflow owns those decisions.

Capture Contract

  • Use stable IDs and human-readable titles for all requested states.
  • Omit --name when the URL or Electron window produces a unique meaningful name. Use it when states would collide or need an explicit identifier.
  • Treat --settle-ms as a final rendering delay, not a substitute for a state-specific readiness condition.
  • Return absolute paths and the parameters needed to reproduce each capture.