dingtalk-connection

Bridge DingTalk outgoing webhooks to Clawdbot Gateway via local WebSocket connection. Receives DingTalk bot messages through webhook callbacks and forwards them to Clawdbot Gateway for AI agent processing Configurable port, path, and signing secret for webhook security and routing flexibility Includes optional macOS launchd service setup for persistent bridge operation Supports thinking time thresholds (default 2500ms) to control response streaming behavior in DingTalk sessions

INSTALLATION
npx skills add https://github.com/xiaomingx/moltbot-connector-feishu-dingtalk --skill dingtalk-connection
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

DingTalk Bridge

Bridge DingTalk bot messages to Clawdbot Gateway over a local WebSocket connection.

Architecture

DingTalk user -> DingTalk cloud -> webhook (bridge.py) -> Clawdbot Gateway -> AI agent

Setup

1. Create DingTalk bot

Create a bot that can send outgoing webhooks and set the callback URL to your public endpoint.

2. Run bridge

cd <skill-dir>/dingtalk-connection

uv sync

DINGTALK_SIGNING_SECRET=your_secret uv run python bridge.py

3. Auto-start (macOS)

uv run python setup_service.py

launchctl load ~/Library/LaunchAgents/com.clawdbot.dingtalk-bridge.plist

Environment variables

Variable

Required

Default

DINGTALK_PORT

3210

DINGTALK_PATH

/dingtalk

DINGTALK_SIGNING_SECRET

DINGTALK_BOT_ID

DINGTALK_BOT_NAME

CLAWDBOT_CONFIG_PATH

~/.clawdbot/clawdbot.json

CLAWDBOT_AGENT_ID

main

DINGTALK_THINKING_THRESHOLD_MS

2500

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card