Preface¶
After connecting an Agent to the WeChat channel, the channel status in the interface often shows ON / OK, but sending messages yields no reply. The log may contain only weixin monitor started, followed by an error like createTypingCallbacks is not a function, or no inbound records appear at all. These kinds of issues are often scattered across plugin import paths, the channels and plugins.allow configuration in openclaw.json, and whether the gateway was restarted, making manual troubleshooting costly. Below is an introduction to the “WeChat Channel Connection skill” on SkillHub (coordinate @user_e784c2fd/weixin-link), which writes symptoms, log keywords, and fix steps into a standard SKILL.md and comes with a one-click script, so it can be handed to Agents like Cursor to execute step by step.
What Is This¶
The “WeChat Channel Connection skill” is an ops-type Skill published on SkillHub by community publisher user_e784c2fd (category business-ops, current version 1.0.1, community source). The SkillHub page intro contains only a one-line placeholder text “12”; its actual capabilities are defined by the SKILL.md, README.md, and fix-weixin.sh inside the package: targeting the openclaw-weixin WeChat channel of OpenClaw, assuming scan-code login has already been completed, it handles the common failure of “the channel displays normally but messages cannot be received or replied to.”
Platform metadata shows: requires_api_key=false, so installing this Skill itself does not require an additional API Key. SkillHub statistics (based on crawled data): rating 100000, approximately 1410 downloads.
Core Features¶
After verifying the contents of the Skill package, the confirmed capabilities are as follows.
- Problem symptoms and trigger phrases: summarizes behaviors such as no response, import errors, and no inbound logs, and lists user descriptions suitable for enabling this Skill (e.g., “The WeChat channel is configured but there’s no reply”).
- Step-by-step diagnosis: uses
openclaw statusto view Channels; filtersweixinin the current day’s log/tmp/openclaw/openclaw-YYYY-MM-DD.log, and checks against patterns such ascreateTypingCallbacks is not a function,weixin not configured: missing token,plugins.allow is empty. - Fix A: plugin import path: for
@tencent-weixin/openclaw-weixin@1.0.0,createTypingCallbacksis imported fromopenclaw/plugin-sdk/channel-runtimeinstead of the incorrectcommand-authmodule (file~/.openclaw/extensions/openclaw-weixin/src/messaging/process-message.ts). - Fix B/C: configure
openclaw.json: based on~/.openclaw/openclaw-weixin/accounts.json, writechannels.openclaw-weixin.accounts.<account ID>.enabled, and setplugins.allowto includeopenclaw-weixin. - Restart and verification: after
openclaw gateway restart, checkweixin monitor started, inbound/outbound logs, and the channel status. - Bundled script:
fix-weixin.shin the directory chains backup, import fixes, config writing, restart, and simple verification (depends on OpenClaw and the WeChat plugin already being installed on the machine).
The README states it applies to OpenClaw 2026.3.x and above and WeChat plugin @tencent-weixin/openclaw-weixin@1.0.0, and provides links to the official documentation and the plugin repository.
Installation and Activation¶
Install the SkillHub CLI (if not already installed)¶
Check or install the CLI according to the SkillHub installation instructions:
command -v skillhub && skillhub --version
If it is not installed, you can run the full installation script (requires network permissions):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
Install This Skill¶
When installing, you must use --dir to point to the current Agent’s skills directory; otherwise it will land in ./skills/ by default and may not be recognized. The commonly used path for Cursor is ~/.cursor/skills/.
skillhub install weixin-link --namespace user_e784c2fd --dir ~/.cursor/skills/
The equivalent coordinate form is @user_e784c2fd/weixin-link. The official page also supports handing the following prompt to an AI to complete the installation according to the install documentation:
Please install `@user_e784c2fd/weixin-link` according to https://skillhub.cn/install/skillhub.md.
Clients such as Claude Code and Codex have different skills directories (e.g., ~/.claude/skills/, ~/.codex/skills/); just replace --dir with the corresponding path, keeping the command form the same. After installation, refresh or restart the Agent as required by each client so the Skill is loaded.
Typical Usage¶
Prerequisites¶
The Skill documentation requires completing WeChat channel login first, with the account written into ~/.openclaw/openclaw-weixin/accounts.json:
openclaw channels login --channel openclaw-weixin
If the channel status is not ON / OK, handle login first before proceeding to the fix workflow.
Have the Agent Diagnose According to the Skill¶
When the user-side description matches “configured normally but no reply,” after reading SKILL.md, the Agent can first run status and log checks:
openclaw status 2>&1 | grep -A10 "Channels"
cat /tmp/openclaw/openclaw-$(date +%Y-%m-%d).log | grep -i "weixin" | tail -30
Branch into fix A/B/C based on the logs, and finally restart the gateway:
openclaw gateway restart
Use the Bundled One-Click Script¶
Place the fix-weixin.sh from the Skill installation directory into an executable location (or run it directly in that directory), for example:
chmod +x fix-weixin.sh
./fix-weixin.sh
The script modifies process-message.ts, updates openclaw.json, restarts the gateway, and searches the logs for weixin monitor started. During verification, send a test message from WeChat, then check whether text sent OK appears in the outbound logs (consistent with the verification section in SKILL.md).
Multi-Account and Session Isolation (Optional)¶
For multiple accounts, set enabled: true for each account under channels.openclaw-weixin.accounts. If you need to isolate DM sessions by “channel + peer,” the Skill documentation gives:
openclaw config set session.dmScope "per-channel-peer"
Applicable Scenarios and Notes¶
Who it’s for: developers or operators who have connected openclaw-weixin on OpenClaw and completed scan-code login, but the message pipeline is not working; who want to solidify troubleshooting steps for the Agent to execute instead of digging through logs and guessing configuration every time.
Limitations and notes:
- This Skill addresses the import and configuration issues listed in the documentation; it does not replace scenarios such as WeChat-side account invalidation or token expiration. The documentation recommends re-running
openclaw channels login --channel openclaw-weixinwhensession expiredappears. - The
sed -i ''example inSKILL.mdtargets macOS BSD sed; on Linux it is safer to use the bundledfix-weixin.shor the Node replacement snippet in the documentation, to avoid sed syntax differences. - Before modifying
openclaw.jsonand the plugin source code, the script creates backups; in production environments it is still recommended to verify yourself whetherjq/config merging overwrites your existingchannelsorpluginsfields. - The SkillHub listing intro is too short; before choosing it, use the
SKILL.mdinside the installation package as the source of truth.
Conclusion¶
The “WeChat Channel Connection skill” writes the troubleshooting path for OpenClaw’s WeChat channel “shows normal but no response” into a reusable Agent Skill, and comes with an automatic fix script, making it suitable as a business-ops skill in environments like Cursor. To view metadata or installation entry points, use:
- API page: https://api.skillhub.cn/user_e784c2fd/weixin-link
- SkillHub page: https://www.skillhub.cn/skills/user_e784c2fd/weixin-link
For deeper channel documentation, see the OpenClaw docs: https://docs.openclaw.ai/channels/openclaw-weixin