Tool v1.0.0

capture-website

通过命令行捕获网站截图,适用于用户需要截取任意网址(如 Twitter、新闻网站、网页)并发送至 Discord 或飞书的场景。需先安装 capture-website-cli(运行 npm install -g...

ClawHub 更新于 2026-03-23 15 浏览
下载 SKILL

技能说明

通过命令行捕获网站截图,适用于用户需要截取任意网址(如 Twitter、新闻网站、网页)并发送至 Discord 或飞书的场景。需先安装 capture-website-cli(运行 npm install -g capture-website-cli)。

使用场景

Take screenshots of any webpage via command line and share via Discord or Feishu using capture-website-cli

查看英文原始说明

Capture website screenshots from the command line. Use when user wants to take screenshots of any URL (Twitter, news sites, webpages) and send them via Discord/Feishu. Requires capture-website-cli to be installed (npm install -g capture-website-cli).

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/capture-website
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

3 个文件 · 9.0 kB
SKILL.md text/markdown
---
name: capture-website
version: 1.0.0
description: Capture website screenshots from the command line. Use when user wants to take screenshots of any URL (Twitter, news sites, webpages) and send them via Discord/Feishu. Requires capture-website-cli to be installed (npm install -g capture-website-cli).
---

# Capture Website Screenshot

Take screenshots of any website and send to user.

## Quick Start

```bash
capture-website <URL> --output=/home/aaronz/.openclaw/workspace/screenshot.png
```

## Common Options

| Option | 说明 | 示例 |
|--------|------|------|
| `--output` | 输出文件路径 | `--output=/tmp/screenshot.png` |
| `--full-page` | 截取完整页面 | `--full-page` |
| `--width` | 页面宽度 | `--width=1280` |
| `--height` | 页面高度 | `--height=800` |
| `--type` | 图片格式 | `--type=png` 或 `--type=jpeg` |
| `--delay` | 加载后等待秒数 | `--delay=2` |
| `--wait-for-element` | 等待元素出现 | `--wait-for-element=.content` |
| `--dark-mode` | 暗色模式 | `--dark-mode` |
| `--emulate-device` | 模拟设备 | `--emulate-device="iPhone X"` |

## Workflow

1. Run capture-website command with URL
2. Save to workspace folder: `/home/aaronz/.openclaw/workspace/`
3. Send via message tool with filePath

## Example

```bash
capture-website https://x.com/elonmusk/status/2026052687423562228 \
  --output=/home/aaronz/.openclaw/workspace/tweet.png \
  --width=1280 \
  --height=800
```

Then send the file to user via Discord.

## Notes

- Requires: `npm install -g capture-website-cli`
- Default timeout: 60 seconds
- If screenshot fails, try adding `--delay=2` for slow-loading pages

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。