Skip to content
Back to skills

Dingtalk Push

ASecurity

发送钉钉群聊机器人消息的技能。

  • 2 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added October 18, 2026
developmentjavascriptjavabashnodeapi

Works with

  • api

Security analysis

A100/100

Scanned October 18, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill dingtalk-push --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dingtalk Push?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dingtalk Push
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-dingtalk-push/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-dingtalk-push)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# skill: dingtalk-push

发送钉钉群聊机器人消息的技能。

## 触发条件

- 用户请求发送钉钉消息
- 定时任务需要推送通知到钉钉
- 需要集成钉钉群机器人到其他工作流

## 功能

- 发送 Markdown 格式消息到钉钉群
- 支持消息类型(success/warning/error/info)
- 支持 @指定人员和 @所有人
- 支持加签验证(安全)

## 使用方法

### 直接发送消息

在对话中直接使用:

```
发送钉钉消息 "定时任务完成"
发送钉钉 "服务器备份成功" --type success
通知钉钉群 "系统维护通知" --all
```

### 编程调用

```javascript
// 调用 skill 工具
const result = await tools.dingtalk_push({
  message: "定时任务完成",
  type: "success"
});
```

### 命令行调用

```bash
node skills/dingtalk-push/send.js -m "消息内容"
node skills/dingtalk-push/send.js -m "警告" --type warning
node skills/dingtalk-push/send.js -m "错误" --type error --all
```

## 配置

需要设置以下环境变量或配置文件:

- `DINGTALK_WEBHOOK` - 钉钉机器人Webhook地址
- `DINGTALK_SECRET` - 加签密钥(可选)

配置文件位置:`~/.config/dingtalk-push/config.json`

```json
{
  "webhook": "https://oapi.dingtalk.com/robot/send?access_token=xxx",
  "secret": "SEC_xxx"
}
```

## 消息类型

| 类型 | Emoji | 适用场景 |
|------|-------|----------|
| info | ℹ️ | 普通通知 |
| success | ✅ | 成功完成任务 |
| warning | ⚠️ | 警告、需要关注 |
| error | ❌ | 错误、异常 |

## 输出

返回发送结果:

```json
{
  "success": true,
  "messageId": "msg_xxx",
  "timestamp": "2026-02-14T12:00:00Z"
}
```

## 依赖

- Node.js 16+
- axios (已内置在OpenClaw中)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.