← 返回 Skills 市场
2056
总下载
2
收藏
25
当前安装
1
版本数
在 OpenClaw 中安装
/install dingtalk
功能描述
DingTalk channel plugin for OpenClaw - send and receive messages via DingTalk (钉钉)
使用说明 (SKILL.md)
DingTalk Channel Plugin for OpenClaw
Connect OpenClaw to DingTalk (钉钉) for enterprise messaging.
Features
- Send/receive messages via DingTalk API
- Support for both internal apps and webhook robots
- DM and group chat policies
- User allowlist support
Configuration
Method 1: Environment Variables
export DINGTALK_CLIENT_ID="your-app-key"
export DINGTALK_CLIENT_SECRET="your-app-secret"
Method 2: Config File
openclaw config --section channels
# Select DingTalk and follow prompts
Or manually edit config:
channels:
dingtalk:
enabled: true
clientId: "ding6kntxc33nvloty5z"
clientSecret: "your-secret"
dmPolicy: "allowlist" # or "open", "pairing"
allowFrom:
- "user001"
- "user002"
groupPolicy: "allowlist" # or "open", "disabled"
groupAllowFrom:
- "chat001"
Method 3: Webhook Robot (Group Chat)
For group robot webhooks:
channels:
dingtalk:
enabled: true
webhookUrl: "https://oapi.dingtalk.com/robot/send?access_token=xxxxx"
webhookSecret: "SECxxxxx" # optional, for signature verification
Getting Credentials
- Go to DingTalk Open Platform
- Create a micro-app or internal robot
- Copy the App Key and App Secret
- For internal apps, ensure these permissions:
- Contact management (读取通讯录)
- Message notifications (发送工作通知)
Usage
Sending Messages
await message({
channel: "dingtalk",
target: "user-id",
text: "Hello from OpenClaw!"
});
Receiving Messages
Configure DingTalk callback URL to point to your OpenClaw Gateway:
https://your-gateway/webhook/dingtalk
API Reference
Troubleshooting
Error: "invalid timestamp"
- Check your system time is synchronized
Error: "app not authorized"
- Ensure your app has the required permissions in DingTalk admin console
Error: "ip not in whitelist"
- Add your OpenClaw Gateway IP to DingTalk app IP whitelist
Development
This plugin is in beta. Report issues at: https://github.com/openclaw/openclaw
License
MIT
安全使用建议
This plugin appears to do what it says: integrate OpenClaw with DingTalk using either an app key/secret or a group webhook. Before installing, consider: (1) the package has no homepage or repository listed and the publisher identity is unclear — prefer plugins from a known org or official repo; (2) the plugin will read DINGTALK_CLIENT_ID/DINGTALK_CLIENT_SECRET (and alternate env names) — provide least-privilege app credentials and rotate them if possible; (3) if you choose file-based config, be careful storing secrets in plaintext config files — prefer environment variables or secret storage; (4) review network exposure for your OpenClaw Gateway (callback URL and IP whitelisting) as noted in docs; (5) because source files are included, you can inspect or vendor the code in your environment before enabling it. If you want higher assurance, ask the publisher for a repo/homepage and a signed release or install the plugin from a trusted source.
功能分析
Type: OpenClaw Skill
Name: dingtalk
Version: 1.0.0
The DingTalk channel plugin is a standard integration for enterprise messaging. It correctly handles authentication via official DingTalk APIs (oapi.dingtalk.com), supports secure webhook signatures using the crypto module, and provides a configuration wizard for managing user allowlists and permissions. No evidence of data exfiltration, malicious execution, or prompt injection was found across index.ts, onboarding.ts, or SKILL.md.
能力评估
Purpose & Capability
Name, description, SKILL.md, and the TypeScript code all implement a DingTalk channel plugin: fetching access tokens, sending messages via API and webhook, receiving callbacks, onboarding UI, and a probe. The config/env vars referenced (DINGTALK_CLIENT_ID/SECRET and webhook URL/secret) match the stated purpose.
Instruction Scope
SKILL.md instructs only on configuring credentials, webhook URLs, and the gateway callback — the runtime code only calls DingTalk endpoints (oapi.dingtalk.com) and does not read unrelated files, system configs, or contact external domains beyond DingTalk/webhook URLs.
Install Mechanism
There is no external download/install spec (lower risk). However, this skill is not purely instruction-only: it includes source files and package.json/openclaw.plugin.json describing an extension path. That is coherent for a plugin but means code will run in the host if installed — there are no third-party downloads or obscure URLs.
Credentials
The registry metadata listed no required env vars, but SKILL.md and the code expect optional environment variables (DINGTALK_CLIENT_ID/SECRET and alternate names DINGTALK_APP_KEY/APP_SECRET). These env reads are appropriate for the plugin's function, but the registry should declare them explicitly. No unrelated credentials are requested.
Persistence & Privilege
The skill does not set always:true and makes no attempt to modify other skills or system settings. It will run as a channel plugin within OpenClaw's extension system when installed — standard and appropriate for its purpose.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install dingtalk - 安装完成后,直接呼叫该 Skill 的名称或使用
/dingtalk触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
DingTalk channel plugin for OpenClaw – initial release.
- Enables sending and receiving messages via DingTalk (钉钉)
- Supports both internal apps and webhook robots
- Allows configuration for DM/group chat policies and user allowlists
- Provides setup via environment variables, config file, or webhook
- Includes troubleshooting and credential setup instructions
元数据
常见问题
Dingtalk 是什么?
DingTalk channel plugin for OpenClaw - send and receive messages via DingTalk (钉钉). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2056 次。
如何安装 Dingtalk?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install dingtalk」即可一键安装,无需额外配置。
Dingtalk 是免费的吗?
是的,Dingtalk 完全免费(开源免费),可自由下载、安装和使用。
Dingtalk 支持哪些平台?
Dingtalk 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Dingtalk?
由 chan(@chayjan)开发并维护,当前版本 v1.0.0。
推荐 Skills