This skill helps you connect Feishu bot to Clawdbot via WebSocket, manage bridge startup, logs, and group chat behavior.
npx playbooks add skill xiaomingx/moltbot-connector-feishu-dingtalk --skill feishu-connection
Bridge Feishu bot messages to Clawdbot Gateway over local WebSocket.
Feishu user → Feishu cloud ←WS→ bridge.py (local) ←WS→ Clawdbot Gateway → AI agent
feishu:<chatId>)im:message, im:message.group_at_msg, im:message.p2p_msgim.message.receive_v1, set delivery to WebSocket long-connectionmkdir -p ~/.clawdbot/secrets
echo "YOUR_APP_SECRET" > ~/.clawdbot/secrets/feishu_app_secret
chmod 600 ~/.clawdbot/secrets/feishu_app_secret
cd <skill-dir>/feishu-connection
uv sync
FEISHU_APP_ID=cli_xxx uv run python bridge.py
FEISHU_APP_ID=cli_xxx uv run python setup_service.py
launchctl load ~/Library/LaunchAgents/com.clawdbot.feishu-bridge.plist
# Check service
launchctl list | grep feishu
# Logs
tail -f ~/.clawdbot/logs/feishu-bridge.err.log
# Stop
launchctl unload ~/Library/LaunchAgents/com.clawdbot.feishu-bridge.plist
Bridge replies only when: user @-mentions the bot, message ends with ?/?, contains request verbs (帮/请/分析/总结…), or calls the bot by name. Customize the name list in bridge.py → should_respond_in_group().
| Variable | Required | Default |
|---|---|---|
| FEISHU_APP_ID | ✅ | — |
| FEISHU_APP_SECRET_PATH | — | ~/.clawdbot/secrets/feishu_app_secret |
| CLAWDBOT_CONFIG_PATH | — | ~/.clawdbot/clawdbot.json |
| CLAWDBOT_AGENT_ID | — | main |
| FEISHU_THINKING_THRESHOLD_MS | — | 2500 |
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.