About wechat-multi
wechat-multi is a skill for managing multiple WeChat instances on macOS through a shell script. It maps natural-language requests to commands for opening, rebuilding, and closing app copies.
Key features
- 01Open two or a specified number of instances
- 02Open an additional app copy
- 03Rebuild copies after WeChat updates
- 04Close all WeChat instances
- 05Repair copies with signing errors
Use cases
- 01Run multiple WeChat instances at once
- 02Rebuild app copies after an update
- 03Recover copies that show signing errors
- 04Close all running WeChat instances
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ joeseesun/ qiaomu-wechat-multi --skill wechat-multiAfter installing, type/wechat-multiin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
LICENSEREADME.mdscripts/wechat-multi.shDetails
From the project READMEWeChat Multi-Instance (小绿书)
命令映射
脚本路径:~/.claude/skills/wechat-multi/scripts/wechat-multi.sh(以下简称 SCRIPT)
首次使用
需要 sudo 权限。建议配置 sudoers 免密码,否则每次会弹出密码输入:
echo "$(whoami) ALL=(ALL) NOPASSWD: $(which bash) $(ls ~/.claude/skills/wechat-multi/scripts/wechat-multi.sh)" | sudo tee /etc/sudoers.d/wechat-multi
命令映射
| 用户说 | 执行命令 |
|---|---|
| "打开两个微信" / "微信双开" | sudo $SCRIPT auto --force |
| "打开N个微信" / "微信多开N个" | sudo $SCRIPT multi N --force |
| "再开一个微信" | open -n /Applications/小绿书.app |
| "微信更新后重建" / "修复微信多开" | sudo $SCRIPT rebuild --force |
| "关闭所有微信" | sudo $SCRIPT kill |
注意事项
- 微信更新后副本会失效,运行
rebuild重建 - 副本名为
小绿书.app(双开)或小绿书1.app、小绿书2.app...(多开) - 如果提示签名错误,也用
rebuild修复
Comments
Markdown supported