Claude Skill MartBrowse skillsWhat is a Skill?
Back to list

Add WeChat Channel (add-wechat)

Wires a personal WeChat account into NanoClaw using Tencent's official iLink Bot API with QR-code login.

AutomationIntermediate30,47112,865AI score 7/10Last updated: Aug 9, 2026

What it does

Automates the full setup of a personal WeChat channel for a NanoClaw bot:

  • Pulls the WeChat adapter and its registration test from the channels branch into your checkout
  • Appends the self-registration import to src/channels/index.ts and installs pinned wechat-ilink-client@0.1.0
  • Runs build + registration test so you know the wechat channel really landed in the registry
  • Handles auth with no API keys — a QR code scan from your phone, credentials stored in data/wechat/auth.json
  • Uses the bundled wire-dm.ts script to connect an incoming DM to a chosen agent group

Because it long-polls the first-party iLink API, there is no public webhook URL, no ToS/ban risk, and no paid PadLocal token like wechaty-based setups.

Who it's for

  • NanoClaw operators building a WeChat AI assistant or auto-reply bot
  • Teams supporting Chinese-speaking customers over WeChat
  • Home-server or intranet deployments that cannot expose a webhook domain
  • Intermediate users comfortable with git, pnpm, and restarting a systemd/launchd service

Examples

  1. Personal WeChat assistant — scan the QR to log in, wire your own DM to an agent group, and ask it for reminders or lookups from chat.
  2. Gated customer intake — leave unknown_sender_policy as request_approval so a stranger's first DM raises an approval card; approved users get replayed into the agent automatically.
  3. Session-expiry recovery — when logs show WeChat: session expired, delete data/wechat/auth.json, restart the service, and re-scan the QR exactly as documented.

· · · Install guide · · ·

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the .claude/skills/add-wechat folder from the GitHub repo nanocoai/nanoclaw into my ~/.claude/skills/add-wechat/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/nanocoai/nanoclaw.git && mkdir -p ~/.claude/skills && cp -r nanoclaw/.claude/skills/add-wechat ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and clone the project: git clone https://github.com/nanocoai/nanoclaw.git
  2. Copy the skill where Claude Code can find it: mkdir -p ~/.claude/skills && cp -r nanoclaw/.claude/skills/add-wechat ~/.claude/skills/
  3. Check prerequisites: Node.js >= 20, pnpm, a personal WeChat account with the mobile app, and a phone to scan a QR code.
  4. Start Claude Code from the NanoClaw project root and ask it to "add the WeChat channel (add-wechat)".
  5. Follow the steps it runs: git fetch origin channels → copy the adapter files → pnpm install wechat-ilink-client@0.1.0pnpm run build and the registration test until both are clean.
  6. Add WECHAT_ENABLED=true to .env, then restart the NanoClaw service (systemctl on Linux, launchctl on macOS).
  7. Open the QR URL printed in the logs or stored in data/wechat/qr.txt, scan it with WeChat, and approve. Never commit data/wechat/auth.json.
  8. Have another WeChat account message the bot, run pnpm exec tsx .claude/skills/add-wechat/scripts/wire-dm.ts to wire that DM to an agent group, then message again to confirm the agent replies.