← 返回 Skills 市场
zhangpuego123

给钉钉的联系人或者群发送信息

作者 返璞归真 · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
100
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install dingding-talk
功能描述
Windows 电脑端钉钉消息自动发送技能,通过键盘模拟给指定联系人发送消息。快捷命令:dt
使用说明 (SKILL.md)

DingDing Talk

Windows 电脑端钉钉消息自动发送技能。

功能

  • 👤 搜索并打开联系人聊天窗口
  • ✉️ 给指定联系人发送消息(自动追加后缀)
  • 🔄 批量发送(智能优化执行步骤)
  • ⌨️ 纯键盘模拟,无需 API

安装

需要先安装 Python 依赖:

pip install pyautogui pygetwindow pillow pyperclip

使用方法

1. 发送消息到指定联系人

python send_batch.py "[王沛]" "消息内容"

2. 批量发送(轮询模式)

# 初始化并发送第一条
python send_batch.py "[王沛,高哲,贾福果]" "消息内容"

# 继续发送下一条
python send_batch.py --next

# 继续发送下一条
python send_batch.py --next

注意: 联系人格式必须为 [A,B,C] 格式

3. 获取钉钉状态

from server import get_dingding_status
status = get_dingding_status()

执行流程

标准步骤

步骤 操作 快捷键/方法 延迟
1 打开钉钉 Ctrl+Shift+Z 1.0s
2 最大化钉钉窗口 Win+↑ 0.5s
3 点击坐标激活窗口 click(1000, 30) 0.3s
4 输入联系人名称 Ctrl+ADeleteCtrl+V 0.5s
5 等待搜索结果加载 - 2.0s
6 打开聊天窗口 Enter 0.5s
7 点击坐标激活输入框 click(1300, 1150) 0.3s
8 输入消息内容 Ctrl+V 0.3s
9 发送消息 Enter 0.3s
10 还原窗口 Win+↓ 0.3s

智能执行逻辑

场景 位置 执行步骤 说明
单人发送 唯一 Step 1-10 完整流程
多人发送 第一个人 Step 1-9 不还原窗口
多人发送 中间人 Step 3-9 跳过打开、最大化、还原
多人发送 最后一个人 Step 3-10 跳过打开、最大化,还原窗口

输入格式

联系人格式

必须为 [A,B,C] 格式

✅ 正确示例:

python send_batch.py "[王沛]" "消息"
python send_batch.py "[王沛,高哲]" "消息"

❌ 错误示例:

python send_batch.py "王沛" "消息"      # 缺少括号
python send_batch.py "王沛,高哲" "消息"  # 缺少括号

错误时返回:请输入正确的发送人格式

消息内容

自动追加后缀: 所有消息会自动在末尾追加 【OpenClaw 自动发送】

输入 实际发送
测试 测试【OpenClaw 自动发送】
你好 你好【OpenClaw 自动发送】

注意事项

  1. 钉钉 PC 客户端需要已安装并登录
  2. 发送消息时会自动激活钉钉窗口
  3. 中文输入需要确保系统中文输入法正常工作
  4. 执行过程中不要干扰键盘操作
  5. 批量发送时请保持窗口打开状态,不要手动关闭
  6. 联系人格式必须为 [A,B,C] 格式
  7. 消息会自动追加 【OpenClaw 自动发送】 后缀

文件结构

dingding-talk/
├── server.py       # 核心实现
├── send_batch.py   # 批量发送脚本
├── requirements.txt
├── send_queue.json # 批量队列(临时)
└── SKILL.md
安全使用建议
This skill implements Windows GUI automation to send DingDing messages; that behavior is consistent with its description, but review these points before installing or running: 1) The SKILL.md claims messages will have a `【OpenClaw 自动发送】` suffix but the visible code does not append this — check the full code if that behavior matters. 2) server.py sets pyautogui.FAILSAFE = False which disables the usual mouse-corner emergency stop; consider changing this to True or adding a safe abort before running. 3) Automation uses absolute click coordinates and the clipboard — test in a safe environment (a disposable account or a non-production machine) because mis-clicks or clipboard overwrites can cause unintended actions or data leakage. 4) The batch queue is stored as send_queue.json in the skill directory — inspect that file if you need to audit queued messages. 5) Ensure dependencies are installed from PyPI in a controlled environment (virtualenv) and inspect the full server.py (the provided listing was truncated) before granting the skill runtime access to your desktop.
功能分析
Type: OpenClaw Skill Name: dingding-talk Version: 1.0.2 The skill bundle provides GUI automation for the DingDing (DingTalk) Windows desktop client using libraries like pyautogui and pyperclip. The code in server.py and send_batch.py implements the stated functionality of searching for contacts and sending messages via keyboard simulation (hotkeys like Ctrl+Shift+F and Enter). While the use of hardcoded click coordinates and the disabling of pyautogui.FAILSAFE are brittle and suboptimal coding practices, there is no evidence of malicious intent, data exfiltration, or unauthorized system access.
能力评估
Purpose & Capability
Name/description match the code: files implement desktop keyboard automation for DingDing and provide single/batch send and status functions. However SKILL.md promises that every message will have an appended suffix `【OpenClaw 自动发送】` but the provided send_batch.py and server.py do not show any code appending this suffix (in the visible content). This is an incoherence between documentation and implementation.
Instruction Scope
Run instructions and SKILL.md focus on keyboard automation and installing pyautogui/pygetwindow/pil/pyperclip which is proportional. The code simulates global hotkeys, clicks absolute coordinates, and manipulates the clipboard (expected for GUI automation). However server.py sets pyautogui.FAILSAFE = False which disables the standard PyAutoGUI emergency stop (moving the mouse to a corner) — this reduces the user's ability to interrupt runaway automation and is a safety concern. The code also writes a local queue file (send_queue.json) in the skill directory — expected for batch operation but worth noting.
Install Mechanism
No automatic install script; dependencies are listed in requirements.txt (pyautogui, pygetwindow, pillow, pyperclip). This is reasonable for a Python GUI automation tool and there are no remote download URLs or archives in the install spec.
Credentials
The skill requests no environment variables or credentials. The requested packages and filesystem access (a local send_queue.json) are proportionate to its stated purpose. There are no network endpoints or secret-looking env vars requested.
Persistence & Privilege
Registry flags indicate the skill is not always-included and can be user-invoked; it does not request elevated or persistent system-wide presence. It creates/removes a local send_queue.json file for batching (expected behavior).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dingding-talk
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dingding-talk 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Removed the sample configuration file test_config.json. - No changes to main skill functionality or documentation.
v1.0.1
No changes detected in this version. - No file or documentation changes between versions. - Skill functionality and documentation remain exactly as in the prior version.
v1.0.0
- Initial release of Windows DingDing auto-message sender for desktop. - Supports searching contacts, sending messages, and batch sending via keyboard simulation (no API needed). - Quick command triggers: dt, 钉钉发送, 发钉钉. - Requires contact names in [A,B,C] format and auto-appends a customizable suffix to all messages. - Provides detailed usage steps, installation instructions, and file structure documentation.
元数据
Slug dingding-talk
版本 1.0.2
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 3
常见问题

给钉钉的联系人或者群发送信息 是什么?

Windows 电脑端钉钉消息自动发送技能,通过键盘模拟给指定联系人发送消息。快捷命令:dt. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 100 次。

如何安装 给钉钉的联系人或者群发送信息?

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

给钉钉的联系人或者群发送信息 是免费的吗?

是的,给钉钉的联系人或者群发送信息 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

给钉钉的联系人或者群发送信息 支持哪些平台?

给钉钉的联系人或者群发送信息 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 给钉钉的联系人或者群发送信息?

由 返璞归真(@zhangpuego123)开发并维护,当前版本 v1.0.2。

💬 留言讨论