yichen-mac-wechat-dual-open
यह क्या करती है
यह WeChat की एक कॉपी बनाती है जिसका बंडल आइडेंटिफ़ायर अलग होता है, उसे फिर से साइन करती है, और चाहें तो उसका आइकन रंग बदलती है ताकि दोनों ऐप आसानी से पहचाने जाएँ। यह उन Mac उपयोगकर्ताओं के लिए है जो WeChat के दो अकाउंट में लॉगिन रखना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप Mac पर एक साथ दो WeChat अकाउंट खोलना चाहते हैं।
- ✓जब आप पूछना चाहते हैं कि ऑनलाइन मिला dual-open तरीका भरोसेमंद है या नहीं।
- ✓जब आप दूसरी WeChat कॉपी का आइकन किसी और रंग में बदलना चाहते हैं।
Skill का लिंक
https://github.com/mcncarl/yichen-skills/blob/main/yichen-mac-wechat-dual-open/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे Mac पर WeChat की दूसरी ऐप बनाइए, ताकि मैं अपने निजी अकाउंट के साथ-साथ अपने कार्य अकाउंट में लॉगिन कर सकूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आपका एजेंट WeChat ऐप की कॉपी बनाता है, केवल कॉपी का आइडेंटिफ़ायर बदलता है, और उसे फिर से साइन करता है। फिर वह ऐप आपके लिए छोड़ देता है, क्योंकि एजेंट WeChat कभी खुद नहीं चलाता।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Mac WeChat Dual Open
Core Judgment
Prefer the copy + bundle id + ad-hoc signing method over injection/tweak tools when the user wants a cleaner second WeChat:
- Copy
/Applications/WeChat.appto a user-owned app such as~/Applications/WeChat-2.app. - Change only the copy's
CFBundleIdentifier, usually tocom.tencent.xin2. - Re-sign the copy with
codesign --force --deep --sign -. - Stop and have the user open the prepared copy manually. The agent never launches WeChat.
This is generally workable, but not permanent. Updates, push notifications, keychain isolation, Gatekeeper/signing policy, and Tencent-side app checks can break or degrade it. Read references/reliability-and-risks.md when evaluating a public tutorial or explaining tradeoffs.
Prerequisites
- macOS 12+ with WeChat installed at
/Applications/WeChat.app - Python 3.10+ (system python works)
- Pillow: required for
recolor-icon. Install withpip3 install Pillowif missing. - Xcode Command Line Tools:
xcode-select --installprovidescodesign,iconutil,sips.
Locating the Script
This skill contains a helper script at scripts/wechat_dual_open.py relative to the skill directory. Different agents install skills to different paths:
- Claude Code:
~/.claude/skills/yichen-mac-wechat-dual-open/scripts/wechat_dual_open.py - Codex CLI:
~/.codex/skills/yichen-mac-wechat-dual-open/scripts/wechat_dual_open.py - Others: locate the skill directory by finding
SKILL.mdforyichen-mac-wechat-dual-open
When executing commands, construct the script path dynamically:
# Auto-detect: find the script regardless of agent platform
SKILL_DIR="$(dirname "$(find ~ -path '*/yichen-mac-wechat-dual-open/SKILL.md' -maxdepth 4 2>/dev/null | head -1)")"
SCRIPT="$SKILL_DIR/scripts/wechat_dual_open.py"
python3 "$SCRIPT" status
Or if you know your skill path, use it directly:
SCRIPT="<skill-dir>/scripts/wechat_dual_open.py"
python3 "$SCRIPT" status
Quick Commands
python3 "$SCRIPT" status
python3 "$SCRIPT" create
python3 "$SCRIPT" set-language --languages zh-Hans en
python3 "$SCRIPT" recolor-icon --blue "#1296db"
# The user opens ~/Applications/WeChat-2.app manually; the agent never runs launch.
Default paths:
- Source app:
/Applications/WeChat.app - Second app:
~/Applications/WeChat-2.app - Second bundle id:
com.tencent.xin2
Pass --source-app, --target-app, or --bundle-id when the user's setup differs.
Workflow
- Run
statusfirst. Confirm the source version, target path, bundle ids, active processes, and whether an existingWeChat-2.appis already present. - If no second app exists, run
create. If it exists, avoid deleting it. Userepairto re-apply bundle id, language preference, signing, registration, and cache refresh. - If the second instance appears in English, run
set-language --languages zh-Hans en, then restart the second WeChat. - If the user wants a blue icon, run
recolor-icon. This extracts the original WeChat icon, changes green pixels to blue in HSV/HLS space, preserves white chat bubbles and shape, replaces both outer and embedded icon files, removesCFBundleIconNameto avoid staleAssets.cargreen icons, clears Finder custom-icon detritus before signing, re-signs, adds a Finder custom icon back, and refreshes caches. If the Finder custom icon tools (DeRez,Rez,SetFile) are unavailable on newer macOS, the script skips that step gracefully — icns replacement alone is usually sufficient. - Stop before launch. Tell the user to open
~/Applications/WeChat-2.appmanually. If Dock still shows the old icon, the user may quit and reopen it; the agent must not control either WeChat app.
Icon Pitfalls
Do not stop after replacing only Contents/Resources/AppIcon.icns. WeChat also has:
Contents/MacOS/WeChatAppEx.app/Contents/Resources/app.icnsContents/Resources/Assets.carwithAppIconrenditions- Finder/Dock/LaunchServices icon caches
For reliable Finder "Applications" display, the script also writes a Finder custom icon to WeChat-2.app/Icon\r and sets the Custom Icon attribute. If the user says "Finder still shows green," inspect the real selected path with Finder or open -R ~/Applications/WeChat-2.app; they may be looking at /Applications/WeChat.app or a cached Dock/Launchpad tile.
Important ordering: codesign must run before adding the Finder custom icon, or after clearing it. Otherwise macOS can reject the bundle w
अक्सर पूछे जाने वाले सवाल
क्या अपडेट के बाद दूसरी कॉपी काम करती रहेगी?
हमेशा नहीं। स्किल कहती है कि अपडेट, नोटिफ़िकेशन और ऐप की जाँच इसे तोड़ या कमज़ोर कर सकते हैं।
क्या एजेंट मेरे लिए WeChat खोलता है?
नहीं। तैयार की गई कॉपी आप खुद खोलते हैं।
क्या मूल WeChat ऐप बदलती है?
नहीं। केवल कॉपी का आइडेंटिफ़ायर बदला जाता है, इसलिए मूल ऐप जैसी थी वैसी रहती है।
जानकारी
लेखक का मूल विवरण
Create, inspect, repair, and polish a second WeChat app on macOS by copying WeChat, changing the bundle identifier, ad-hoc re-signing, preparing it for the user to open manually, setting Chinese language preferences, and recoloring only the copied app icon from WeChat green to blue. Use when the user asks whether Mac WeChat dual-open methods from X/Twitter or scripts are reliable, asks to prepare a second WeChat app, fix WeChat-2 language/icon/cache issues, or make the copied app visually distinct without installing third-party injection tools. Never launch or control WeChat.
repo: mcncarl/yichen-skills
लोकप्रियता
- GitHub स्टार
- 5.2k
- रैंकिंग में स्थान
- #15037
- लाइसेंस
- —
- अपडेट की गई
- 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-wechat-mp-batch-exporter
5.2kयह आपके एजेंट को WeChat सार्वजनिक अकाउंट के लेखों का टेक्स्ट, लेखों की सूची और पढ़ने व टिप्पणी की संख्या डाउनलोड करके लोकल संग्रह में सहेजने देती है।
मिलती-जुलती skills
blucli
394kयह आपके एजेंट को blu कमांड से Bluesound और NAD स्पीकर खोजने, चलाने, रोकने, समूह बनाने और वॉल्यूम बदलने में मदद करती है।
camsnap
394kयह आपके एजेंट को नेटवर्क कैमरों और लोकल webcam से स्नैपशॉट, छोटी क्लिप या मोशन इवेंट लेने में मदद करती है, जो आपने सेट किए हों।
eightctl
394kयह आपके एजेंट को Eight Sleep pod की जांच और नियंत्रण करने में मदद करती है, जिसमें तापमान, अलार्म और नींद की समय-सारणी शामिल हैं।