LaunchKit · 2026
Back to Skills

Convert URL to PDF suitable for mobile reading.

0
946 downloads
by @guoqiao

Setup & Installation

openclaw skills install @guoqiao/url2pdf

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install url2pdf

Version History

v0.0.2Feb 10, 2026 - Version note by skill developer:

- Added link to usage examples for easier reference. - Updated installation instructions: now includes a step to install the Chromium browser for Playwright using "uvx playwright install chromium". - Clarified that Playwright will be installed automatically by uv.

What This Skill Does

Converts a webpage URL to a PDF formatted for mobile reading. Uses Playwright with a headless Chromium browser to render the page accurately. The output PDF path is returned for delivery to the user.

Uses a real browser engine to render pages accurately, capturing styles and layout that simpler HTML-to-PDF converters miss.

When to use it

  • Save a long article for offline reading on your phone
  • Archive a recipe page as a portable document
  • Convert documentation to PDF for commute reading
  • Preserve a news article before it goes behind a paywall
  • Share a webpage as a file attachment

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: 'Save https://example.com/article as a PDF for mobile'

AGENT
  1. 1Runs url2pdf.py with the provided URL as an argument
  2. 2Playwright renders the page in a headless Chromium browser
  3. 3Script outputs the path to the generated PDF file
  4. 4Agent sends the PDF to the user as a document message
OUTPUT

PDF file of the webpage delivered to the user, optimized for mobile screen dimensions

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

uv package manager installedChromium browser installed via: uvx playwright install chromium