add-wechat
Skill31k starsChanged 9 days agoMITView on GitHub
Add WeChat (personal) channel integration via Tencent's official iLink Bot API. Uses long-polling and QR scan — no webhook, no ToS risk, no paid token.
- Reads credentials
We split this skill into the rules it gives an agent
7 rules. 2 are common, 0 are distinctive, and 5 are very specific to this project.
2
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 14
No public webhook URL needed — uses long-poll
- Very specific: line 81
Run from your NanoClaw project root:
- Common: line 101
Use its built-in QR scanner (top-right "+" → Scan)
- Very specific: line 155
Only one instance can use a given token at a time: Don't run multiple NanoClaw instances pointing to the same data/wechat/auth.json.
- Very specific: line 156
Re-login on session expiry: if you see WeChat: session expired in logs, delete data/wechat/auth.json and restart — you'll be asked to …
- Very specific: line 162
If you're in the middle of /setup, return to the setup flow now.
- Very specific: line 175
post-install-wiring: Use the wire-dm.ts helper (see the "Wire your first DM" section above) if running this skill standalone.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Add WeChat Channel
Adds WeChat support via iLink Bot API — the first-party Tencent API for personal WeChat bots (different from WeCom / Official Account).
Why this is different from wechaty/PadLocal:
- Official Tencent API — no ToS violation, no ban risk
- Free — no PadLocal token required
- No public webhook URL needed — uses long-poll
- Works with any personal WeChat account
Prerequisites
- A personal WeChat account with the mobile app installed
- A phone to scan the QR code for login
- Node.js >= 20 (already required by NanoClaw)
Install
NanoClaw doesn't ship channels in trunk. This skill copies the WeChat adapter in from the channels branch.
1. Copy the adapter and its registration test
Fetch the channels branch from the configured remote that carries it, then
overwrite the skill-owned files with the canonical registry copies:
src/channels/wechat.ts
src/channels/wechat-registration.test.ts2. Append the self-registration import
Append to src/channels/index.ts (skip if the line is already present):
import './wechat.js';3. Install the library (pinned)
wechat-ilink-client@0.1.04. Build and validate
pnpm run buildpnpm exec vitest run src/channels/wechat-registration.test.tsBoth must be clean before proceeding. wechat-registration.test.ts is the one integration test: it imports the real channel barrel and asserts the registry contains wechat. It goes red if the import './wechat.js'; line is deleted or drifts, if the barrel fails to evaluate (so the channel genuinely would not register), or if wechat-ilink-client isn't installed (the import throws) — so it also implicitly verifies the dependency from step 4. Importing is safe: the adapter opens its long-poll connection only in setup() (at host startup), never at import.
End-to-end message delivery against a real WeChat account is verified manually once the service is running — see Credentials and Wire your first DM above.
Credentials
Unlike most channels, WeChat requires no pre-configured API keys. Auth happens via QR code scan from your phone.
1. Enable the channel
Add to .env:
WECHAT_ENABLED=true2. Start the service and scan the QR
Restart NanoClaw.
Run from your NanoClaw project root:
source setup/lib/install-slug.sh
systemctl --user restart $(systemd_unit) # Linux
# or
launchctl kickstart -k gui/$(id -u)/$(launchd_label) # macOSThe adapter will print a QR URL to the logs and save it to data/wechat/qr.txt:
tail -f logs/nanoclaw.log | grep WeChat
# or
cat data/wechat/qr.txtOpen the URL in a browser (it renders a QR code), then:
- Open WeChat on your phone
- Use its built-in QR scanner (top-right "+" → Scan)
- Approve the authorization on your phone
- Auth credentials are saved to
data/wechat/auth.json— do not commit this file
The bot is now connected as your WeChat account.
Wire your first DM
A successful QR login alone isn't enough — the adapter still needs to be wired to an agent group before it can respond.
Prerequisite: the host service must be running. The wire script creates the wiring through ncl, which talks to the running host over a Unix socket — there is no offline mode.
1. Trigger the first inbound message
Have a different WeChat account send a message to the bot account. This auto-creates a messaging_groups row with the sender's platform_id and the unknown_sender_policy the WeChat adapter declares.
2. Run the wire script
pnpm exec tsx .claude/skills/add-wechat/scripts/wire-dm.tsInteractive flow: the script lists all unwired WeChat messaging groups, asks which agent group to wire it to, and runs ncl wirings create — engage mode/pattern and priority come from the WeChat adapter's declared channel defaults, so a wiring created here matches one created by /manage-channels or the approval-card flow.
With request_approval as the sender policy, the next DM from a stranger fires an approval card to the admin — admin taps Approve/Deny, approved users are added as members and their queued message replays through the agent.
Non-interactive:
pnpm exec tsx .claude/skills/add-wechat/scripts/wire-dm.ts \
--platform-id wechat:wxid_xxxxx \
--agent-group ag-xxxxx \
--non-interactiveFlags:
--platform-id <id>— wire a specific messaging group (default: most recent unwired)--agent-group <id>— target agent group (default: prompt; auto-picked when only one exists)--sender-policy public|strict|request_approval— override the messaging group'sunknown_sender_policy(default: leave whatever the WeChat adapter declared when the row was auto-created)--session-mode shared|per-thread— defaultshared
Equivalent raw ncl invocation (host must be running):
ncl wirings create --messaging-group-id <mg-id> --agent-group-id <ag-id> --session-mode shared3. Test
Have the sender message the bot again — the agent should respond.
Operational notes
- Only one instance can use a given token at a time. Don't run multiple NanoClaw instances pointing to the same
data/wechat/auth.json. - Re-login on session expiry: if you see
WeChat: session expiredin logs, deletedata/wechat/auth.jsonand restart — you'll be asked to re-scan. - Sync cursor persistence:
data/wechat/sync-buf.txtholds the long-poll cursor. Deleting it replays recent history on next start; don't delete it in normal operation. - Account safety: this uses the official Tencent API, so account bans for bot automation aren't a risk. That said, don't spam — normal rate limits still apply.
Next Steps
If you're in the middle of /setup, return to the setup flow now.
Otherwise, restart the service to pick up the new channel and wiring.
Channel Info
- type:
wechat - terminology: WeChat has "contacts" (DMs) and "group chats" (rooms). Each DM or group is a separate messaging group.
- how-to-find-id: Send a message to the bot from the target account; the adapter auto-creates a messaging group and logs
WeChat inbound platformId=wechat:<id>. Usewechat:<user_id>for DMs,wechat:<group_id>for rooms. - admin-user-id: The operator's WeChat user_id (for
init-first-agent.ts --admin-user-id) is saved todata/wechat/auth.jsonasoperatorUserIdafter the QR scan. Read it withcat data/wechat/auth.json | jq -r .operatorUserIdand prefix withwechat:(i.e.wechat:<operatorUserId>). - supports-threads: no (WeChat has no reply threads)
- typical-use: Long-poll — the adapter holds a persistent connection to Tencent's iLink API and receives messages in real time. No webhook URL needed.
- default-isolation:
sharedsession mode per messaging group (DM or room). Usestrictsender policy if you want only specific users to reach the agent;publicopens it to anyone who messages the bot. - post-install-wiring: Use the
wire-dm.tshelper (see the "Wire your first DM" section above) if running this skill standalone. If running as part ofbash nanoclaw.sh,init-first-agent.tshandles wiring — just pass theplatform-idandadmin-user-idcaptured above.
Trending
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about qwibitai/nanoclaw
- Jordan Urbs“How to Use NanoClaw (Better Than OpenClaw?)”YouTube · Mar 6, 2026 · 30k views
- Yar Malik“OpenClaw vs ZeroClaw vs PicoClaw vs NullClaw vs NanoBot vs TinyClaw vs NanoClaw — Full Comparison”YouTube · Feb 27, 2026 · 9.8k views
- Aashish Pahwa“3 Free Alternatives To Openclaw”YouTube · Mar 11, 2026 · 3.2k views
- Mike's Ai Forge“NanoClaw + Docker: Build a 100% Secure AI Agent”YouTube · Mar 20, 2026 · 1.9k views
- Prism Labs“Anthropic Is Eating the OpenClaw Ecosystem (And They Know It)”YouTube · Mar 19, 2026 · 1.7k views
The biggest 5 of 79 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 79
Talked about on GitHub, YouTube, Bluesky and Hacker News (79 times).
On GitHub · 50
- Feb 22, 2026Nanoclaw needs a skill marketplace/registry — nanocoai/nanoclaw17 reactions · 9 comments
- Mar 6, 2026🦞 OpenClaw 生态日报 2026-03-06 — duanyytop/agents-radar3 reactions
- Mar 3, 2026🦞 OpenClaw 生态日报 2026-03-03 — duanyytop/agents-radar3 reactions · 1 comment
- Mar 25, 2026feature: make it possible to select alternatives for software we installing (e.g. for openclaw) — Osmantic/ODS2 reactions · 4 comments
- Mar 3, 2026🦞 OpenClaw 生态日报 2026-03-03 — duanyytop/agents-radar2 reactions
45 more on GitHub
- May 4, 2026NanoClaw — community-scripts/DevScripts1 reaction
- Mar 7, 2026🦞 OpenClaw 生态日报 2026-03-07 — duanyytop/agents-radar1 reaction
- Mar 2, 2026🦞 OpenClaw 生态日报 2026-03-02 — duanyytop/agents-radar1 reaction
- Feb 26, 2026🦞 OpenClaw 生态日报 2026-02-26 — duanyytop/agents-radar1 reaction
- Feb 22, 2026Research: Architecture for standalone agent app with model layer, agentic loops, and messaging integration — laurentenhoor/devclaw1 reaction · 3 comments
- Feb 20, 2026fix: signal active containers to close when a scheduled task is enqueued — nanocoai/nanoclaw1 reaction · 4 comments
- Feb 14, 2026[SECURITY] [Upstream PR #216] Secret sanitization bypass via /proc and Read tool — nanocoai/nanoclaw1 reaction · 1 comment
- Jul 27, 2026Weekly upstream sync 2026-07-27 — vweaver/nanoclaw0 reactions · 1 comment
- Jun 18, 2026[Security] Non-owner members can create persistent child agents without approval in NanoClaw owner-initialized groups — nanocoai/nanoclaw0 reactions
- Jun 14, 2026[Security] Local gateway approval bypass via unauthenticated loopback webhook — nanocoai/nanoclaw0 reactions
- May 19, 2026fix(webhook) + docs: восстановление webhook + откат NanoClaw v0.1 + research — botkin-health/Botkin0 reactions
- May 9, 2026Setup script silently deletes existing groups/*/CLAUDE.md without warning or backup — nanocoai/nanoclaw0 reactions
- May 6, 2026feat: add NanoClaw v2 script — community-scripts/DevScripts0 reactions · 1 comment
- May 6, 2026feat: add NanoClaw v2 script — community-scripts/DevScripts0 reactions · 1 comment
- May 4, 2026New Script: NanoClaw — community-scripts/DevScripts0 reactions · 1 comment
- Apr 29, 2026Research: Memory approach of common non-coding Agents — 8monkey-ai/hebo-platform0 reactions · 20 comments
- Apr 27, 2026feat(channels): agent-channels:{telegram,discord,slack} layers — minimal MIT-cribbed adapters — tangle-network/starter-foundry0 reactions · 2 comments
- Apr 19, 2026feat(setup): add register-task step (carry until qwibitai#1857 lands) — sagri-tokyo/nanoclaw0 reactions
- Mar 30, 2026NanoClaw の Fork とローカル初期セットアップ — Helicoir/nanoclaw0 reactions
- Mar 30, 2026Feature: Native typing indicator via iLink sendtyping API — WEIFENG2333/ilink-bot0 reactions
- Mar 30, 2026Feature: Native typing indicator via iLink sendtyping API — co-pine/wx-robot-ilink0 reactions
- Mar 25, 2026fix: LID JID fallback via senderPn, warn on unmatched messages — nanocoai/nanoclaw-whatsapp0 reactions · 1 comment
- Mar 24, 2026Setup: IPC fix + Dev Agent configuration — yaelandau22/nanoclaw0 reactions
- Mar 23, 2026🦞 Bản tin hàng ngày hệ sinh thái OpenClaw 2026-03-23 — compasify/agents-radar0 reactions
- Mar 22, 2026🦞 Bản tin hàng ngày hệ sinh thái OpenClaw 2026-03-22 — compasify/agents-radar0 reactions
- Mar 21, 2026🦞 Bản tin hàng ngày hệ sinh thái OpenClaw 2026-03-21 — compasify/agents-radar0 reactions
- Mar 20, 2026skill: add-group-persona — per-group agent personas from WhatsApp group description — nanocoai/nanoclaw-whatsapp0 reactions
- Mar 20, 2026🦞 Bản tin hàng ngày hệ sinh thái OpenClaw 2026-03-20 — compasify/agents-radar0 reactions
- Mar 19, 2026🦞 Bản tin hàng ngày hệ sinh thái OpenClaw 2026-03-19 — compasify/agents-radar0 reactions
- Mar 18, 2026Prefer injected credentials and preserve service env — nanocoai/nanoclaw0 reactions · 2 comments
- Mar 18, 2026## Summary — Shinogreat/docs0 reactions
- Mar 17, 2026Add image support — send and receive images via Telegram — kylenessen/nanoclaw0 reactions
- Mar 16, 2026🦞 Bản tin hàng ngày hệ sinh thái OpenClaw 2026-03-16 — compasify/agents-radar0 reactions
- Mar 15, 2026🦞 Bản tin hàng ngày hệ sinh thái OpenClaw 2026-03-15 — compasify/agents-radar0 reactions
- Mar 14, 2026🦞 Bản tin hàng ngày hệ sinh thái OpenClaw 2026-03-14 — compasify/agents-radar0 reactions
- Mar 13, 2026🦞 Bản tin hàng ngày hệ sinh thái OpenClaw 2026-03-13 — compasify/agents-radar0 reactions
- Mar 12, 2026🦞 Bản tin hàng ngày hệ sinh thái OpenClaw 2026-03-12 — compasify/agents-radar0 reactions
- Mar 11, 2026🦞 Bản tin hàng ngày hệ sinh thái OpenClaw 2026-03-11 — compasify/agents-radar0 reactions
- Mar 10, 2026🦞 Bản tin hàng ngày hệ sinh thái OpenClaw 2026-03-10 — compasify/agents-radar0 reactions
- Mar 9, 2026🦞 Bản tin hàng ngày hệ sinh thái OpenClaw 2026-03-09 — compasify/agents-radar0 reactions
- Mar 8, 2026🦞 Bản tin hàng ngày hệ sinh thái OpenClaw 2026-03-08 — compasify/agents-radar0 reactions
- Mar 7, 2026🦞 OpenClaw 生态日报 2026-03-07 — compasify/agents-radar0 reactions
- Mar 5, 2026fix: Expose ANTHROPIC_MODEL from .env to agent — nanocoai/nanoclaw0 reactions · 1 comment
- Mar 4, 2026持续跟进前沿技术更新,不断优化marrow-core — zrr1999/marrow-core0 reactions
- Mar 3, 2026SKILL: unified channel media support (2-way, lazy retrival) — nanocoai/nanoclaw0 reactions · 3 comments
On YouTube · 22
- Mar 6, 2026How to Use NanoClaw (Better Than OpenClaw?) — Jordan Urbs30k views · 43 comments
- Feb 27, 2026OpenClaw vs ZeroClaw vs PicoClaw vs NullClaw vs NanoBot vs TinyClaw vs NanoClaw — Full Comparison — Yar Malik9.8k views · 33 comments
- Mar 11, 20263 Free Alternatives To Openclaw — Aashish Pahwa3.2k views · 2 comments
- Mar 20, 2026NanoClaw + Docker: Build a 100% Secure AI Agent — Mike's Ai Forgesays it tested it1.9k views · 3 comments
- Mar 19, 2026Anthropic Is Eating the OpenClaw Ecosystem (And They Know It) — Prism Labs1.7k views · 1 comment
17 more on YouTube
- Mar 19, 2026Every company needs to figure out their AI agent strategy. — NanoClaw1.4k views
- Apr 6, 202624시간 일하는 AI 개발자 만들기 — NanoClaw + Discord 셋업 가이드#NanoClaw #Claude #디스코드봇 #AI에이전트 #Docker #ClaudeCode — 빠른개발소식1.4k views · 9 comments
- Apr 23, 2026Announcing NanoClaw v2, in partnership with @VercelHQ ✨ — NanoClaw1.2k views
- Feb 14, 2026NanoClaw Lightweight Secure AI Agent Assistant for WhatsApp — Eddy Says Hi #EddySaysHi1.2k views
- May 5, 2026Building Small, Secure AI Agents with NanoClaw's Creator — NanoClaw853 views · 1 comment
- Mar 13, 2026NanoClaw is a safer OpenClaw — NEXT with John Koetsier783 views · 5 comments
- Mar 24, 2026How I move knowin' my NanoClaw agents don't hold any of my API keys — NanoClaw601 views
- May 3, 20263 Tips for Building Better AI Agent Skills — NanoClaw481 views
- Feb 28, 2026Nano Claw vs OpenClaw: Cheaper, Safer, or Just Hype? — Vibe Code Wiki367 views · 1 comment
- May 3, 2026Give your AI agent actual guardrails — NanoClaw339 views
- Feb 22, 2026[Product Reviw] 신뢰 가능한 OpenClaw? NanoClaw 🦞 — LOADING_265 views
- May 1, 2026How I Set Up My Personal AI Assistant (Claude + NanoClaw + Telegram) — Tino Muchenje | AI in Practice251 views · 2 comments
- May 6, 2026Nanoclaw: Containerized Claude Agent for Slack and WhatsApp — VibeDev205 views
- Feb 19, 2026The NEW #NanoClaw is Finally Here! — AskGuru187 views
- May 1, 2026I Built an AI Chief of Staff. One Month In. | AI in Practice — Tino Muchenje | AI in Practice167 views
- Mar 18, 2026The Future of Open-Source Contributions in the AI Age — Packet Pushers115 views
- Apr 24, 2026Best AI Agent Product Launch Video | Nanoclaw — Luceo Studio92 views
On Bluesky · 6
- Feb 12, 2026Uh so I highly recommend setting this up (I used nanoclaw: github.com/qwibitai/nan... combined with Telegram). Most of the benefits of… — @paulgp.com19 likes and reposts · 2 replies
- Feb 21, 2026Self-modifying AI agents: "There are no configuration files to learn. Just tell Claude Code what you want. Or run /customize for guided… — @narphorium.com2 likes and reposts
- Apr 6, 2026📦 qwibitai / nanoclaw ⭐ 26,620 (+91) 🗒 TypeScript A lightweight alternative to OpenClaw that runs in containers for security. Connects to… — @github-trending-js.bsky.social1 likes and repost
- Mar 16, 2026Próbáld inkább ezt: github.com/qwibitai/nan... — @kispocok.hu1 likes and repost · 1 reply
- Feb 24, 2026NanoClaw github.com/qwibitai/nan... — @annjose.com1 likes and repost
1 more on Bluesky
- Feb 24, 2026Check it out here: github.com/qwibitai/nan... — @jainamparmar.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- Feb 27, 2026Show HN: Badge that shows how well your codebase fits in an LLM's context window88 points · 41 comments
Other versions7 projects use a version of this.
Word for word · 4
- gavrielc/nanoclaw★ 31k100% same
- nanocoai/nanoclaw★ 31k100% same
- TomGranot/groupguard★ 3100% same
- prathish-ks/isthmus★ 2100% same
Edited · 3
- microsoft/amplifier-app-nanoclaw★ 482% same
- mcarmona1064-cell/clawbridge-codex★ 178% same
- ss2code/nanoclaw-ops★ 183% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository55 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- container/CLAUDE.mdCLAUDE.md
- add-anydocSkill
- add-atomic-chat-toolSkill
- add-clidashSkill
- add-codexSkill
- add-cursorSkill
- add-dashboardSkill
- add-deltachatSkill
- add-dial-numberSkill
- add-dialSkill
- add-dial-toolSkill
- add-discordSkill
- add-emacsSkill
- add-gchatSkill
- add-githubSkill
- add-imessageSkill
- add-iron-proxySkill
- add-karpathy-llm-wikiSkill
- add-linearSkill
- add-macos-statusbarSkill
- add-matrixSkill
- add-mattermostSkill
- add-mnemonSkill
- add-ollama-providerSkill
- add-ollama-toolSkill
- add-onecliSkill
- add-opencodeSkill
- add-resendSkill
- add-rtkSkill
- add-signalSkill
- add-slackSkill
- add-tavily-toolSkill
- add-teamsSkill
- add-telegramSkill
- add-vercelSkill
- add-webexSkill
- add-whatsapp-cloudSkill
- add-whatsappSkill
- customizeSkill
- debugSkill
- init-first-agentSkill
- learnSkill
- manage-channelsSkill
- manage-mountsSkill
- migrate-from-openclawSkill
- migrate-from-v1Skill
- migrate-memorySkill
- migrate-nanoclawSkill
- migrate-slack-agentsSkill
- setupSkill
- slack-a2a-roomsSkill
- slack-agent-flowSkill
- update-nanoclawSkill
- update-skillsSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

