CtrlK
BlogDocsLog inGet started
Tessl Logo

work-channel-binding

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.

60

Quality

72%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

High

Do not use without reviewing

Fix and improve this skill with Tessl

tessl review fix ./crews/it-engineer/skills/work-channel-binding/SKILL.md
SKILL.md
Quality
Evals
Security

Work Channel Binding

Use this skill when the user/main agent wants to configure a work channel or when Main Agent recommends one.

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.md and the current OpenClaw Feishu setup path.
  • WeCom: Main Agent 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

  1. Ask the user to choose Feishu or WeCom.
  2. Show the relevant tutorial:
    • ./skills/work-channel-binding/docs/feishu.md
    • ./skills/work-channel-binding/docs/wecom.md
  3. 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.sh from Main Agent after user confirmation; do not ask the user to run npx manually.
  4. Collect account information:
    • account id;
    • account name;
    • app/bot id;
    • app/bot secret;
    • target agent for each account;
    • dmPolicy for private chats;
    • groupPolicy for group chats. If the user is unsure, default both policies to open. Explain that even when group chat policy is open, group chats only respond to messages that mention the bot. Do not repeat secrets back in summaries; scripts must redact them in output.
  5. Run a binding check:
    • python3 ./skills/work-channel-binding/scripts/check-work-channel-bindings.py
  6. 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
  7. Show a redacted summary and ask for user's confirmation.
  8. Apply only after confirmation:
    • python3 ./skills/work-channel-binding/scripts/apply-work-channel-binding.py --plan-file <plan.json>
  9. Ask for Gateway restart confirmation.
  10. Before restarting, record followup:
  • python3 ./skills/work-channel-binding/scripts/record-pending-followup.py --reason work-channel-binding
  1. Restart Gateway only after user confirmation:
  • WISEFLOW_CONFIRM_GATEWAY_RESTART=confirmed ./skills/work-channel-binding/scripts/restart-gateway-confirmed.sh work-channel-binding
  1. On next session, complete followup:
  • python3 ./skills/work-channel-binding/scripts/complete-pending-followup.py

First Work Channel Binding Reminder

If this is the first work channel binding, check whether it-engineer and enabled/soon-to-be-enabled hrbp already have direct bindings. If not, ask whether the user wants to bind them together.

给 main agent 与 IT engineer 各绑一个 Work channel 账号

首次启用 Work channel 时,若 openclaw.json没有为 main agent 和 IT engineer 绑定 Work channel建议用户多申请几个 account,分别给 main agent 和 IT engineer 各绑一个,再继续后续流程。

要点:

  • 飞书 / 企业微信的交互界面体验与功能丰富度都比微信强太多,main agent 与 IT engineer 走 Work channel 能显著提升日常协作与运维体验。
  • main agent 与 IT engineer 应各用独立的 account(不要共用同一个),便于权限隔离与消息分流。
  • 若用户已规划好账号则按其规划;若没有,主动建议其多申请两个 account 并分别绑定。
  • 沿有这一步不阻塞当前绑定流程,但作为首次启用的强烈建议提出。

Never print secrets back to the user.

Repository
TeamWiseFlow/xiaobei
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.