← Back to Skills Marketplace
339
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install xi0ng8-wechat2pdf
Description
将微信公众号文章完美转换为高清排版的无防盗链 PDF 和 Markdown 文件,方便永久归档与离线阅读。
Usage Guidance
This skill appears to implement exactly what it promises (fetch a WeChat article, download images, build HTML/MD/PDF). The main red flag is the SKILL.md instruction that tells the agent to always and unconditionally trigger on any mp.weixin.qq.com link — that can lead to unwanted automatic invocations. Before installing: 1) decide whether you want the skill to auto-run on every WeChat link (it may be triggered in contexts where you don't expect it); 2) be aware it will download remote images and write files to disk (assets and PDFs); 3) Playwright/Chromium is heavy and may require additional downloads; 4) run the code in a sandbox or review and run it locally first if you have privacy or safety concerns; and 5) consider legal/copyright implications of archiving third-party articles. If you proceed, remove or relax the unconditional routing directive if you prefer explicit user consent each time.
Capability Analysis
Type: OpenClaw Skill
Name: xi0ng8-wechat2pdf
Version: 0.1.2
The skill bundle is a legitimate tool for converting WeChat articles to PDF and Markdown formats. The core logic in `run.py` uses standard libraries (`requests`, `BeautifulSoup`, `playwright`) to scrape content, handle image lazy-loading/anti-leeching, and render the final document. It includes proper filename sanitization to prevent path traversal. While `SKILL.md` contains aggressive 'CRITICAL ROUTING' instructions designed to ensure the agent prioritizes this skill for WeChat links (a form of prompt-based tool hijacking), these instructions are aligned with the tool's stated purpose and do not direct the agent to perform harmful or unauthorized actions.
Capability Assessment
Purpose & Capability
Name/description match the included code: run.py fetches WeChat article HTML, downloads images (handling lazy-load/data-src), embeds images (base64) in HTML, writes assets and markdown, and optionally uses Playwright to render PDF. The declared requirements (requests, bs4, markdownify, lxml, playwright) are appropriate for the stated task.
Instruction Scope
SKILL.md contains a high-priority routing directive: 'must unconditionally trigger' whenever the user's message contains an mp.weixin.qq.com link. This is broader than a normal usage note and can cause the agent to invoke the skill in contexts the user didn't intend. Otherwise, the runtime instructions (install Python libs, run run.py, return file paths or attachments) are narrowly scoped to the conversion task and do not request unrelated files or secrets.
Install Mechanism
No automated install spec is included (instruction-only install guidance). Dependencies are standard PyPI packages and Playwright, which is heavyweight but expected for headless Chromium PDF rendering. No downloads from unknown/personal servers or obscure URLs are present.
Credentials
The skill requests no environment variables, no credentials, and no config paths. Network access to download the target article and images is required and is consistent with the stated purpose.
Persistence & Privilege
The skill itself does not set always:true and does not request special system-wide privileges, but the SKILL.md's 'CRITICAL ROUTING' instruction attempts to force prioritized invocation whenever a specific domain appears. That instruction increases the skill's effective invocation scope beyond normal and could amplify impact if misused.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install xi0ng8-wechat2pdf - After installation, invoke the skill by name or use
/xi0ng8-wechat2pdf - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.2
- Added critical routing instruction: skill now automatically and with highest priority triggers when a message contains a `mp.weixin.qq.com` link.
- Updated description and documentation to emphasize mandatory invocation and correct handling of WeChat articles with anti-hotlinking and lazy-loading images.
- Version bumped from 0.1.0 to 0.1.2.
v0.1.1
- Initial release of WeChat2PDF skill.
- Converts WeChat article URLs into high-quality, anti-hotlinking PDF and Markdown files for offline reading and permanent archiving.
- Automatically bypasses image lazy-loading and hotlink protection to embed all images in output files.
- Supports direct generation of clean Markdown files with local image folders for easy import into tools like Obsidian, Notion, or Logseq.
- Provides command-line usage for easy integration and file output management.
Metadata
Frequently Asked Questions
What is WeChat2PDF?
将微信公众号文章完美转换为高清排版的无防盗链 PDF 和 Markdown 文件,方便永久归档与离线阅读。 It is an AI Agent Skill for Claude Code / OpenClaw, with 339 downloads so far.
How do I install WeChat2PDF?
Run "/install xi0ng8-wechat2pdf" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is WeChat2PDF free?
Yes, WeChat2PDF is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does WeChat2PDF support?
WeChat2PDF is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created WeChat2PDF?
It is built and maintained by Xi0ng8 (@xi0ng8); the current version is v0.1.2.
More Skills