跳到正文
TakoAPI
返回技能列表

url2png

由 guoqiao 提供

Browser & Automation
868下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Run url2png.sh with the provided URL

  2. 2

    Wait for shot-scraper to capture the full page using Chromium

  3. 3

    Locate the generated PNG in ~/Pictures

  4. 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 或你在用的任意编程智能体里。

链接