snaprender
由 user0856 提供
Web & Frontend Development简介
Give your agent eyes on the web — screenshot any URL as an image file.
描述
该技能的功能
Captures screenshots of any URL and saves them as image files. Supports device emulation (iPhone, iPad, Pixel, MacBook), dark mode, full-page capture, and ad blocking. The agent runs a curl command via the exec tool rather than a browser.
Lets agents visually inspect any website without a browser tool, using a single curl command with full control over device, render mode, and output format.
何时使用
- Checking how a competitor's site looks on mobile
- Capturing a landing page in dark mode before a design review
- Taking a full-page scroll screenshot of long documentation
- Comparing desktop and iPhone layouts side by side
- Archiving a live webpage as a JPEG for a report
示例工作流
User asks: Screenshot stripe.com on iPhone 15 Pro in dark mode
- 1
URL-encodes the target URL: https%3A%2F%2Fstripe.com
- 2
Builds the curl command with device=iphone_15_pro and dark_mode=true parameters
- 3
Executes the command via the exec tool using the SNAPRENDER_API_KEY header
- 4
Decodes the base64 image response and saves it to /tmp/screenshot.jpg
- 5
Reports metadata to the user: file size, response time, cache status, remaining credits
Screenshot saved to /tmp/screenshot.jpg with metadata reported (file size, response time, cache hit, remaining credits)
前置要求
- SNAPRENDER_API_KEY environment variable (free account at snap-render.com/auth/signup, 500 screenshots/month, no credit card)
安装
clawhub install user0856/snaprender运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。