capture-website
от silencezx007
Web & Frontend DevelopmentКратко
Capture website screenshots from the command line.
Описание
Что делает этот навык
Captures screenshots of any URL from the command line using capture-website-cli. Supports full-page capture, custom viewport dimensions, dark mode, device emulation, and waiting for specific elements before shooting.
Handles dynamic and slow-loading pages with configurable delays and element-wait options that simpler screenshot utilities lack.
Когда его использовать
- Archive a tweet before it gets deleted
- Capture a breaking news article at a specific moment
- Take a mobile-view screenshot to check responsive layouts
- Screenshot a web app in dark mode
- Grab a dynamically loaded page after content finishes rendering
Пример сценария
User asks: Screenshot this tweet for me: https://x.com/elonmusk/status/2026052687423562228
- 1
Run capture-website with the URL and --output set to the workspace path
- 2
Set --width=1280 and --height=800 for a standard viewport
- 3
Add --delay=2 if the page loads slowly
- 4
Send the saved PNG file to the user
A PNG screenshot of the tweet saved to the workspace and delivered to the user
Требования
- capture-website-cli global package (npm install -g capture-website-cli)
Установка
clawhub install silencezx007/capture-websiteВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.