← Back to Skills Marketplace
wechat-pack
by
rockbotclub
· GitHub ↗
· v1.0.0
440
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install wechat-pack
Description
Convert local .docx or Markdown files into WeChat-ready HTML and generate a publish folder (source/assets/cover/wechat). Use when packaging documents for WeC...
Usage Guidance
This skill appears to do what it says, but review and be mindful of a few practical points before running: (1) The script will fetch external image URLs over the network — remote image hosts could record requests or attempt to track you, so only run on documents whose image sources you trust. (2) Converting .docx requires pandoc on PATH; installing pandoc is separate and you should obtain it from the official source. (3) Pillow and a Python markdown package are optional for extra features; install only from trusted package indexes. (4) The script writes files into a new output folder (source/, assets/, cover/, wechat/) — check the output and the script source if you want to confirm there is no undesired behavior. Overall the footprint is local and coherent with the stated purpose; no credentials or hidden endpoints were found.
Capability Analysis
Type: OpenClaw Skill
Name: wechat-pack
Version: 1.0.0
The skill is classified as suspicious due to significant vulnerabilities that could lead to local file disclosure and arbitrary URL fetching. The `scripts/pack_wechat.py` script, when processing user-provided input files, will copy local files referenced in `<img>` tags (e.g., `<img src="/etc/passwd">`) into the output `assets/` directory, making them accessible. Additionally, the script downloads images from arbitrary URLs specified in the input document or via the `--cover` argument, allowing the agent to make network requests to arbitrary external endpoints. While these capabilities are related to the skill's stated purpose, they represent critical vulnerabilities that could be exploited by a malicious user providing crafted input, without clear evidence of intentional malicious behavior by the script author.
Capability Assessment
Purpose & Capability
Name/description (wechat-pack) align with included script and SKILL.md: the script converts docx/markdown/html to HTML, applies inline styles, downloads external images into assets/, and generates cover variants when Pillow is available. No unrelated services, credentials, or binaries are requested.
Instruction Scope
SKILL.md instructions are consistent with the script: they call ./wechat_pack <file>, require pandoc for .docx conversion, and note that external images are downloaded and rewritten locally. The runtime instructions do not direct the agent to read unrelated system files, environment variables, or send data to unexpected endpoints. The script does open network connections to fetch images (urllib.request) which is expected behavior for the stated purpose.
Install Mechanism
There is no install spec (instruction-only), so nothing is automatically downloaded or installed by the platform. The included Python script runs locally and uses only standard libraries plus optional markdown and Pillow packages; this is proportionate to the task.
Credentials
The skill declares no required environment variables, credentials, or config paths. The script does not attempt to read or require secrets. It does call an external program (pandoc) if converting .docx, which is documented.
Persistence & Privilege
The skill is not forced-always, does not request elevated platform privileges, and does not modify other skills or system-wide agent settings. It runs as a discrete utility producing local output files.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install wechat-pack - After installation, invoke the skill by name or use
/wechat-pack - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of wechat-pack.
- Converts local .docx or Markdown files into WeChat-ready HTML.
- Generates a publish folder containing source files, local assets, HTML, and metadata.
- Supports image extraction and rewriting to local assets folder.
- Optionally generates cover images in multiple sizes if Pillow is installed.
- Requires pandoc for .docx conversion.
- Command-line tool with options for output directory, title, and cover image.
Metadata
Frequently Asked Questions
What is wechat-pack?
Convert local .docx or Markdown files into WeChat-ready HTML and generate a publish folder (source/assets/cover/wechat). Use when packaging documents for WeC... It is an AI Agent Skill for Claude Code / OpenClaw, with 440 downloads so far.
How do I install wechat-pack?
Run "/install wechat-pack" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is wechat-pack free?
Yes, wechat-pack is completely free (open-source). You can download, install and use it at no cost.
Which platforms does wechat-pack support?
wechat-pack is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created wechat-pack?
It is built and maintained by rockbotclub (@rockbotclub); the current version is v1.0.0.
More Skills