Token导航 LogoToken导航TokenDH.com
效率操作浏览器clawhub未标认证来源可访问clear审计通过

web-to-pdfWEB TO PDF 浏览器

Agent Skill

web-to-pdf 用于处理浏览器自动化、网页检查和页面信息提取,适合在 OpenClaw 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,936

周安装

289

GitHub Stars

公开资料未说明

下载量

2,312
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:web-to-pdf(WEB TO PDF 浏览器)
来源仓库:https://github.com/huchiyv/web-to-pdf
安装命令:
openclaw skills install web-to-pdf
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install web-to-pdf

简介

将任意网页转换为高质量 PDF 文件并直接发送。

  • 适合查看网站内容、截图页面或导出静态资料。
  • 支持自定义格式与布局,确保输出整洁可读。web-to-pdf 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 安装命令:openclaw skills install web-to-pdf;需确认浏览器自动化权限。
  • 注意维护状态,避免频繁请求导致服务限制或安全风险。

SKILL.md

name
Web to PDF
description
Convert any webpage to a clean, high-quality PDF file and send it directly. Use when the user asks to view a website, screenshot a webpage, or see a page's content. Exports the webpage using browser PDF functionality for crystal-clear results.

When to Use

Use this skill when:

  • User asks "let me see this website" or "show me this page"
  • User requests a screenshot of a webpage
  • User wants to view or save webpage content
  • You need to send a webpage as a file to the user

This approach is better than screenshots because:

  • ✅ Maximum clarity and legibility (PDF preserves all formatting)
  • ✅ Preserves text, links, and structure
  • ✅ Compact file format
  • ✅ Professional appearance
  • ✅ Easy to save, print, or share

Workflow

Step 1: Navigate to the URL

Use the browser tool to open the webpage:

browser action=navigate url=https://example.com

Wait for the page to fully load.

Step 2: Export to PDF

Use the browser tool's PDF export:

browser action=pdf

This returns a file path like: FILE:/home/user/.openclaw/media/browser/uuid.pdf

Step 3: Send the PDF File

Use the message tool to send the file directly to the user:

message action=send filePath=/path/to/file.pdf message="Here's the webpage as a PDF!"

Step 4: Clean Up (Important!)

Delete the local PDF file immediately after sending to save space:

exec command=rm /path/to/file.pdf

Or in one line:

exec command=rm /path/to/file.pdf && echo "✅ PDF cleaned up"

Why This Workflow

AspectWhy
PDF formatPreserves layout, fonts, colors, and links perfectly
Browser toolNative PDF export ensures compatibility
Direct file sendUser gets the file immediately, no compression artifacts
Cleanup stepRespects workspace storage and keeps things tidy

Common Patterns

Pattern 1: User says "show me this website"

1. browser navigate <URL>
2. browser pdf
3. message send filePath=<result> message="Here's the website as PDF"
4. exec rm <result>

Pattern 2: User asks for a screenshot

1. browser navigate <URL>
2. browser pdf (better than screenshot!)
3. message send filePath=<result> message="PDF view of the webpage"
4. exec rm <result>

Pattern 3: Multiple pages/links

If the user wants multiple webpages:

  • Repeat steps 1-4 for each URL
  • Or export all to PDF in a batch script (see scripts/batch-export.sh)

Error Handling

Page fails to load

browser wait --url "**/expected-path" --timeout-ms 10000

PDF export fails

The browser might be in headless mode or network issue. Try:

browser status
browser start (if not running)
browser navigate <URL>

File not accessible

Check the path returned by browser pdf. If it's a relative path, convert to absolute:

exec command=realpath <path>

Tips

  • For long pages: PDF preserves entire page length, so large documents are still readable
  • For dynamic content: Wait for dynamic content to load before exporting
  • For mobile view: Use browser resize 375 812 before PDF export if mobile view is needed
  • For specific sections: Export full PDF, user can crop or extract what they need

Related Skills

  • browser — OpenClaw's native browser automation
  • screenshot — Fallback if PDF export isn't suitable (rarely needed)

Feedback & Updates

  • Star this skill: clawhub star web-to-pdf
  • Check for updates: clawhub sync web-to-pdf

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

96.12%
按下载量换算2,222

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills