跳到正文
TakoAPI
返回技能列表

capture-website

由 silencezx007 提供

Web & Frontend Development
297下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 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

输出

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 或你在用的任意编程智能体里。

链接