Batch-oriented workflow for WeChat Official Account article archives.
It helps an agent:
- Download known
mp.weixin.qq.comarticle URLs as Markdown, JSON, text, or HTML. - Export a public account's history list through
wechat-article-exporter. - Distinguish
publish_groups,expanded_url_items, andoriginal_articles. - Prepare enhanced archives that can include read counts, likes, shares, comments, and replies when fresh user-owned credentials are available.
This public skill does not include credentials, cookies, QR secrets, article archives, downloaded bodies, local account data, or private paths.
The scripts are intentionally conservative:
doctor.pyis read-only.download_urls.pyonly downloads known public article URLs through the configured exporter API.start_wxdown_service.pystarts a local helper only when explicitly run and does not change system proxy settings.- Any QR login, certificate trust, proxy change, or WeChat desktop action must be confirmed and performed by the user.
Never commit output archives, credentials.json, cookies, auth-key values, pass_ticket, uin, tokens, QR login secrets, or private account data.
For known URL body downloads, no local upstream checkout is required:
python3 scripts/download_urls.py "https://mp.weixin.qq.com/s/..."For account history, install or self-host wechat-article/wechat-article-exporter, then point the skill at it:
export WECHAT_ARTICLE_EXPORTER_DIR=/path/to/wechat-article-exporter
python3 scripts/doctor.py --exporter-path "$WECHAT_ARTICLE_EXPORTER_DIR" --check-networkFor read counts and comments, install wechat-article/wxdown-service and start it only after the user confirms the credential-capture workflow:
export WXDOWN_SERVICE_DIR=/path/to/wxdown-service
python3 scripts/start_wxdown_service.py --wxdown-dir "$WXDOWN_SERVICE_DIR" --dry-runHistory analysis writes:
history.summary.jsonhistory.summary.mdhistory.dedup.jsonhistory.dedup.csvurls.all.txthistory.original.jsonhistory.original.csvurls.original.txt
Known URL downloads write:
index.csverrors.jsonarticles/*
- Do not operate WeChat UI from the agent.
- Do not bypass login, paywalls, deleted articles, private content, or platform permission checks.
- Downloaded article content belongs to the original authors or rights holders; do not republish or redistribute without permission.
- Do not guarantee read/comment metrics without fresh user-owned credentials.
- Do not leave system proxy settings changed after a credential-capture workflow.