yichen-wechat-mp-batch-exporter
यह क्या करती है
यह WeChat आधिकारिक अकाउंट के लेखों का टेक्स्ट लाती है, और अपने रिकॉर्ड के लिए लेखों की सूची व आँकड़े निर्यात कर सकती है। यह उन लोगों के लिए है जो निजी उपयोग के लिए किसी सार्वजनिक अकाउंट की पोस्ट की लोकल कॉपी चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप कुछ WeChat सार्वजनिक अकाउंट लेखों का टेक्स्ट सहेजना चाहते हैं।
- ✓जब आप किसी सार्वजनिक अकाउंट के पिछले लेखों की सूची फ़ाइलों में निर्यात करना चाहते हैं।
- ✓जब आप WeChat अकाउंट के लेखों की पढ़ने और टिप्पणी की संख्या चाहते हैं।
Skill का लिंक
https://github.com/mcncarl/yichen-skills/blob/main/yichen-wechat-mp-batch-exporter/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इन तीन WeChat लेखों का पूरा टेक्स्ट Markdown फ़ाइलों में डाउनलोड कीजिए, ताकि मैं उन्हें ऑफ़लाइन पढ़ सकूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आपका एजेंट एक लोकल जाँच टूल चलाता है, फिर आपके दिए लिंक से या किसी अकाउंट के इतिहास से लेख का टेक्स्ट लाता है, और नतीजे फ़ाइलों में सहेजता है। यह कभी आपका WeChat ऐप नहीं चलाता और लॉगिन की गोपनीय जानकारी नहीं दिखाता।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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.
अक्सर पूछे जाने वाले सवाल
क्या यह WeChat में कुछ प्रकाशित, डिलीट या भेजती है?
नहीं। स्किल कहती है कि WeChat में कभी कुछ प्रकाशित, डिलीट, मैसेज भेजना या क्लिक करना नहीं।
क्या लेख का टेक्स्ट डाउनलोड करने के लिए लॉगिन चाहिए?
नहीं। ज्ञात लेख लिंक बिना लॉगिन के डाउनलोड हो सकते हैं, पर अकाउंट का इतिहास और आँकड़े आपके अपने अकाउंट के क्रेडेंशियल से मिलते हैं।
क्या निर्यात किए गए लेख दोबारा प्रकाशित कर सकता हूँ?
केवल वैध निजी उपयोग के लिए, जब तक अधिकार धारकों ने दोबारा प्रकाशन की अनुमति न दी हो।
जानकारी
लेखक का मूल विवरण
批量下载微信公众号文章正文、历史文章列表、原创文章筛选、历史计数口径、阅读量、点赞/转发等指标、评论和评论回复。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
लोकप्रियता
- GitHub स्टार
- 5.2k
- रैंकिंग में स्थान
- #15038
- लाइसेंस
- —
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
yichen-grok-consult
5.2kयह आपके एजेंट को xAI के Grok से दूसरी राय, समीक्षा, या वेब और X खोज माँगने देती है, जबकि आपका मुख्य AI नियंत्रण में रहता है।
yichen-chatgpt-web-research
5.2kयह आपके एजेंट को आपके साइन-इन ChatGPT वेबसाइट अकाउंट, जिसमें Pro मॉडल शामिल हैं, से प्रोडक्ट, बाज़ार या प्रतिस्पर्धी की रिसर्च करवाने देती है।
yichen-codex-chatgpt
5.2kयह ChatGPT को लोकल प्रोजेक्ट का डिज़ाइनर और समीक्षक, और Codex को कोड लिखने व टेस्ट करने वाला बनाकर दोनों AI को साथ काम करवाती है।
yichen-mac-wechat-dual-open
5.2kयह आपके एजेंट को Mac पर WeChat की दूसरी ऐप सेट करने में मदद करती है, ताकि दो WeChat अकाउंट एक साथ खुले रह सकें।
मिलती-जुलती skills
tavily
394kयह आपके एजेंट को Tavily से वेब पर खोजने और खास वेब पेजों से टेक्स्ट निकालने देती है, गहराई, डोमेन और तारीख के विकल्पों के साथ।
blogwatcher
394kयह आपके एजेंट को ब्लॉग और RSS या Atom फ़ीड फ़ॉलो करने, उनमें नए लेख जांचने और जो लेख आपने पढ़ लिए हों उन्हें चिह्नित करने देती है।
data-scraper-agent
280kएजेंट को किसी भी public स्रोत से अपने-आप डेटा इकट्ठा करने में मदद करता है। इसे schedule किया जा सकता है, जानकारी को और बेहतर बनाया जा सकता है और नतीजे सेव किए जा सकते हैं। ऑनलाइन डेटा पर नज़र रखने के लिए उपयोगी है।