SkillsReviewed · nanocoai

NanoClaw add-wechat

NanoClaw add-wechat is an installation skill for operators who want AI agents to answer personal WeChat messages, but QR login must be followed by connecting a chat to an agent on a running NanoClaw host. It provides instructions, a TypeScript routing helper and removal guidance; the actual channel adapter is fetched separately from the repository's channels branch.

Researched 17 Nov 2026

In short.

NanoClaw add-wechat is a skill for people connecting NanoClaw AI agents to personal WeChat accounts, but logging in alone will not make an agent respond. The documented installation copies an adapter from a separate channels branch, installs wechat-ilink-client@0.1.0 and uses QR authentication. Its included helper connects an incoming chat to an existing agent group through the running host's command-line interface. The adapter and dependency implementations are outside the supplied files, and no execution results establish successful authentication or delivery. Claims about free access, account eligibility and freedom from bans are not independently established.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete supplied selected folder: .claude/skills/add-wechat/SKILL.md, scripts/wire-dm.ts and REMOVE.md, plus the repository-root LICENSE notice outside that folder, at commit c0ec12952e8d9a4ebbd869015010daac804d5d11. The channel adapter and registration test on the channels branch, wechat-ilink-client implementation, NanoClaw host internals and Tencent documentation are excluded because their contents were not supplied. No code or commands were executed. Installation success, authentication, delivery, approval behavior, performance, account eligibility and total cost remain unverified or unknown.

The overview

Identity

The resource is the .claude/skills/add-wechat folder in nanocoai/nanoclaw. It contains SKILL.md, scripts/wire-dm.ts and REMOVE.md. Its purpose is to add a personal WeChat messaging channel to NanoClaw and connect incoming conversations to AI agents.

The original project location is [https://github.com/nanocoai/nanoclaw/tree/main/.claude/skills/add-wechat]. The instructions distinguish personal WeChat integration from WeCom and Official Account integrations. This folder supplies installation and configuration material rather than a standalone chatbot or model.

Assessment

This is a practical fit for an existing NanoClaw operator who wants WeChat as an interface to an agent and can manage dependencies, environment settings and service restarts. The instructions cover installation, authentication, conversation routing, session recovery and removal.

The strongest implementation evidence concerns the routing helper: its source shows how it selects a chat and agent group and invokes NanoClaw's CLI. Successful WeChat connectivity remains unverified because the adapter, client library and execution results are absent.

Users

The intended users are NanoClaw operators who want personal WeChat contacts or group chats to reach an existing agent. Beginners need comfort with a terminal, project files and service logs; experienced developers can inspect the TypeScript helper and use explicit identifiers for automation.

Operators accepting messages from unfamiliar accounts need to understand the public, strict and request_approval sender policies. The helper preserves the adapter's existing policy unless an override is supplied, and the actual adapter default is not established by these files.

Capabilities

The documentation describes personal-account authentication by QR scan, incoming messages through long-polling and separate messaging-group records for direct messages and rooms. It says no public webhook URL or preconfigured API key is required.

The included helper supports interactive chat and agent selection, explicit platform and agent identifiers, optional sender-policy changes and shared or per-thread session settings. Without an explicit chat identifier, non-interactive operation selects the most recently created unwired chat. The instructions state that WeChat has no reply threads; accepting a per-thread setting does not establish native threading support.

Using it

Requirements

The documented prerequisites include Node.js 20 or newer, a personal WeChat account, its mobile app and a phone capable of scanning the login QR code. Installation also needs a NanoClaw checkout, access to a remote carrying the channels branch, pnpm and the project's TypeScript tooling.

Routing requires a running NanoClaw host because its CLI connects over a Unix socket and has no offline mode. At least one agent group must exist, and another WeChat account must send the initial message to create the chat record. Restart examples cover Linux user services and macOS launchd; broader operating-system compatibility is not established.

Mechanism

According to the instructions, the adapter authenticates through Tencent's iLink Bot API and receives messages through long-polling. It saves credentials in data/wechat/auth.json and the polling cursor in data/wechat/sync-buf.txt. These files serve different purposes: credentials maintain authentication, while the cursor tracks message retrieval.

The helper lists WeChat messaging groups and existing routes through NanoClaw's JSON CLI. It then creates a route from a selected chat to an agent group. Engagement settings come from the host's channel defaults. If requested, a separate command changes the sender policy after the route has been created.

Setup

The documented installation copies src/channels/wechat.ts and its registration test from the channels branch, adds import './wechat.js'; to the channel index and installs wechat-ilink-client@0.1.0. It then calls for a build and a targeted registration test. No passing results are supplied.

Authentication requires WECHAT_ENABLED=true, a service restart and approval of the QR login on the phone. The QR URL is documented as appearing in logs and data/wechat/qr.txt. The saved auth.json file contains credentials and should be kept out of version control.

After another account sends the initial message, the operator runs the routing helper and selects an agent group. A subsequent message is the documented manual delivery check; QR authentication by itself does not establish that routing works.

Example

Suppose an incoming message has already created the chat record wechat:wxid_xxxxx, and the intended agent group is ag-xxxxx. The documented command is pnpm exec tsx .claude/skills/add-wechat/scripts/wire-dm.ts --platform-id wechat:wxid_xxxxx --agent-group ag-xxxxx --non-interactive. Both identifiers are placeholders that must be replaced with existing values.

The command requests a shared session and leaves the current sender policy unchanged. Adding --sender-policy request_approval requests that policy after routing is created. The expected outcome is that later messages reach the selected agent, subject to the configured policy; no observed delivery result is available.

Assessment & evidence

Limitations

The adapter and registration-test source are fetched from another branch and are not included here. The documented test checks channel registration and module loading; even a passing result would not establish QR authentication or end-to-end message delivery. Attachment support, throughput, latency, regional availability and numerical rate limits are unknown.

The instructions allow only one instance per authentication token. Expired sessions require a new QR login. Deleting the sync cursor is documented as replaying recent history, so it is not an ordinary recovery step. Shared sessions are the documented default for each chat.

The source claims compatibility with any personal WeChat account and no automation-related ban risk. Neither universal eligibility nor that account-safety guarantee is established by Tencent documentation or operational evidence in the supplied material.

Design tradeoffs

The dependency is pinned to version 0.1.0, but the adapter is copied from the moving channels branch without a commit specified in the installation instructions. Reproducing the same installation therefore requires retaining the adapter revision as well as the skill revision. Compatibility between those components is not established.

Using the host CLI keeps routing defaults in the host instead of duplicating database logic in the helper. However, route creation and the optional sender-policy update are separate operations. From their order in the source, a failed policy update could leave an existing route using the inherited policy; there is no rollback in the helper. This is a source-based inference, not an observed failure.

Explicit chat and agent identifiers make automated use more predictable. Without them, non-interactive mode can choose the most recent unwired chat and automatically select a sole agent group, which may differ from the operator's intended destination.

Alternatives

The instructions name wechaty and PadLocal as comparison points, but provide no independent comparison of their current capabilities, terms, reliability or prices. They also distinguish WeCom and Official Account integrations, which address different account types; no implementations for those paths are included.

For an already discovered WeChat chat, the documented alternative to the helper is ncl wirings create --messaging-group-id <mg-id> --agent-group-id <ag-id> --session-mode shared. This still requires the running host and existing identifiers, and does not itself perform the helper's optional sender-policy update.

Evidence

The available source includes installation instructions, the complete supplied routing helper, removal instructions and the repository-root licence. Fixed source locations include [https://raw.githubusercontent.com/nanocoai/nanoclaw/c0ec12952e8d9a4ebbd869015010daac804d5d11/.claude/skills/add-wechat/SKILL.md] and [https://raw.githubusercontent.com/nanocoai/nanoclaw/c0ec12952e8d9a4ebbd869015010daac804d5d11/.claude/skills/add-wechat/scripts/wire-dm.ts].

The helper supports conclusions about argument handling, chat selection and command ordering. Statements about API behavior, authentication, message delivery and approval cards rely on the instructions because the relevant adapter and host implementations are absent. No installation, build, test, authentication or delivery was executed.

Access & freshness

Costs

The instructions describe the integration as free and say no paid PadLocal token is needed. They also describe QR authentication without a preconfigured API key. Tencent pricing, quotas and access terms are not supplied, so those claims do not establish a verified zero-cost service.

Total operating cost is unknown. The evidence gives no hosting prices, agent-model charges, dependency fees or usage-based estimates. There are no measurements from which to estimate cost per message.

Rights

The repository-root notice is the MIT License, copyright 2026 Gavriel. It permits use, modification, redistribution and sale of the software and associated documentation, provided the copyright and permission notice accompanies copies or substantial portions. It supplies no warranty. The captured notice is available at [https://raw.githubusercontent.com/nanocoai/nanoclaw/c0ec12952e8d9a4ebbd869015010daac804d5d11/LICENSE].

That notice does not establish the separate licence terms of wechat-ilink-client or permission under Tencent's service terms. The skill's statements about official API access and account safety are not substitutes for those terms.

Freshness

The supplied snapshot is commit c0ec12952e8d9a4ebbd869015010daac804d5d11, captured on 2026-11-17 at 06:40:04.508 UTC. This identifies the source version rather than a release date. The files do not establish the latest upstream release or a maintenance schedule.

The instructions pin wechat-ilink-client@0.1.0 but fetch the adapter from a separately changing branch. Current package availability, adapter compatibility and Tencent API behavior are unknown beyond the supplied snapshot.

Next steps

Before adoption, inspect the actual adapter and client dependency, retain their versions and confirm account eligibility and service terms. Choose the intended chat, agent and sender policy explicitly. Follow the documented build and registration checks, then verify a controlled message exchange separately from QR login.

During operation, protect auth.json, avoid simultaneous use of one token and preserve the sync cursor unless replay is intended. If a sender-policy command fails, inspect the resulting route and policy before accepting further messages.

Removal instructions delete the adapter, registration import, dependency, enablement setting and saved authentication and sync state, followed by a rebuild and restart. Messaging groups, routes and conversation history are deliberately retained. Removing the integration therefore does not by itself erase those records.

Evidence for this report

.claude/skills/add-wechat/REMOVE.mdselected · checked 2026-11-17
.claude/skills/add-wechat/SKILL.mdselected · checked 2026-11-17
.claude/skills/add-wechat/scripts/wire-dm.tsselected · checked 2026-11-17
LICENSEnotice · checked 2026-11-17