@gengdaJ: Awesome, now you can directly use Codex to automatically batch scrape WeChat official account articles. Original, multiple articles at once can be accurately scraped; text, likes, shares, comments, and read counts can also be scraped. Previously, I had to manually operate on the website, now just let Codex handle it, so comfortable~ For the text, just scan a QR code, the login status lasts 4 days. Other data...
Summary
Introduces a new yichen-skills tool wechat-mp-batch-exporter that allows using Codex to automatically batch scrape WeChat official account articles, including text, likes, shares, comments, read counts, and other data, with login status maintained for 4 days.
View Cached Full Text
Cached at: 07/09/26, 11:53 PM
Great, now I can directly use Codex to automatically batch fetch WeChat Official Account articles. Both original articles and multiple articles at once can be accurately fetched; body text, likes, shares, comments, and read counts can also be fetched. Previously I had to manually operate on the website, now I just let Codex do it — so comfortable~ For the body text, just scan a QR code, and the login persists for 4 days. For other data, you need to switch proxies, but Codex can handle that itself. Skill GitHub URL: 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 | Chinese
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 (https://x.com/koffuxu/status/2043110831584690427)
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/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 (https://github.com/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
text 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
/...)
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 (https://github.com/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:
bash 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:
bash 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
/...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- Repo:
- Docs:
- License: MIT
The WeChat database decryption approach in wechat-local-vault is adapted from:
zhuyansen/wx-favorites-report- Repo:
- Author: zhuyansen
- License: MIT
- Specifically: the
Similar Articles
@xiangxiang103: Let me demonstrate Codex's new feature Appshots: Press the left and right Command keys simultaneously to capture a screenshot of the current topmost app window along with readable text, and send it directly to Codex — no need for manual screenshots, copying, or describing. I've tried it for summarizing tweets, and it works great, mainly because it's so much faster! With...
The author demonstrates Codex's new Appshots feature, which allows capturing the current app window by pressing both Command keys and sending it to Codex for quick article summarization, greatly improving efficiency.
@aehyok: Wow, this is insane! Tencent's own ima knowledge base lets AI easily read the WeChat public account articles from our WeChat favorites, and it supports batch processing. Anyone else like me who often browses public account articles, thinks they're good, and clicks save? But when you need to use them, you have to search through favorites, open them, copy the link — super inconvenient...
Tencent's ima knowledge base can batch-read public account articles from WeChat favorites and supports deep integration with Agent products like WorkBuddy, Claude Code, and Codex, making AI processing convenient.
@Crypto_QianXun: Once these two Codex GitHub projects are connected, document archiving takes off. One handles WeChat, the other handles Feishu: WeChat local vault: https://github.com/mcncarl/yichen-skills/tree/main/wechat-local-…
Introduces a GitHub repository called yichen-skills, which contains multiple skill tools that can connect Codex with platforms like WeChat and Feishu, enabling document archiving and workflow automation.
@CycleDecoded: Bro, are you still foolishly manually copying and pasting articles? How can you grab traffic across the internet with such low efficiency? Today I uncovered an open-source tool that can skyrocket your efficiency tenfold—a must-have for running a self-media matrix! The GitHub project quietly going viral: Wechatsync (WeChat Official Account Sync Assistant), designed to cure the pain of multi-platform distribution...
Wechatsync is a free and open-source browser extension and CLI tool that supports one-click syncing of WeChat Official Account articles to 29+ self-media platforms, greatly improving content distribution efficiency.
@dotey: https://x.com/dotey/status/2057250417638035555
This article shares usage tips from the Codex official team, including persistent conversation flow, voice input, task intervention and queuing, tool integration, automation, and goal setting, to help users get the most out of Codex, an AI coding agent.