@xiaomingx/dingtalk-connection

Bridge DingTalk outgoing webhook messages to Clawdbot Gateway and send replies back to DingTalk sessions. Use when setting up DingTalk as a messaging channel, troubleshooting webhook delivery, or r...

View in AI SkillSafe app
7 downloads
0 stars
0 demos
SKILL.md
namedingtalk-connection
descriptionBridge DingTalk outgoing webhook messages to Clawdbot Gateway and send replies back to DingTalk sessions. Use when setting up DingTalk as a messaging channel, troubleshooting webhook delivery, or running the local bridge service.

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

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@xiaomingx/dingtalk-connection/verified)](https://skillsafe.ai/skill/@xiaomingx/dingtalk-connection/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@xiaomingx/dingtalk-connection/installs)](https://skillsafe.ai/skill/@xiaomingx/dingtalk-connection/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@xiaomingx/dingtalk-connection/scan)](https://skillsafe.ai/skill/@xiaomingx/dingtalk-connection/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@xiaomingx/dingtalk-connection/eval)](https://skillsafe.ai/skill/@xiaomingx/dingtalk-connection/)