screen-capture
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "screen-capture" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c9f0c58fb8a270c8d2b74bcae84bde53754febbeeb5f589367e50efb7aea4b27. Verify the upstream source and version against https://skillhub.cn/skills/user_b22a52ba/screen-capture before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A skill for capturing computer screen images, used to grab and save the current screen view.
Introduction source: third_party · user_b22a52ba · 2.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Limits and differences
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: screen-capture
description: 截取电脑屏幕截图技能。对整个屏幕或指定屏幕区域进行截图并保存为图片文件。支持全屏截图、区域截图(指定像素坐标)、多显示器指定截取。当用户要求"截屏"、"截图"、"截取屏幕"、"屏幕快照"、"全屏截图"、"截取区域"等意图时触发。触发关键词:截屏、截图、截取屏幕、屏幕截图、screen
capture、screenshot、全屏截图、截取桌面、录屏截图。
version: 2.0.0
tags:
- screen-capture
- tool
- utility
slug: screen-capture
displayName: Screen Capture
summary: 截取电脑屏幕截图技能屏幕截图
截取电脑屏幕(全部或指定区域),保存为图片文件。
核心脚本
scripts/capture_screen.py
使用 python_cell_exec 直接调用函数,无需读取脚本内容:
from capture_screen import capture_full
# 全屏截图(自动生成文件名)
capture_full()
# 全屏截图(指定路径)
capture_full("/path/to/output.png")
# 区域截图 (left, top, width, height)
capture_full("/path/to/output.png", region=(100, 200, 800, 600))
参数说明
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
output_path |
str | 自动生成 | 保存路径,支持 .png/.jpg/.bmp |
region |
tuple (left,top,w,h) | None | 指定截取区域,None 为全屏 |
monitor |
int | 0 | 显示器编号(多屏环境) |
使用流程
- 确定截图需求:全屏 or 指定区域
- 调用
capture_full()完成截图 - 将保存路径通过文件链接分享给用户
- 根据需要使用
view_image查看截图内容
注意事项
- 使用
PIL.ImageGrab,无需管理员权限 - 截图保存到工作区目录
- 若截图需要后续分析,可直接使用
view_image工具查看
Current listing version
2.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 屏幕截图是高频刚需功能,广泛适用于用户记录、分享、分析屏幕内容的场景
Highlights
- 触发词覆盖全面,包含中英文关键词及多种变体,边界清晰
Areas to improve
-
缺少 When to Use/示例章节 Reported severity: Minor
文档缺少 When to Use 章节和端到端示例,影响用户快速理解使用场景
Recommendation: 建议补充 When to Use 章节说明典型使用场景,并添加端到端示例展示完整使用流程
Highlights
- 结构完整,有参数说明、使用流程和注意事项
- frontmatter 完整,包含版本号、标签等必要信息
Areas to improve
-
异常处理覆盖不足 Reported severity: Minor
未覆盖主要异常处理场景(如路径无效、权限不足、显示器编号错误等)
Recommendation: 建议补充异常处理说明,包括常见错误场景的处理方式和错误提示
Highlights
- 工具来源明确(PIL.ImageGrab),参数说明清晰
- 支持多种图片格式输出,满足不同使用需求
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Administrator or elevated privileges
Elevate only when necessary. Keep protection and certificate validation enabled and avoid broad system access.
Mentioned in main document · lines 55 -
Screenshots or screen capture
Capture only a selected window or region. Avoid secrets and private records and review captures before sharing.
Mentioned in main document · lines 4
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.