跳到正文
Skillpedia
邮件与消息8.7k · #12334

work-channel-binding

它能做什么

这项技能指导把飞书或企业微信设置为 AI 智能体团队的工作聊天渠道。适合希望智能体参与这些企业聊天应用的用户。

适用场景

  • ✓当你想把飞书或企业微信连接到你的智能体团队时。
  • ✓当飞书或企业微信渠道插件需要安装或检查的时候。
  • ✓当你需要确认工作聊天的绑定是否有效的时候。

技能链接

https://github.com/TeamWiseFlow/xiaobei/blob/master/crews/it-engineer/skills/work-channel-binding/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/TeamWiseFlow/xiaobei/blob/master/crews/it-engineer/skills/work-channel-binding/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把我们公司的企业微信账号连接到智能体团队,并检查绑定是否有效。”

每周 5 个新技能,1 分钟读完。

工作原理

它展示所选应用的设置指南,确认插件已安装,先规划设置内容,然后在重启后检查连接。

技术内容(原始 SKILL.md)

作者在 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.md and 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

  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

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 20 reads the last 20 lines without following. Use openclaw logs --limit 200 --plain for a bounded diagnostic window and correlate channel/account, timestamps and errors with the binding being checked.
  • openclaw logs --follow is 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
常见问题

如果没有计划,它会改动我的设置吗?

不会。这项技能会先生成配置更改的试运行计划,然后再进行安全的更新。

需要重启什么东西吗?

需要。网关可能需要重启,绑定检查才会成功。

支持哪些渠道?

这项技能支持飞书和企业微信。

详情

作者的原始描述

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

热度

GitHub 星标
8.7k
排名
#12334
许可证
—
更新时间
2026/10/29

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能