Web to PDF for Openclaw

A high-fidelity conversion tool that transforms any webpage into a clean, searchable PDF document using Openclaw Skills.

huchiyv
v1.0.0
Mar 15, 2026
0
842
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install web-to-pdf

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 web-to-pdf 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 Web to PDF?

The Web to PDF skill is a sophisticated browser automation capability designed to capture web content with maximum precision. By leveraging native browser export functionality, this tool allows AI agents to provide users with professional-grade documents that preserve text legibility, functional hyperlinks, and original CSS formatting.

Integrating this into your workflow through Openclaw Skills offers a significant advantage over standard screenshots, as it ensures the resulting file is compact, searchable, and ready for professional distribution or archiving. It is specifically built for scenarios where clarity and document structure are non-negotiable.

Web to PDF Use Cases

  • Archiving web-based research or documentation for offline viewing.
  • Sharing a high-resolution, multi-page view of a website with a client or team.
  • Capturing long-form content that exceeds the limitations of traditional image screenshots.
  • Providing a professional, printable version of dynamic web applications.

How Web to PDF Works

  1. The AI agent initiates a browser session and navigates to the target URL.
  2. Once the page is fully rendered, the agent triggers the native PDF export command.
  3. The browser generates a unique PDF file in the local media directory and returns the file path.
  4. The agent uses a messaging tool to deliver the PDF file directly to the user's interface.
  5. To maintain workspace hygiene, the agent executes a shell command to delete the temporary PDF after successful delivery.

Web to PDF Setup

To get started with this functionality, install it via the command line interface provided by Openclaw Skills:

clawhub install web-to-pdf
clawhub sync web-to-pdf

Ensure that your browser tool is active and that the agent has permissions to write to and delete files from the .openclaw/media/ directory.

Web to PDF Data Schema & Taxonomy

Component Description Format/Location
PDF Output The generated document containing web content ~/.openclaw/media/browser/*.pdf
Navigation Tool Controls the browser instance browser action=navigate
Message Tool Handles file transfer to the user message action=send
Cleanup Command Deletes local temporary files exec command=rm

Web to PDF Advanced Features

  • Viewport Customization: Resize the browser window to capture mobile or tablet versions of a site before export.
  • Dynamic Waiting: Configure timeouts to ensure JavaScript-heavy elements or animations are fully loaded.
  • Multi-page Batching: Use custom scripts to automate the conversion of multiple URLs in a single sequence.
  • Workspace Storage Management: Automatic cleanup steps to ensure that large PDF files do not consume unnecessary disk space.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*