← Back to Skills Marketplace
zhangpuego123

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

by 返璞归真 · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
100
Downloads
0
Stars
1
Active Installs
3
Versions
Install in OpenClaw
/install dingding-talk
Description
Windows 电脑端钉钉消息自动发送技能,通过键盘模拟给指定联系人发送消息。快捷命令:dt
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dingding-talk
  3. After installation, invoke the skill by name or use /dingding-talk
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug dingding-talk
Version 1.0.2
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 3
Frequently Asked Questions

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

Windows 电脑端钉钉消息自动发送技能,通过键盘模拟给指定联系人发送消息。快捷命令:dt. It is an AI Agent Skill for Claude Code / OpenClaw, with 100 downloads so far.

How do I install 给钉钉的联系人或者群发送信息?

Run "/install dingding-talk" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

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

Yes, 给钉钉的联系人或者群发送信息 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 给钉钉的联系人或者群发送信息 support?

给钉钉的联系人或者群发送信息 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

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

It is built and maintained by 返璞归真 (@zhangpuego123); the current version is v1.0.2.

💬 Comments