← 返回 Skills 市场
lukaizj

DingTalk Integration

作者 lukaizj · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
119
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install lukaizj-dingtalk
功能描述
DingTalk (钉钉) integration - Send messages, create groups, and automate DingTalk workflows
使用说明 (SKILL.md)

DingTalk Integration (钉钉集成)

DingTalk (钉钉) integration skill for OpenClaw. Send messages, manage groups, and automate workflows with DingTalk.

Capabilities

  • Send text messages to chats
  • Send rich interactive cards
  • Create new chat groups
  • List chat members
  • Send webhook notifications
  • Handle incoming callbacks

Setup

  1. Create a DingTalk mini app at https://open.dingtalk.com/
  2. Get App ID and App Secret from the application settings
  3. Add required permissions
  4. Configure environment variables

Environment Variables

Variable Required Description
DINGTALK_APP_ID Yes Your DingTalk App ID
DINGTALK_APP_SECRET Yes Your DingTalk App Secret
DINGTALK_AGENT_ID Yes Your DingTalk Agent ID

Usage

Send a message

Send a message "Hello from OpenClaw" to user user123
Send a card message to chat chat_id_456

Create a group

Create a new DingTalk group named "Project Alpha"
Add user "zhangsan" to group "Project Alpha"

List chats

List my DingTalk chats
Show recent chat messages

Message Types

This skill supports:

  • Text: Plain text messages
  • Markdown: Markdown formatted messages
  • Interactive: Cards with buttons, inputs, and actions

Troubleshooting

  • Ensure your app is published in the DingTalk admin console
  • Check that all required permissions are granted
  • Verify the App ID and Secret are correct
  • Make sure the app is added to required chats
安全使用建议
This skill looks like a real DingTalk integration, but review a few items before installing: - Confirm the source and code: the repo homepage is provided; inspect the repository (dingtalk.py) yourself to ensure it matches your expectations. - Resolve env var mismatch: SKILL.md marks DINGTALK_AGENT_ID as required but the registry (claw.json) marks it optional and the code treats it as optional. Decide whether the agent id is needed and only provide the minimum credentials. - Ensure 'requests' is available in the runtime environment (the code depends on it but there is no declared dependency or install step). - Limit App permissions: create a DingTalk app with the least privileges needed (message-sending scopes only) and rotate/separate credentials used for the skill. - Test safely: run the Python module in a controlled environment to confirm behavior (what endpoints are called, how tokens are handled). Note the skill will perform network calls to oapi.dingtalk.com using your App ID/Secret. If you require stronger assurance, ask the author to: (1) make DINGTALK_AGENT_ID handling consistent across README/manifest/code, (2) add explicit dependency declarations (requests) or an install spec, and (3) provide a short security note about token handling and necessary app permissions.
功能分析
Type: OpenClaw Skill Name: lukaizj-dingtalk Version: 0.1.0 The DingTalk Integration skill provides standard functionality for sending messages and managing group chats via the official DingTalk API (oapi.dingtalk.com). The implementation in dingtalk.py is straightforward, uses environment variables for secrets, and includes a security-conscious measure to truncate access tokens in the dingtalk_get_token function to prevent full credential leakage to the agent's output.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
Name, description, and code align with a DingTalk integration: sending messages, creating chats, and obtaining tokens. Requested env vars (app id/secret/agent id) are appropriate for this purpose. However, metadata and documentation disagree on whether DINGTALK_AGENT_ID is required, and the code reads that variable optionally — this mismatch should be resolved.
Instruction Scope
SKILL.md and instructions.md limit actions to DingTalk API calls (send messages, create/list chats, get token). The runtime instructions and code only reference DingTalk endpoints (oapi.dingtalk.com) and environment variables associated with DingTalk. There are no instructions to read unrelated files, contact unexpected endpoints, or exfiltrate arbitrary data.
Install Mechanism
There is no install spec (instruction-only), so nothing is fetched or written automatically — lower install risk. The package includes a Python module that uses the 'requests' library; however, no dependency declaration or install step is provided, so the runtime may fail if 'requests' is not present.
Credentials
The skill requests DINGTALK_APP_ID and DINGTALK_APP_SECRET (expected). Documentation also marks DINGTALK_AGENT_ID as required in SKILL.md table, but claw.json marks it optional and the code will work with an empty agent id (prints a warning). This inconsistency could lead to confusion about which secrets are needed. No unrelated credentials are requested.
Persistence & Privilege
The skill does not request 'always: true', does not modify other skills, and does not require config paths or system-level privileges. It runs network calls to the DingTalk API as expected.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install lukaizj-dingtalk
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /lukaizj-dingtalk 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of DingTalk Integration skill. - Send text messages and rich interactive cards to DingTalk chats - Create and manage chat groups - List chat members and recent chats - Send webhook notifications and handle callbacks - Requires DingTalk App ID, Secret, and Agent ID for setup
元数据
Slug lukaizj-dingtalk
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

DingTalk Integration 是什么?

DingTalk (钉钉) integration - Send messages, create groups, and automate DingTalk workflows. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 119 次。

如何安装 DingTalk Integration?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install lukaizj-dingtalk」即可一键安装,无需额外配置。

DingTalk Integration 是免费的吗?

是的,DingTalk Integration 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

DingTalk Integration 支持哪些平台?

DingTalk Integration 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 DingTalk Integration?

由 lukaizj(@lukaizj)开发并维护,当前版本 v0.1.0。

💬 留言讨论