url2png
由 guoqiao 提供
Browser & Automation简介
Convert URL to PNG suitable for mobile reading.
描述
该技能的功能
Captures a full webpage screenshot and saves it as a PNG optimized for mobile viewing. Uses shot-scraper and Chromium under the hood, installed via uv.
Automates the full install and capture pipeline in one command, including browser setup, so there's no manual Playwright or browser configuration required.
何时使用
- Saving a recipe page as an image to read offline
- Archiving an article before it goes behind a paywall
- Sharing a webpage snapshot in a chat without sending a link
- Capturing a long product page for reference
- Converting a web report to an image for a presentation
示例工作流
User asks: 'Save this page as an image: https://example.com/article'
- 1
Run url2png.sh with the provided URL
- 2
Wait for shot-scraper to capture the full page using Chromium
- 3
Locate the generated PNG in ~/Pictures
- 4
Send the file to the user as a document to avoid compression
A full-page PNG of the webpage saved to ~/Pictures and delivered to the user
前置要求
- uv installed and available in PATH
安装
clawhub install guoqiao/url2png运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。