AI Agent Hub
Back to skills
WorkBuddy WeChat ClawBot Proactive Push icon

WorkBuddy WeChat ClawBot Proactive Push

AI Agent Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_87a16637/weixinclawbot.

About this skill

Problem It Solves

WorkBuddy’s proactive WeChat push channel is awkward to call by hand: credentials, context_token, the full botToken format, and the rich-media upload protocol all have strict constraints. Small mistakes can trigger ret:-2 or errcode:-14. This skill is for engineers who need to push task results to a designated WeChat account, covering text, images, files, and videos.

How It Works

It targets the weixinClawBot / ilink bot channel, reads local settings.json for credentials and the recipient, avoids writing secrets, and avoids printing token plaintext. Text pushes usually use an empty context_token; media pushes require a non-empty token read as-is from get_updates_buf in the WeChat claw-state cursor file. Requests align with the official protocol, use the full botToken as Authorization, and call the sendmessage endpoint. Rich-media sending generates an AES key, requests an upload URL, uploads the ciphertext, retrieves the download token, then builds the media item and sends it.

Boundaries and Notes

This is not a WeChat customer-service account, and it does not use the platform customer-message API. It assumes WorkBuddy / ClawBot has an established session and the recipient configuration is complete. If media or text is rejected, activate the bot by sending one message from WeChat to ClawBot to refresh the cursor, then rerun the command. Do not paste get_updates_buf, settings.json, or cursor files into chat, issues, or repositories.

Use Cases

  • After a scheduled job finishes, push a short result summary to a designated WeChat account.
  • When an agent produces an image, file, or video, send it to the boss via ClawBot.
  • While debugging the WorkBuddy push channel, send a default test message and confirm delivery.
  • When a push fails with ret:-2, activate ClawBot first, then resend the media message.

Best For

  • WorkBuddy developers who need to push task text, images, files, or videos to a WeChat account.
  • AI Agent workflow maintainers who need to notify a designated WeChat contact of scheduled results.
  • ClawBot integration engineers who need to handle context_token, botToken, and rich-media upload.
  • Local automation authors who need to debug WeChat bot message sends using local credentials.