work-channel-binding
What it does
This skill guides the setup of Feishu or WeCom as a work chat channel for a team of AI agents. It is for users who want their agents to take part in these business chat apps.
When to use it
- ✓When you want to connect Feishu or WeCom to your agent team.
- ✓When a Feishu or WeCom channel plugin needs to be installed or checked.
- ✓When you need to confirm that a work chat binding is working.
Skill link
https://github.com/TeamWiseFlow/xiaobei/blob/master/crews/it-engineer/skills/work-channel-binding/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Connect our company's WeCom account to the agent team and check that the binding works.”
5 new skills a week. 1 minute to read.
How it works
It shows the setup guide for the chosen app, confirms the plugin is installed, plans the settings first, then checks the link after a restart.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Work Channel Binding
Use this skill when the user/main agent wants to configure a work channel or when Main Agent recommends one.
Workspace conventions: use the ## Tools section of AGENTS.md for local paths, environment variable names and tool aliases; do not create TOOLS.md. Preserve existing workspace content. Users manually delete legacy TOOLS.md / HEARTBEAT.md after upgrading; channel setup does not migrate or clean them up. A subagent automatically receives only AGENTS.md; read OFB_ENV.md or other task-specific files explicitly when needed and authorized.
Supported channels:
- Feishu
- WeCom
Channel Plugin Prerequisites
Before collecting account credentials, confirm the selected channel plugin is installed and enabled.
- Feishu: follow
./skills/work-channel-binding/docs/feishu.mdand the current OpenClaw Feishu setup path. - WeCom: installs the plugin by running:
WISEFLOW_CONFIRM_WECOM_INSTALL=confirmed ./skills/work-channel-binding/scripts/install-wecom-channel.sh
After installing a channel plugin, tell the user that Gateway may need a restart before binding verification succeeds.
Required Flow
- Ask the user to choose Feishu or WeCom.
- Show the relevant tutorial:
./skills/work-channel-binding/docs/feishu.md./skills/work-channel-binding/docs/wecom.md
- Confirm channel plugin readiness. For WeCom, if the plugin is not installed yet, run
WISEFLOW_CONFIRM_WECOM_INSTALL=confirmed ./skills/work-channel-binding/scripts/install-wecom-channel.shfrom Main Agent after user confirmation; do not ask the user to runnpxmanually. - Collect account information:
- account id;
- account name;
- app/bot id;
- app/bot secret;
- target agent for each account;
dmPolicyfor private chats;groupPolicyfor group chats. If the user is unsure, default both policies toopen. Explain that even when group chat policy isopen, group chats only respond to messages that mention the bot. Do not repeat secrets back in summaries; scripts must redact them in output.
- Run a binding check:
python3 ./skills/work-channel-binding/scripts/check-work-channel-bindings.py
- Prepare a dry-run plan:
python3 ./skills/work-channel-binding/scripts/prepare-work-channel-binding.py --channel <feishu|wecom> --plan-file <plan.json> --account-id <account> --account-name <name> --agent-id <agent> --app-id <id> --app-secret <secret> --dm-policy open --group-policy open
- Show a redacted summary and ask for user's confirmation.
- Apply only after confirmation:
python3 ./skills/work-channel-binding/scripts/apply-work-channel-binding.py --plan-file <plan.json>
- Ask for Gateway restart confirmation.
- Before restarting, record followup:
python3 ./skills/work-channel-binding/scripts/record-pending-followup.py --reason work-channel-binding
- Restart Gateway only after user confirmation:
WISEFLOW_CONFIRM_GATEWAY_RESTART=confirmed ./skills/work-channel-binding/scripts/restart-gateway-confirmed.sh work-channel-binding
- On next session, complete followup:
python3 ./skills/work-channel-binding/scripts/complete-pending-followup.py
Gateway Logs for Verification
Resolve the installed CLI from AGENTS.md → Tools and OFB_ENV.md; openclaw below is shorthand, not a guarantee that the command is on the terminal PATH. The default macOS/Linux tarball entry is ~/xiaobei/bin/openclaw; Windows PowerShell uses & "$env:USERPROFILE\xiaobei\bin\openclaw.cmd". A source installation can use node "<PROJECT_ROOT>/openclaw/dist/index.js"; do not run pnpm openclaw against a production Gateway.
openclaw logs --limit 20reads the last 20 lines without following. Useopenclaw logs --limit 200 --plainfor a bounded diagnostic window and correlate channel/account, timestamps and errors with the binding being checked.openclaw logs --followis for explicitly requested interactive watching. Do not leave an automated check following indefinitely.- Read the actual
logging.file; the product default is<stateDir>/logs/gateway.log, with warning/error records by default. Missing successful-connection or delivery info lines is not evidence of failure. - When the Gateway is unavailable, read its configured file directly. For Linux service startup failures, use
journalctl --user -u openclaw-gateway.service -n 100 --no-pager; do not use journalctl on macOS, Windows or inside a container. - Reading logs does not authori
FAQ
Will it change my settings without a plan?
No, the skill creates a dry-run plan of the config changes before making safe updates.
Do I need to restart anything?
Yes, the gateway may need a restart before the binding check succeeds.
Which channels are supported?
The skill supports Feishu and WeCom.
Details
Original description by the author
Guide Feishu or WeCom work channel binding for Main Agent managed crews, including dry-run config plans, safe openclaw.json updates, Gateway restart followup, and binding checks.
repo: TeamWiseFlow/xiaobei
Popularity
- GitHub stars
- 8.7k
- Ranking position
- #12334
- License
- —
- Updated
- 10/29/2026
Comments
- …
More skills from this repository
pexels-footage
8.7kHelps your agent search and download free stock photos and video clips from Pexels for your content, using your Pexels API key.
pixabay-footage
8.7kHelps your agent search and download free stock photos and video clips from Pixabay as a backup when Pexels has no good match.
Similar skills
discord-user-post
394kLets your agent post a message you have approved to Discord as you, through the Discord desktop app, after confirming the exact channel.
configure-channel
394kTeaches your agent to connect a chat app such as Telegram to OpenClaw, store the bot token safely, and check that messages flow.
discord
394kHelps your agent read, send, edit, and react to Discord messages through OpenClaw, checking the exact message before making changes.