360 Secure SkillHub
360 安全技能中心

Screenshot Tool

该 Skill 提供命令行 Python 脚本截图:支持全屏、指定窗口、指定区域、延迟捕获以及 png/jpg 格式输出,并列出开始与停止录屏的选项。材料显示 Windows 侧通过 PowerShell System.Drawing 实现截图,同时提到 ffmpeg、imagemagick 等外部工具。

dinghaibin
dinghaibin
热度 31.47
最近更新 2026-05-18 11:49:30
分类:自动化依赖:代码执行 / 读写文件应用场景:自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add dinghaibin-screenshot-tool
Metadata
name
screenshot-tool
description
Capture screenshots and screen recordings. Use when user needs to take screenshots, record screen activity, capture windows, or create screen recordings for tutorials.

Screenshot Tool

Capture screenshots and screen recordings.

Quick Start

# Take screenshot
python scripts/screenshot.py --capture

# Capture specific window
python scripts/screenshot.py --window "Chrome"

Usage

python scripts/screenshot.py [OPTIONS]

Options:
  --capture         Take screenshot
  --record         Start screen recording
  --stop           Stop recording
  --window NAME    Capture specific window
  --area X,Y,W,H   Capture area (x,y,width,height)
  --output PATH    Output file path
  --format FORMAT  Format: png, jpg (default: png)

Examples

# Full screen
python scripts/screenshot.py --capture

# Window
python scripts/screenshot.py --window "Terminal" --output terminal.png

# Region
python scripts/screenshot.py --area 0,0,800,600 --output region.png

# With delay
python scripts/screenshot.py --delay 5 --output delayed.png

Features

  • Full screen capture
  • Window capture
  • Region capture
  • Screen recording
  • Delayed capture
  • Multiple formats