🦞 Url2pdf OpenClaw Plugin & Skill | ClawHub
Looking to integrate Url2pdf into your AI workflows? This free OpenClaw plugin from ClawHub helps you automate browser & automation tasks instantly, without having to write custom tools from scratch.
What this skill does
Convert URL to PDF suitable for mobile reading.
Install
openclaw skills install @guoqiao/url2pdfnpx clawhub@latest install url2pdfFull SKILL.md
Open original| name | description |
|---|---|
| url2pdf | Convert URL to PDF suitable for mobile reading. |
SKILL.md content below is scrollable.
URL to PDF
Given a url for a webpage, convert it to pdf suitable for mobile reading.
See examples.
Requirements
uv
Installation
playwright itself will be installed by uv automatically, while it also needs browser to be installed:
uvx playwright install chromium
Usage
uv run --script ${baseDir}/url2pdf.py "${url}"
Path to pdf will be printed to stdout.
Agent Instructions
- Run the script: Pass the url to be converted as an argument.
- Handle Output: The script will output a path to a pdf file.
Use the
messagetool to send the pdf file to the user as a document message:
{
"action": "send",
"filePath": "<filepath>"
}