yichen-mac-wechat-dual-open
Qué hace
Crea una copia de WeChat con un identificador de paquete distinto, la vuelve a firmar y puede cambiar el color de su ícono para distinguir fácilmente las dos apps. Es para usuarios de Mac que quieren iniciar sesión en dos cuentas de WeChat.
Cuándo usarla
- ✓Cuando quieres abrir dos cuentas de WeChat en tu Mac al mismo tiempo.
- ✓Cuando quieres saber si un método de doble apertura que encontraste en internet es confiable.
- ✓Cuando quieres cambiar el color del ícono de la segunda copia de WeChat.
Link de la skill
https://github.com/mcncarl/yichen-skills/blob/main/yichen-mac-wechat-dual-open/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Crea una segunda app de WeChat en mi Mac para iniciar sesión en mi cuenta de trabajo junto a mi cuenta personal.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente copia la app de WeChat, cambia solo el identificador de la copia y la vuelve a firmar. Luego te deja abrirla a ti, ya que el agente nunca inicia WeChat.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿La segunda copia seguirá funcionando después de las actualizaciones?
No siempre. La skill indica que las actualizaciones, las notificaciones y las comprobaciones de la app pueden romperla o debilitarla.
¿El agente abre WeChat por mí?
No. Tú abres la copia preparada.
¿Cambia la app original de WeChat?
No. Solo se cambia el identificador de la copia, así que la app original queda como está.
Detalles
Descripción original del autor
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
Popularidad
- Estrellas en GitHub
- 5,2 mil
- Posición en el ranking
- #15037
- Licencia
- —
- Actualizada
- 1/11/2026
Comentarios
- …
Más skills de este repositorio
yichen-grok-consult
5,2 milPermite que tu agente pida a Grok de xAI una segunda opinión, una revisión o una búsqueda en la web o en X, mientras tu IA principal mantiene el control.
yichen-chatgpt-web-research
5,2 milPermite que tu agente use tu cuenta de sitio web de ChatGPT con sesión iniciada, incluidos los modelos Pro, para hacer investigación de productos, mercados o competidores.
yichen-codex-chatgpt
5,2 milPermite que tu agente trabaje con ChatGPT como diseñador y revisor de un proyecto local, mientras Codex escribe y prueba el código.
yichen-wechat-mp-batch-exporter
5,2 milAyuda a tu agente a descargar el texto de artículos de cuentas públicas de WeChat, las listas de artículos y las cifras de lectura y comentarios en un archivo local.
Skills parecidas
blucli
394 milAyuda a tu agente a buscar, reproducir, pausar, agrupar y ajustar el volumen de los altavoces Bluesound y NAD con el comando blu.
camsnap
394 milAyuda a tu agente a capturar fotos, clips cortos o eventos de movimiento de cámaras de red y cámaras web locales que hayas configurado.
eightctl
394 milAyuda a tu agente a consultar y controlar un pod de Eight Sleep, incluida su temperatura, sus alarmas y sus horarios de sueño.