yichen-wechat-mp-batch-exporter
Fungsinya
Skill ini mengambil teks artikel akun resmi WeChat dan dapat mengekspor daftar artikel serta metrik untuk catatan Anda sendiri. Skill ini untuk orang yang menginginkan salinan lokal postingan akun publik untuk penggunaan pribadi.
Kapan dipakai
- ✓Saat Anda ingin menyimpan teks artikel WeChat tertentu dari akun publik.
- ✓Saat Anda ingin daftar artikel masa lalu dari sebuah akun publik diekspor ke file.
- ✓Saat Anda ingin angka bacaan dan komentar untuk artikel akun WeChat.
Link skill
https://github.com/mcncarl/yichen-skills/blob/main/yichen-wechat-mp-batch-exporter/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Unduh teks lengkap dari ketiga artikel WeChat ini sebagai file Markdown yang bisa saya baca offline.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent menjalankan pemeriksa lokal, lalu mengambil teks artikel dari tautan yang Anda berikan atau dari riwayat sebuah akun, dan menyimpan hasilnya ke file. Agent tidak pernah mengoperasikan aplikasi WeChat Anda dan tidak pernah menampilkan rahasia login.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
WeChat MP Batch Exporter
Core Rule
Never operate the user's WeChat UI. Do not publish, delete, mass-send, follow, unfollow, send messages, or click inside WeChat. For any workflow requiring WeChat desktop, tell the user exactly what to do and wait for confirmation.
Never print raw cookies, auth-key, token, pass_ticket, key, uin, credentials JSON, or QR login secrets in chat or saved reports.
Downloaded article content belongs to the original authors or rights holders. Use exports only within the user's lawful/private-use scope unless the user confirms they have permission to republish or redistribute.
First Step
Run the local doctor before choosing a workflow:
python3 {baseDir}/scripts/doctor.py
Use --check-network only when the task needs the public exporter API or online download endpoint.
Decision Tree
- User provides known article URLs and only needs正文/Markdown: use
scripts/download_urls.py; no login or WeChat action is required. - User wants a public account's历史文章列表 or latest N articles: use exporter mode from
wechat-article-exporter; this requires a user-owned WeChat Official Account backend login/auth-key. - User needs阅读量、点赞、转发、评论、评论回复: use
wxdown-servicecredentials flow first, then export enhanced fields fromwechat-article-exporter. - User says“不登录”“代理模式” or exporter mode fails: use the proxy/history fallback only after explicit confirmation; read
references/manual-gates.mdfirst.
For simple single-URL extraction without batch/enhanced needs, prefer the existing $wechat-article skill.
Count Discipline
Never report a public account total as just “N 篇文章” until the count scope is clear.
After any history sync or imported history JSON, run:
python3 {baseDir}/scripts/analyze_history.py --history-json /path/to/history.dedup.json
python3 {baseDir}/scripts/analyze_history.py --chunk-dir /path/to/chunks --output-dir /path/to/output
Use these labels in user-facing answers:
publish_groups: uniquemsgidvalues; roughly one WeChat publish/message group.expanded_url_items: every unique article URL after expanding multi-article messages.original_articles: frontend-style original article count, usingcopyright_type=1,copyright_stat=1, andis_deleted=false.
If counts disagree with what the user sees in WeChat, explain the scope difference first and point to the generated history.summary.json / history.summary.md.
Known-URL Body Download
Use this path for pasted URLs, .txt, .csv, or .json URL lists:
python3 {baseDir}/scripts/download_urls.py --file /path/to/urls.txt --format markdown
python3 {baseDir}/scripts/download_urls.py "https://mp.weixin.qq.com/s/..."
Report only: success count, failure count, failed URLs, output directory, and index.csv.
Default output:
~/Downloads/wechat-mp-batch/<run-id>/
|-- index.csv
|-- errors.json
`-- articles/
`-- 001-<safe-title>.md
History And Enhanced Export
Read references/exporter-workflow.md before running exporter/history/enhanced-data tasks.
Start the local credential helper with:
python3 {baseDir}/scripts/start_wxdown_service.py
Use the mature upstream stack:
wechat-article/wechat-article-exporterfor account search, article history, body download, and multi-format export.wechat-article/wxdown-servicefor user-owned credential capture needed by read/comment metrics.
Local source paths are environment-specific. Prefer environment variables or explicit script flags:
export WECHAT_ARTICLE_EXPORTER_DIR=/path/to/wechat-article-exporter
export WXDOWN_SERVICE_DIR=/path/to/wxdown-service
python3 {baseDir}/scripts/doctor.py --exporter-path "$WECHAT_ARTICLE_EXPORTER_DIR" --wxdown-path "$WXDOWN_SERVICE_DIR"
python3 {baseDir}/scripts/start_wxdown_service.py --wxdown-dir "$WXDOWN_SERVICE_DIR"
If using the public exporter, default base URL is:
https://down.mptext.top
Manual Gates
Read references/manual-gates.md whenever the task involves login, credentials, comments, read counts, proxy, certificate trust, or WeChat desktop.
These actions always require explicit user confirmation:
- Scanning a QR code and selecting the user's Official Account or service account.
- Installing or trusting a mitmproxy certificate.
- Enabling or changing macOS system proxy settings.
- Asking the user to open an article/history page inside WeChat desktop and scroll.
- Using a pasted auth-key or credentials file.
Pertanyaan umum
Apakah ini memposting atau mengubah sesuatu di WeChat?
Tidak. Menurut skill ini, agent tidak boleh menerbitkan, menghapus, mengirim pesan, atau mengklik apa pun di dalam WeChat.
Apakah perlu login untuk mengunduh teks artikel?
Tidak. Tautan artikel yang diketahui bisa diunduh tanpa login, tetapi riwayat akun dan metrik memerlukan kredensial akun Anda sendiri.
Bisakah saya menerbitkan ulang artikel yang diekspor?
Hanya untuk penggunaan pribadi yang sah, kecuali pemegang hak memberi izin untuk diterbitkan ulang.
Detail
Deskripsi asli dari pembuat
批量下载微信公众号文章正文、历史文章列表、原创文章筛选、历史计数口径、阅读量、点赞/转发等指标、评论和评论回复。Use when the user asks to batch fetch mp.weixin.qq.com articles, export WeChat public-account history, distinguish publish groups vs expanded article URLs vs original articles, use wechat-article-exporter, use wxdown-service credentials, collect read/comment metrics, or create an archive for Obsidian/Feishu/local analysis. Do not use for ordinary one-off article summarization unless batch/enhanced data is requested.
repo: mcncarl/yichen-skills
Popularitas
- Bintang GitHub
- 5.2k
- Peringkat
- #15038
- Lisensi
- —
- Diperbarui
- 1/11/2026
Komentar
- …
Skill lain dari repositori ini
yichen-grok-consult
5.2kMemungkinkan agent Anda meminta pendapat kedua, tinjauan, atau pencarian web dan X dari xAI Grok, sementara AI utama Anda tetap memegang kendali.
yichen-chatgpt-web-research
5.2kMemungkinkan agent Anda memakai akun situs web ChatGPT yang sudah masuk, termasuk model Pro, untuk riset produk, pasar, atau pesaing.
yichen-codex-chatgpt
5.2kMemungkinkan agent Anda bekerja dengan ChatGPT sebagai perancang dan peninjau proyek lokal, sementara Codex menulis dan menguji kodenya.
yichen-mac-wechat-dual-open
5.2kMembantu agent Anda menyiapkan aplikasi WeChat kedua di Mac, sehingga dua akun WeChat bisa dibuka bersamaan.
Skill serupa
tavily
394kMembantu agent Anda mencari di web dengan Tavily dan mengambil teks dari halaman web tertentu, dengan opsi kedalaman, domain, dan tanggal.
blogwatcher
394kMemungkinkan agent Anda mengikuti blog dan feed RSS atau Atom, memeriksanya untuk artikel baru, dan menandai artikel yang sudah Anda baca.
data-scraper-agent
280kMembantu agent mengumpulkan data otomatis dari sumber publik. Bisa dijadwalkan, memperkaya informasi, dan menyimpan hasil. Berguna untuk memantau data online.