URL to PDF for Openclaw

A high-performance tool for converting URLs into mobile-optimized PDF documents for easy reading.

guoqiao
v0.0.2
Feb 10, 2026
0
2.4k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install url2pdf

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install url2pdf using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is URL to PDF?

This skill empowers AI agents to transform web content into accessible, mobile-ready PDF files. Built for efficiency within the Openclaw Skills ecosystem, it leverages Playwright to capture webpages accurately, ensuring that text and layout are formatted for optimal readability on handheld devices.

By integrating this tool, developers can provide their agents with the capability to archive digital content or prepare reading materials for users who prefer offline or mobile consumption. The skill handles the heavy lifting of browser rendering and PDF generation through a streamlined CLI interface.

URL to PDF Use Cases

  • Saving long-form articles for offline reading on mobile devices.
  • Archiving web research into a portable document format.
  • Automating the conversion of documentation into readable PDFs for team distribution.
  • Formatting blog posts or news articles for distraction-free mobile viewing.

How URL to PDF Works

  1. The user provides a URL or triggers the conversion via a natural language command within the agent interface.
  2. The AI agent executes the local Python script using the uv package manager for fast, isolated execution.
  3. Playwright launches a headless Chromium browser instance to render the webpage content specifically for mobile viewports.
  4. The script generates a PDF file and saves it to the local file system, returning the absolute path to the agent.
  5. The agent identifies the output path and utilizes the message tool to send the document directly to the user.

URL to PDF Setup

To use this within your collection of Openclaw Skills, ensure you have the uv package manager installed on your system. Run the following command to install the necessary browser dependencies:

uvx playwright install chromium

URL to PDF Data Schema & Taxonomy

The skill manages input URLs and generates local file system outputs as follows:

Attribute Description
url The source webpage address provided as an argument.
pdf_path The stdout output representing the location of the generated file.
browser Uses Chromium via Playwright for high-fidelity rendering.
environment Compatible with Darwin, Linux, and Win32 systems.

URL to PDF Advanced Features

  • Automated dependency management via uv for seamless, zero-config execution.
  • Headless browser rendering ensures accurate captures of modern JavaScript-heavy websites.
  • Direct integration with agent messaging protocols for immediate file delivery to the user.
  • Built-in cross-platform support for consistent performance across different operating systems.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins uv
Github Stars: 0
forks: 0

Featured*