dingtalk_channel_connect
它能做什么
这项技能设置钉钉机器人,使 QwenPaw 能够通过钉钉与你交流。适合希望无需手动完成每个控制台步骤,就能从钉钉联系到自己智能体的用户。
适用场景
- ✓当你想把 QwenPaw 作为机器人频道连接到钉钉的时候。
- ✓当你在钉钉开发者控制台中有一个需要配置机器人的应用的时候。
- ✓当你需要为钉钉频道设置 Client ID 和 Client Secret 的时候。
技能链接
https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/dingtalk_channel-en/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把我的 QwenPaw 智能体连接到钉钉,让我可以用手机给它发消息。”
每周 5 个新技能,1 分钟读完。
工作原理
它会打开一个可见的浏览器,并逐步完成钉钉开发者控制台的操作,每当需要登录时都会暂停。然后它会创建机器人、绑定频道,并发布新版本。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
DingTalk Channel Auto-Connect (Headed Browser)
This skill automates the creation of a DingTalk application and the binding of a QwenPaw channel using a headed browser.
Mandatory Rules
- Must launch in headed browser mode:
{"action": "start", "headed": true}
Must pause when a login gate is encountered:
- If the page displays a login screen (e.g., login prompt, QR code login, phone/password login), stop automated operations immediately.
- Clearly prompt the user to log in manually first, then wait for the user to reply with "logged in / continue".
- Do not proceed with subsequent steps until the user confirms.
Any application configuration change only takes effect after creating a new version and publishing:
- After configuring bot-related information, you must publish the bot.
- Whether creating a new application or modifying application information (name, description, icon, bot configuration, etc.), you must perform "create new version + publish" at the end.
- Do not claim the configuration is active if publishing has not been completed.
Pre-Execution Confirmation (Must Do First)
Before starting automated clicks, initiate a "configuration confirmation" with the user, clearly informing them of customizable fields, image specifications, and default values. Use the following structured confirmation:
Allow the user to customize the following fields:
- Application name
- Application description
- Bot icon image URL or local path
- Bot message preview image URL or local path
Clearly state the image specifications (prominently):
- Bot icon: JPG/PNG only,
240*240pxor larger,1:1ratio, under2MB, no rounded corners. - Bot message preview image: format
png/jpeg/jpg, no more than2MB.
- Bot icon: JPG/PNG only,
Clearly state the default values (used automatically if the user does not specify):
- Application name:
QwenPaw - Application description:
Your personal assistant - Bot icon:
https://img.alicdn.com/imgextra/i4/O1CN01M0iyHF1FVNzM9qjC0_!!6000000000492-2-tps-254-254.png - Bot message preview image:
https://img.alicdn.com/imgextra/i4/O1CN01M0iyHF1FVNzM9qjC0_!!6000000000492-2-tps-254-254.png
- Application name:
If the user provides no custom values, you must first explicitly reply:
- "All default settings will be used (QwenPaw / Your personal assistant / default images). Proceeding now."
Image Upload Strategy (Both link and path are supported)
- If the user provides a local path, use it directly for upload.
- If the user provides an image link, download it to a local temporary file first, then upload.
- The upload action sequence must be:
- First click the page upload entry (to trigger the chooser)
- Then call
file_uploadwith the local path array (paths_json)
- If the upload fails due to image specification mismatch (dimensions, ratio, size, format):
- Immediately pause automation
- Clearly ask the user to manually upload a compliant image
- After the user confirms "uploaded / continue", resume from the current step
Practical Upload Tips
- The
paths_jsonoffile_uploadmust be a "JSON string array" -- note the escaping:
{
"action": "file_upload",
"paths_json": "[\"xxx.png\"]",
"frame_selector": "iframe[src*=\"/fe/app?isHideOuterFrame=true\"]"
}
If the page is within an iframe, prefer including
frame_selector; otherwise the upload control may not be found or the chooser may not trigger.You must click the upload entry before calling
file_upload; calling it directly will result in:No chooser. Click upload then file_upload.
Common structural features of the bot icon area that can be used for locating elements (examples; these may appear as Chinese UI labels in the DingTalk console):
text: "* 机器人图标"(Bot Icon)button: "使用应用图标"(Use App Icon)button: "avatar"(usually containsimg "avatar"inside)
When the snapshot shows both "使用应用图标" ("Use App Icon") and "avatar", prefer clicking the
avatarbutton to trigger the upload, then callfile_upload.
Automation Flow
Step 1: Open the DingTalk Developer Console
- Launch the browser in headed mode (
headed: true) - Navigate to
https://open-dev.dingtalk.com/ - Call
snapshotto check if login is required
If login is required, pause with the following message:
Login to the DingTalk Developer Console is required. I have paused automated operations. Please complete the login in th
常见问题
它会替我登录钉钉账号吗?
不会。出现登录界面时,技能会停止,并请你先自行登录。
为什么必须发布机器人?
只有创建并发布新版本后,更改才会生效,因此技能总是以这一步收尾。
它会先确认设置吗?
会。在开始自动点击之前,它会先与你确认配置详情。
详情
作者的原始描述
Use a headed browser to automatically complete DingTalk channel integration for QwenPaw. Applicable when the user mentions DingTalk, developer console, Client ID, Client Secret, bot, Stream mode, binding or configuring a channel. Supports pausing when a login page is detected and resuming after the user logs in.
repo: agentscope-ai/QwenPaw
热度
- GitHub 星标
- 37k
- 排名
- #7575
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
terraform-skill
37k帮你的智能体编写、测试和审查 Terraform 或 OpenTofu 基础设施代码,涵盖模块、CI/CD、安全扫描和状态问题。
computer_use
37k当没有直接工具能完成工作时,让你的智能体通过观察屏幕、点击并检查每一步结果,来操作正在运行的 Windows 或 macOS 应用。
browser
37k通过 QwenPaw Browser SDK 让你的智能体操作真实的网页浏览器,读取页面、对页面执行操作,并在声称成功前检查结果。
channel_message
37k在找到正确的目的地之后,让你的智能体向特定的聊天频道或会话发送单向消息,例如任务完成的提醒。