ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified file management Safety 3/5

url-images-to-pdf

从URL提取图片并生成PDF(保持原文顺序,不排序)

Why use this skill?

Easily extract images from any URL and compile them into a PDF document using the url-images-to-pdf OpenClaw skill. Perfect for offline reading.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/jerryliu3502/url-images-to-pdf
Or

What This Skill Does

The url-images-to-pdf skill for OpenClaw is a powerful utility designed to bridge the gap between online web content and portable document formats. Many web pages, particularly long-form articles, documentation, or social media posts like WeChat articles, contain valuable visual information embedded as a series of images. This tool automates the process of visiting a specified URL, identifying image assets within that page, and compiling them into a professionally formatted PDF file. It strictly adheres to the original order of the images found in the document, ensuring that the narrative flow or instructional sequence is perfectly preserved without unnecessary re-sorting.

Installation

To integrate this skill into your OpenClaw environment, you must first ensure that the Node.js runtime is configured on your machine. The skill relies on the pdfkit library for robust PDF generation. You can install the skill directly via the command line interface using: clawhub install openclaw/skills/skills/jerryliu3502/url-images-to-pdf. Following the installation of the skill package, ensure the necessary dependencies are present by running npm install -g pdfkit in your terminal. This setup ensures that the script has the required permissions and libraries to handle image buffers and file I/O operations effectively.

Use Cases

This skill is highly versatile for researchers, content creators, and students. For instance, if you encounter a detailed infographic-heavy tutorial on a website that does not provide a print-friendly version, this tool can bundle those images into a document for offline reading. It is particularly useful for archiving social media posts, saving visual documentation, or creating local backups of web-based image collections that you wish to store as a single, coherent file rather than a disorganized folder of disparate image files.

Example Prompts

  1. "OpenClaw, please run the url-images-to-pdf skill on this URL: https://example.com/long-tutorial and save the output as my-tutorial.pdf."
  2. "Extract all images from the following WeChat article link and generate a PDF document: https://mp.weixin.qq.com/s/XXXXX."
  3. "Run url-images-to-pdf on https://example.com/gallery and put the resulting PDF in my documents folder."

Tips & Limitations

While efficient, keep in mind that this skill requires active network access to fetch remote assets. Some websites implement strict anti-crawling protections (like CAPTCHAs or dynamic loading via JavaScript) which may prevent the script from successfully scraping the images. Because the tool preserves original order, ensure the target webpage renders its images in the logical flow you desire. We recommend verifying the image count before final PDF generation to ensure no critical assets were missed due to network timeouts or lazy-loading restrictions.

Metadata

Stars1947
Views0
Updated2026-03-04
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-jerryliu3502-url-images-to-pdf": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags

#pdf#images#extraction
Safety Score: 3/5

Flags: network-access, file-write, file-read, code-execution