Install
openclaw skills install @harven-droid/wechat-article-archiveSave WeChat Official Account articles from mp.weixin.qq.com links into a user-specified local folder as Markdown plus a local assets/ image folder. Use when the user provides a WeChat public-account article URL and asks to 保存/归档/下载/导出/存到指定目录/生成 md, especially when they want article.md with WeChat images copied under assets/ instead of saving to IMA or another cloud service.
openclaw skills install @harven-droid/wechat-article-archiveArchive a WeChat Official Account article to local files:
target-folder/
Article title.md
assets/
image-01-xxxx.jpg
image-02-xxxx.png
mp.weixin.qq.com article URLcd "${CODEX_HOME:-$HOME/.codex}/skills/wechat-article-archive"
.venv/bin/python scripts/archive_wechat_article.py "<wechat-url>" "<destination-folder>"
assets/ directory pathUse scripts/archive_wechat_article.py.
Arguments:
.venv/bin/python scripts/archive_wechat_article.py "<url>" "<output_dir>" [--filename "custom.md"] [--skip-images] [--image-timeout 10]
Behavior:
extract.js.<output_dir>/assets/.assets/... paths.Run once if dependencies are missing:
cd "${CODEX_HOME:-$HOME/.codex}/skills/wechat-article-archive"
npm install
python3 -m venv .venv
.venv/bin/python -m pip install -r requirements.txt
If npm install fails because of a registry mirror, retry with:
npm install --registry=https://registry.npmjs.org
Required commands:
python3nodepackage.jsonIf node is not on PATH but available elsewhere, set:
NODE=/absolute/path/to/node .venv/bin/python scripts/archive_wechat_article.py "<url>" "<output_dir>"
不支持的链接 → URL is not a supported WeChat article link.访问过于频繁 → WeChat blocked the request temporarily; retry later or use another network/session.extractor not found → skill files are incomplete.Cannot find module ... → run npm install in the skill directory.--image-timeout 5, or use --skip-images if the user only needs Markdown text and original image URLs.assets/.