@gengdaJ: 爽了,现在可以直接用Codex自动批量抓取公众号文章。 原创、一次性多篇都可以精确抓取; 正文、点赞、分享、评论、阅读量也都可以抓取。 之前还要手动去网站操作,现在直接让Codex操作,舒服了~ 正文,只需要扫个码,登录状态保持4天。 其…
摘要
介绍了一个新的 yichen-skills 工具 wechat-mp-batch-exporter,允许使用 Codex 自动批量抓取微信公众号文章,包括正文、点赞、分享、评论、阅读量等数据,并保持登录状态4天。
查看缓存全文
缓存时间: 2026/07/09 23:53
爽了,现在可以直接用Codex自动批量抓取公众号文章。
原创、一次性多篇都可以精确抓取; 正文、点赞、分享、评论、阅读量也都可以抓取。
之前还要手动去网站操作,现在直接让Codex操作,舒服了~
正文,只需要扫个码,登录状态保持4天。 其他数据,需要切换代理,Codex可以自己操作。
Skill GitHub地址:https://github.com/mcncarl/yichen-skills/tree/main/wechat-mp-batch-exporter…
mcncarl/yichen-skills
Source: https://github.com/mcncarl/yichen-skills
yichen-skills
English | 中文
A skill collection for creators who want to streamline writing, X Articles draft publishing, WeChat digital-asset capture, and local workflows with Claude Code and Codex.
What This Repo Does
- Turn Claude Code conversations into structured Obsidian notes (
summary) - Upload Obsidian/Markdown articles to X Articles drafts (
x-article-draft-uploader) - Turn WeChat chats, Moments, and Favorites into AI-powered digital assets (
wechat-local-vault) - Run two WeChat accounts on one Mac with a distinct blue icon (
mac-wechat-dual-open) - Fetch benchmark videos/posts from Douyin and Xiaohongshu (
douyin-fetcher,xiaohongshu-fetch) - Transcribe, caption, and rough-cut talking-head videos with Volcengine ASR (
volc-asr) - Diagnose benchmark video transcripts (
yichen-video-content) - Run verified research through the official ChatGPT web page (
chatgpt-web-research) - Hand off rough cuts to Jianying/CapCut for final editing (
jianying-editor) - Install and maintain a Markdown/Obsidian-first Codex memory system (
codex-memory) - Batch-export WeChat Official Account article history, original-article lists, bodies, and optional read/comment metrics (
wechat-mp-batch-exporter)
Included Skills
1) summary
- Purpose: extract key insights from the current conversation and save to Obsidian
- Typical triggers:
/summary, “save conversation”, “export highlights” - Capabilities:
- Filters out low-value chat transitions
- Produces structured notes (Background, Core Content, Solution, Key Points, Related)
- Useful for long-term knowledge accumulation
2) x-article-draft-uploader
Upload Obsidian/Markdown long-form articles to X Articles drafts:
- Uses the first image as the X Article cover
- Converts Markdown into rich text for the X editor
- Inserts body images at their original Markdown positions
- Runs in an independent Playwright browser so it does not take over the user’s current Chrome window
- Reuses Chrome login state through temporary exported cookies
- Saves drafts only and does not click the final
发布button
See x-article-draft-uploader/README.md for installation, privacy notes, and troubleshooting.
3) mac-wechat-dual-open
Run two WeChat accounts simultaneously on macOS — no third-party tools:
- Copies WeChat, changes the bundle identifier, and re-signs locally
- Recolors the second app’s icon from green to blue for visual distinction
- Handles both outer and embedded icon files, Finder custom icon, and cache refresh
- One-command workflow:
create→recolor-icon→launch - Typical triggers: “微信双开”, “WeChat dual open”, “double WeChat”
- Requirements: macOS 12+, WeChat at
/Applications/WeChat.app, Python 3.10+, Pillow - Limitations: breaks after WeChat updates (re-run
repair), push notifications may be unreliable - Based on the well-known copy + bundle-id + ad-hoc signing method documented by @koffuxu
4) wechat-local-vault
WeChat digital-asset assistant for macOS:
- Decrypts WeChat Mac 4.x local SQLCipher databases (AES-256-CBC)
- Extracts chats, Moments (
sns.db), and Favorites (favorite.db) - Generates AI-powered chat digests, Moments reports, Favorites cleanup notes, customer follow-up drafts, and relationship review prompts
- First-time onboarding introduces 3 categories and 9 playbooks: chat records, Moments, and Favorites
- Configurable monitoring for groups, contacts, Moments targets, and Favorites cleanup preferences
- First-time setup guided via frida key extraction
- Typical triggers: “微信解析”, “微信全量”, “微信增量”, “导出聊天”, “朋友圈解析”, “收藏夹整理”, “客户跟进”, “wechat-local-vault”
- Requirements: macOS, WeChat Mac 4.x, Python 3.9+,
pycryptodome,zstandard - See wechat-local-vault/README.md for full documentation
5) douyin-fetcher
Fetch Douyin video metadata and download an MP4 through Playwright network interception:
- Supports
/video/<id>links and selected modal-style URLs - Writes a compact
.metadata.jsonnext to the downloaded video - Use
--metadata-onlyto validate a link without downloading media
6) xiaohongshu-fetch
Fetch Xiaohongshu video/image posts into local files:
- Parses
window.__INITIAL_STATE__ - Downloads video, subtitles, images, and metadata when available
- Keeps cookies, Feishu AppToken/TableID, and target table IDs out of the repo
7) volc-asr
Transcribe local audio/video files and generate rough cuts:
- Uses environment variables for Volcengine ASR and TOS configuration
- Produces transcript text, SRT subtitles, ASR cache, and optional rough-cut MP4
- Requires explicit user approval before cleaning temporary files
8) yichen-video-content
Analyze benchmark video transcripts:
- Breaks a transcript down sentence by sentence
- Labels each sentence’s role
- Produces a structured imitation and improvement report
9) chatgpt-web-research
Run research through the user’s already signed-in official ChatGPT website account:
- Uses the real ChatGPT web page, not the OpenAI API or a separate account
- Prefers Chrome extension control and falls back to visible Computer Use only when necessary
- Waits for a full answer with a unique marker before extracting
- Saves raw and readable Markdown reports under the current workspace’s
reports/directory - Keeps profile names, local paths, cookies, tokens, and browser storage out of the public skill
See chatgpt-web-research/README.md for privacy notes and workflow details.
10) jianying-editor
Guide Jianying/CapCut desktop finishing:
- Confirms media files and imports rough cuts
- Handles timeline placement, subtitles, visual polishing, and export notes
- Leaves automatic rough-cut logic to
volc-asr
11) codex-memory
Install and maintain the public Codex Memory system:
- Creates a local Markdown/Obsidian-first memory vault from the public template
- Uses Markdown as the source of truth and SQLite/FTS as the fast index
- Supports optional Zvec semantic retrieval for fuzzy “meaning-based” recall
- Guides prewrite reconcile, closeout, audit, and privacy-safe template updates
- Typical triggers: “install Codex memory”, “set up memory vault”, “run memory closeout”, “audit my Codex memory”
- Template repo: mcncarl/codex-memory
12) wechat-mp-batch-exporter
Batch-export WeChat Official Account articles:
- Downloads known
mp.weixin.qq.comarticle URLs as Markdown/JSON/text/HTML - Uses
wechat-article-exporterfor account search and history list sync - Separates
publish_groups,expanded_url_items, andoriginal_articles - Supports enhanced archive planning for read counts, likes, shares, comments, and replies through
wxdown-servicewhen fresh user-owned credentials are available - Requires user confirmation for QR login, credential capture, certificate trust, proxy changes, and any WeChat desktop steps
- Never operates WeChat UI or stores real credentials in the repo
See wechat-mp-batch-exporter/README.md for setup and privacy notes.
Project Structure
yichen-skills/
├─ summary/
│ └─ SKILL.md
├─ x-article-draft-uploader/
│ ├─ SKILL.md
│ ├─ README.md
│ ├─ agents/
│ └─ scripts/
│ ├─ export_x_cookies_from_chrome.py
│ ├─ parse_markdown.py
│ └─ upload_markdown_to_x_article.py
├─ wechat-local-vault/
│ ├─ SKILL.md
│ ├─ README.md
│ └─ scripts/
│ ├─ decrypt_all_dbs.py
│ ├─ export_chat.py
│ ├─ extract_keys.py
│ ├─ list_contacts.py
│ ├─ search_sns.py
│ └─ wechat_digest.py
├─ mac-wechat-dual-open/
│ ├─ SKILL.md
│ ├─ scripts/
│ │ └─ wechat_dual_open.py
│ └─ references/
│ └─ reliability-and-risks.md
├─ douyin-fetcher/
│ ├─ SKILL.md
│ └─ scripts/
│ └─ download.py
├─ xiaohongshu-fetch/
│ ├─ SKILL.md
│ └─ scripts/
│ └─ fetch.py
├─ volc-asr/
│ ├─ SKILL.md
│ └─ scripts/
│ └─ transcribe.py
├─ yichen-video-content/
│ ├─ SKILL.md
│ └─ references/
│ └─ title-formulas.md
├─ chatgpt-web-research/
│ ├─ SKILL.md
│ ├─ README.md
│ └─ agents/
├─ jianying-editor/
│ └─ SKILL.md
├─ codex-memory/
│ ├─ SKILL.md
│ └─ agents/
├─ wechat-mp-batch-exporter/
│ ├─ SKILL.md
│ ├─ README.md
│ ├─ agents/
│ ├─ references/
│ └─ scripts/
├─ README.md
├─ README.zh.md
├─ THIRD_PARTY_NOTICES.md
├─ LICENSE
└─ .gitignore
Requirements
- Claude Code / Codex CLI (with local skill loading)
- Python Playwright (required by
x-article-draft-uploader) - Python 3.9+
- Dependencies:
- X article drafts:
pip install playwright pycryptodome && python3 -m playwright install chromium - WeChat local vault:
pip install pycryptodome zstandard - WeChat dual open:
pip install Pillow - Douyin fetcher:
pip install playwright requests && python3 -m playwright install chromium - Xiaohongshu fetcher:
pip install requests - Volc ASR rough cut:
pip install requestsplus localffmpeg/ffprobe - ChatGPT Web research: Chrome signed in to ChatGPT, plus Chrome/Computer Use capability in your agent environment
- WeChat MP batch export: Python 3 standard library for known URL downloads;
wechat-article-exporter/wxdown-serviceonly for account history, metrics, and comments
- X article drafts:
Installation
Copy this repository into your local skills directory:
- Common Claude path:
~/.claude/skills/ - Common Agents path:
~/.agents/skills/ - Custom skill path also works if your setup supports it
Keep directory names unchanged:
summaryx-article-draft-uploaderwechat-local-vaultmac-wechat-dual-opendouyin-fetcherxiaohongshu-fetchvolc-asryichen-video-contentchatgpt-web-researchjianying-editorcodex-memorywechat-mp-batch-exporter
Quick Start (3 Minutes)
A) Enable summary
- Ensure
summary/SKILL.mdis available in your loaded skills path - Start a new session and run
/summary - Confirm output is written to your Obsidian folder (example paths may use
<OBSIDIAN_VAULT>/...)
B) Enable x-article-draft-uploader
- Install Python Playwright:
pip3 install playwright pycryptodome && python3 -m playwright install chromium - Make sure Chrome is already logged in to X
- Say “upload this Markdown article to X Articles draft” or run the script directly
- The skill creates a fresh draft, preserves the first image as the cover, and inserts body images in place
- See x-article-draft-uploader/README.md for commands
C) Enable mac-wechat-dual-open
- Install Python dependency:
pip3 install Pillow - In Claude Code, say “帮我微信双开” or “WeChat dual open”
- The skill will create a second WeChat at
~/Applications/WeChat-2.appwith a blue icon - See
mac-wechat-dual-open/SKILL.mdfor all commands
D) Enable wechat-local-vault
- Install Python dependencies:
pip3 install pycryptodome zstandard - In Claude Code or Codex, say “微信解析”, “导出聊天”, or “收藏夹整理”
- First run will guide you through key extraction and choosing among the 9 playbooks
- If unsure, start with the recommended trio: group chat digest + Moments report + Favorites cleanup
- Subsequent runs generate the selected digest, report, or draft workflow
- See wechat-local-vault/README.md for details
E) Enable the creator video workflow
- Install Playwright, requests, and ffmpeg
- Use
douyin-fetcherorxiaohongshu-fetchto save benchmark media locally - Use
volc-asrto transcribe or rough-cut recorded talking-head videos - Use
yichen-video-contentto diagnose benchmark transcripts - Use
jianying-editorfor final Jianying/CapCut import, subtitle, polish, and export steps
F) Enable chatgpt-web-research
- Make sure Chrome is already signed in to the intended ChatGPT account
- Keep the ChatGPT tab or profile visible when a Pro route must be confirmed
- Ask for official-site research, for example: “Use ChatGPT Web to research Anthropic and save a Markdown report”
- The skill waits for a complete answer, verifies the marker, and saves raw/readable Markdown reports
G) Enable codex-memory
- Make sure
codex-memory/SKILL.mdis available in your loaded skills path - Ask Codex to “install Codex Memory” or “set up a local Codex memory vault”
- The skill will use mcncarl/codex-memory to create a private local vault
- After setup, use
codex_memory_search.py,codex_memory_closeout.py, andcodex_memory_audit.pyfor search, task-end cleanup, and periodic review
H) Enable wechat-mp-batch-exporter
- Make sure
wechat-mp-batch-exporter/SKILL.mdis available in your loaded skills path - For known article URLs, ask for a Markdown download directly
- For account history, configure
WECHAT_ARTICLE_EXPORTER_DIRor use the public exporter route supported bywechat-article-exporter - For read counts and comments, configure
WXDOWN_SERVICE_DIRand confirm the credential-capture workflow before starting any local helper - See wechat-mp-batch-exporter/README.md before using metrics, comments, proxy, certificate, or WeChat desktop workflows
X Cookie Handling
This repo does not include real credentials or cookie templates.
x-article-draft-uploader exports current X cookies from the user’s local Chrome profile into a temporary Playwright cookie file:
python3 ~/.codex/skills/x-article-draft-uploader/scripts/export_x_cookies_from_chrome.py --output /tmp/x_current_cookies.json
The temporary file is sensitive and should be deleted after use:
rm -f /tmp/x_current_cookies.json
.gitignore already ignores **/cookies.json.
Security Notes
- Real token/cookie values are not included
- History/cache artifacts are excluded from tracking
- Personal absolute paths are replaced with generic forms
- Third-party AppID, AppToken, TableID, bucket names, and ASR tokens must be supplied through environment variables or private config
- WeChat exporter auth-keys, credential files, QR secrets, captured cookies, and downloaded article archives must stay local and private
If you ever exposed real cookies in a public repo, rotate them immediately.
FAQ
Why doesn’t a skill trigger?
- Verify the skill folder is in your actually loaded skill path
- Restart the session and retry
- Check
nameanddescriptioninSKILL.mdfrontmatter
Why did X Articles draft upload fail?
- Check whether Chrome is still logged in to X
- Re-export temporary cookies
- Verify Python Playwright is installed
- Verify local Markdown/image paths exist
Can I use my own Obsidian path?
- Yes. Replace example paths in skill files
<OBSIDIAN_VAULT>/...is only an example
For Redistributors
This repository is published for personal learning and non-commercial personal use only. Do not use it for commercial services, client delivery, paid products, internal company toolkits, marketplace packages, courses, or any other revenue-generating purpose without explicit written permission.
If you fork for personal study, keep at least:
README.mdREADME.zh.mdLICENSE.gitignoreTHIRD_PARTY_NOTICES.mdx-article-draft-uploader/README.md
Do not republish or repackage this repository as a public skill bundle. Always remind users not to publish real credentials or private data.
Acknowledgments
Parts of the X Articles draft workflow and Markdown parsing approach are adapted with references to:
wshuyi/x-article-publisher-skill
The WeChat database decryption approach in wechat-local-vault is adapted from:
zhuyansen/wx-favorites-report- Repo: https://github.com/zhuyansen/wx-favorites-report
- Author: zhuyansen
- License: MIT
- Specifically: the frida hook method for
CCKeyDerivationPBKDFkey extraction and SQLCipher 4 page-level decryption logic
The WeChat dual-open method in mac-wechat-dual-open is based on:
- @koffuxu — original tutorial (2026-04): Mac 微信双开最完美方案
- @MinLiBuilds — independent confirmation (2026-04)
See THIRD_PARTY_NOTICES.md for details.
Compliance Boundary
- This project is not affiliated with, endorsed by, or sponsored by X (Twitter) or WeChat (Tencent).
- This repository is for personal learning and non-commercial personal workflow use only.
- Commercial use, client delivery, resale, paid redistribution, marketplace packaging, course bundling, and internal company deployment are prohibited without prior written permission.
- Users are responsible for complying with X platform terms/policies and local laws.
wechat-local-vaultis for personal use only — only decrypt and read your own chat data.- Never upload real account credentials (for example,
cookies.json,wechat-keys.json) to public repositories. - Never upload real chat records, WeChat databases, customer data, private notes, API keys, local paths, or other personal data.
License
Personal Learning and Non-Commercial Use License. See LICENSE.
逸尘 (@gengdaJ): 很多朋友好奇我怎么一次性把卡兹克老师的所有公众号文章批量抓取下来的,今天来分享一个宝藏的免费工具,批量抓取公众号博主的正文、互动量、评论区。
GitHub:https://t.co/b20Z6stZf6 在线网站:https://t.co/cXdDhjBHpv
自用就行,别拿来干坏事🫡
相似文章
@xiangxiang103: 给大家实操一下Codex新功能Appshots:按下左右两个 Command 键,可以把当前最前面的 App 窗口截图和可读取文字一起发给 Codex,省得你手动截图、复制、描述。 目前我试了一下总结推特文章,非常好用,主要是快捷好多!以…
作者演示了Codex新功能Appshots,通过按下左右Command键即可截取当前应用窗口并发送给Codex,实现快速总结文章等操作,大幅提升效率。
@aehyok: 卧槽太叼了,腾讯自家的 ima知识库可以让AI轻松替代读取我们微信收藏夹里的微信公众号文章,支持批量哟。 有没有跟我一样,平常喜欢刷点公众号的文章,然后看着不错,就点击收藏了。然后到用的时候,还得去收藏夹里查找、打开、复制链接、非常的不方…
腾讯的ima知识库可以批量读取微信收藏夹中的公众号文章,并支持与WorkBuddy、Claude Code、Codex等Agent产品深度集成,方便AI处理。
@Crypto_QianXun: Codex 这两个 GitHub 项目一接上,资料归档直接起飞。 一个管微信,一个管飞书: 微信本地资料库: https://github.com/mcncarl/yichen-skills/tree/main/wechat-local-…
介绍了一个名为 yichen-skills 的 GitHub 仓库,包含多个技能工具,能连接 Codex 与微信、飞书等平台,实现资料归档和工作流自动化。
@CycleDecoded: 兄弟们,还在傻乎乎地手动复制粘贴分发文章?效率这么低怎么在全网抢流量赚钱!今天扒出一个能让你效率狂飙十倍的开源神器,做自媒体矩阵的绝对不能错过! GitHub上悄悄爆火的牛逼项目 Wechatsync(微信公众号同步助手),专治各种平台分…
Wechatsync 是一款开源免费的浏览器扩展和 CLI 工具,支持一键将微信公众号文章同步到 29+ 自媒体平台,大幅提升内容分发效率。
@dotey: https://x.com/dotey/status/2057250417638035555
本文分享了来自Codex官方团队的使用技巧,包括持久对话流、语音输入、任务干预与排队、工具集成、自动化和目标设定等,帮助用户最大化利用Codex这一AI编码智能体。