Yichen Mac Wechat Dual Open logo

Yichen Mac Wechat Dual Open

CommunityPopular
mcncarl
yichen-mac-wechat-dual-open

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.

Overview

Publishermcncarl
Repositoryyichen-skills
Skill nameyichen-mac-wechat-dual-open
Stars
3.3K
Forks
1.4K
Bundled files
3
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by mcncarl on GitHub. Read the source before you install it.

Installation

Install the Yichen Mac Wechat Dual Open AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mcncarl/yichen-skills.git /tmp/yichen-skills
mkdir -p .claude/skills
cp -r /tmp/yichen-skills/yichen-mac-wechat-dual-open .claude/skills/yichen-mac-wechat-dual-open
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Yichen Mac Wechat Dual Open in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Yichen Mac Wechat Dual Open on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Yichen Mac Wechat Dual Open is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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:

  1. Copy /Applications/WeChat.app to a user-owned app such as ~/Applications/WeChat-2.app.
  2. Change only the copy's CFBundleIdentifier, usually to com.tencent.xin2.
  3. Re-sign the copy with codesign --force --deep --sign -.
  4. 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 with pip3 install Pillow if missing.
  • Xcode Command Line Tools: xcode-select --install provides codesign, 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.md for yichen-mac-wechat-dual-open

When executing commands, construct the script path dynamically:

bash
# 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:

bash
SCRIPT="<skill-dir>/scripts/wechat_dual_open.py"
python3 "$SCRIPT" status

Quick Commands

bash
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

  1. Run status first. Confirm the source version, target path, bundle ids, active processes, and whether an existing WeChat-2.app is already present.
  2. If no second app exists, run create. If it exists, avoid deleting it. Use repair to re-apply bundle id, language preference, signing, registration, and cache refresh.
  3. If the second instance appears in English, run set-language --languages zh-Hans en, then restart the second WeChat.
  4. 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, removes CFBundleIconName to avoid stale Assets.car green 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.
  5. Stop before launch. Tell the user to open ~/Applications/WeChat-2.app manually. 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.icns
  • Contents/Resources/Assets.car with AppIcon renditions
  • 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 with resource fork, Finder information, or similar detritus not allowed.

Safety

Do not modify /Applications/WeChat.app unless the user explicitly asks. Keep all changes scoped to the second app.

Before deleting/replacing an existing second app, ask for action-time confirmation because deleting local files is risky. Prefer repair-in-place.

Do not run pasted one-line shell scripts from social media. Recreate the simple operations locally or use the bundled script so the exact changes are inspectable.

Never launch, open, quit, click, or otherwise control either WeChat app. The bundled launch command is disabled; opening the prepared copy is always a user-only step.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Yichen Mac Wechat Dual Open AI skill do?

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.

Why use Yichen Mac Wechat Dual Open on TypingMind?

Because you install it once and use it with any model. Yichen Mac Wechat Dual Open is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Yichen Mac Wechat Dual Open in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mcncarl/yichen-skills/tree/main/yichen-mac-wechat-dual-open. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Yichen Mac Wechat Dual Open?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Yichen Mac Wechat Dual Open?

As many as you like. As long as a model supports skills, you can use Yichen Mac Wechat Dual Open with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Yichen Mac Wechat Dual Open AI skill free?

It is published on GitHub by mcncarl. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇