技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v0.1.0
统计:⭐ 0 · 1.1k · 9 current installs · 10 all-time installs
⭐ 0
安装量(当前) 10
🛡 VirusTotal :可疑 · OpenClaw :良性
Package:andrewqumm/dingtalk-push
安全扫描(ClawHub)
- VirusTotal :可疑
- OpenClaw :良性
OpenClaw 评估
This skill's code and instructions match its stated purpose (sending DingTalk group messages via a webhook); the requested configuration (webhook URL and optional signing secret) is appropriate — though the registry metadata omits declaring those env vars and the author/source is unknown so confirm trust before installing.
目的
The skill is described as a DingTalk webhook messenger and the included files (send.js, tool.js) implement exactly that. The only minor incoherence: the registry metadata lists no required environment variables or primary credential, but both the SKILL.md and the code expect a DINGTALK_WEBHOOK and optional DINGTALK_SECRET (or a config file). This is likely an omission in the metadata rather than malicious behavior.
说明范围
SKILL.md and the code limit actions to composing a Markdown message and POSTing it to the configured DingTalk webhook. The runtime reads configuration from environment variables or a small set of config file locations (~/.config/dingtalk-push/config.json, cwd .dingtalk-push.json, or the skill dir). It does not access unrelated system credentials, other network endpoints, or arbitrary files beyond those config paths.
安装机制
No install spec or external downloads are used; the skill is instruction-only with local JS files. There is no fetching of third-party archives or packages at install time. Node.js 16+ is required to run the code (SKILL.md lists axios as available in the runtime).
证书
The only sensitive inputs required are the DingTalk webhook URL and optional secret — appropriate and proportionate for the stated function. However, the registry metadata does not declare these env vars (DINGTALK_WEBHOOK, DINGTALK_SECRET) as required; users should be aware the skill expects them even though the registry listing omitted them.
持久
The skill does not request persistent elevated privileges, does not set always: true, and does not modify other skills or system-wide configuration. It runs as a normal skill and only performs outbound requests to the configured webhook.
综合结论
This skill appears to do exactly what it says: send Markdown messages to a DingTalk group via a webhook and optional signing secret. Before installing: (1) Verify and trust the webhook URL you provide — the webhook is a secret that can post into your group, so keep it private. (2) Note that the registry metadata omitted required env vars; you must set DINGTALK_WEBHOOK (and DINGTALK_SECRET if you use signing) or create the config file at ~/.con…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「DingTalk Push」。简介:Send Markdown-formatted messages with type and @mentions to DingTalk group chat…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/andrewqumm/dingtalk-push/SKILL.md
(来源:yingzhi8.cn 技能库)
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中)