Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

capture-website

bởi silencezx007

Web & Frontend Development
297Lượt tải do clawskills.sh công bố
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Capture website screenshots from the command line.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: Screenshot this tweet for me: https://x.com/elonmusk/status/2026052687423562228

AGENT
  1. 1

    Run capture-website with the URL and --output set to the workspace path

  2. 2

    Set --width=1280 and --height=800 for a standard viewport

  3. 3

    Add --delay=2 if the page loads slowly

  4. 4

    Send the saved PNG file to the user

ĐẦU RA

A PNG screenshot of the tweet saved to the workspace and delivered to the user

Yêu cầu

  • capture-website-cli global package (npm install -g capture-website-cli)

Cài đặt

clawhub install silencezx007/capture-website

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết