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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/jerryliu3502/url-images-to-pdfWhat 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
- "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."
- "Extract all images from the following WeChat article link and generate a PDF document: https://mp.weixin.qq.com/s/XXXXX."
- "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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-jerryliu3502-url-images-to-pdf": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: network-access, file-write, file-read, code-execution
Related Skills
career-compass
职场罗盘 by Barry — 一站式求职辅助 Skill。整合简历解析优化、公司调研(就业向)、同城职位搜索、模拟面试四大模块。输入个人信息/简历,自动生成简历优化方向、公司调研报告、招聘表单,并可进行模拟面试。
wechat-article-export
微信公众号多功能导出工具。將公眾號文章導出為長截圖(PNG)、PDF 或 Markdown,支持任選一種或多種格式。觸發詞:「導出微信文章」、「公眾號截圖」、「文章轉PDF」、「文章轉Markdown」、「微信導出」。
DocPilot
智能文档处理专家,支持文档解析、信息抽取、文档分类
collab-to-skill
将“人类 + Agent”共同打磨出来的流程、决策与方法,提炼成可复用的 Skill。适用于把高质量协作过程从聊天/项目推进中抽取出来,沉淀为可分发的技能包。
accounting-assistant
Buchhaltungs-Automatisierung mit EÜR-Erstellung, DATEV-Export, PDF-Beleganalyse und Steuer-Vorbereitung. Ideal für Freelancer und KMU.