← Back to Skills Marketplace
378
Downloads
0
Stars
6
Active Installs
1
Versions
Install in OpenClaw
/install screenshot-tool
Description
网页截图 + 文档截图工具。支持网页全页截图、PPT/Word/Excel/PDF 转高清图片。保留原始样式,300 DPI 高清输出。
Usage Guidance
This skill appears to do what it claims: webpage screenshots (via agent-browser) and document→image conversion (LibreOffice → pdf2image). Before installing or running: 1) Verify the agent-browser npm package/source (npm packages can execute code and download browser dependencies). 2) Only run the scripts on files/URLs you trust — the scripts construct shell commands with user-supplied filenames/URLs and use shell=True, which can be abused if an attacker controls the input (sanitize or avoid untrusted filenames). 3) Install system packages (LibreOffice, poppler-utils) from your OS package manager to avoid unknown binaries. If you need higher assurance, review or run the Python scripts in a sandbox and/or replace subprocess shell usage with safer invocation (list-argument subprocess.run).
Capability Analysis
Type: OpenClaw Skill
Name: screenshot-tool
Version: 1.0.0
The skill bundle contains critical shell injection vulnerabilities in both `scripts/doc_screenshot.py` and `scripts/web_screenshot.py` due to the use of `subprocess.run(shell=True)` with unsanitized input variables such as file paths and URLs. While these flaws allow for potential Remote Code Execution (RCE) if the agent processes untrusted input, the code logic appears consistent with the stated purpose of document and webpage screenshotting, and there is no evidence of intentional malicious behavior or data exfiltration.
Capability Assessment
Purpose & Capability
Name/description (web screenshots and document→image conversion) align with declared binaries (libreoffice, pdftoppm/ poppler, agent-browser) and the included Python scripts implement exactly those flows.
Instruction Scope
SKILL.md and scripts stick to the stated task (convert documents via LibreOffice+pdf2image and screenshot via agent-browser). However, the scripts spawn shell commands (subprocess.run with shell=True) that interpolate user-provided paths/URLs; this is expected for a CLI wrapper but can be vulnerable to shell injection if untrusted/unsanitized inputs are passed.
Install Mechanism
There is no automated install spec (instruction-only), but SKILL.md directs users to install agent-browser via npm and system packages via apt — these are reasonable for the functionality. As with any third-party CLI installed from npm, users should verify the agent-browser package source and trustworthiness before installing.
Credentials
No environment variables, credentials, or config paths are requested; requested binaries match the tool's needs and are proportionate to the described capability.
Persistence & Privilege
Skill does not request always:true or other persistent platform privileges; it is user-invocable and can be invoked autonomously (platform default), which is normal for skills.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install screenshot-tool - After installation, invoke the skill by name or use
/screenshot-tool - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of screenshot-tool:
- Supports full-page and partial webpage screenshots using a headless browser.
- Converts PPT, Word, Excel, and PDF documents to high-resolution (300 DPI) images, preserving original styles.
- Output images in PNG format (default size: 4000×2250, 16:9).
- Includes detailed dependency installation and troubleshooting instructions.
- Command-line usage examples for both webpage and document screenshot features.
Metadata
Frequently Asked Questions
What is Screenshot Tool?
网页截图 + 文档截图工具。支持网页全页截图、PPT/Word/Excel/PDF 转高清图片。保留原始样式,300 DPI 高清输出。 It is an AI Agent Skill for Claude Code / OpenClaw, with 378 downloads so far.
How do I install Screenshot Tool?
Run "/install screenshot-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Screenshot Tool free?
Yes, Screenshot Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Screenshot Tool support?
Screenshot Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Screenshot Tool?
It is built and maintained by 风风 (@834948655); the current version is v1.0.0.
More Skills