Chuyển đến nội dung
Skillpedia
Email và tin nhắn37k · #7575

dingtalk_channel_connect

Skill này làm gì

Skill này thiết lập một bot DingTalk để QwenPaw có thể trò chuyện qua DingTalk. Skill dành cho người muốn agent của mình liên lạc được từ DingTalk mà không phải làm từng bước trên bảng điều khiển bằng tay.

Khi nào nên dùng

  • ✓Khi bạn muốn kết nối QwenPaw với DingTalk như một kênh bot.
  • ✓Khi bạn có một ứng dụng trên bảng điều khiển nhà phát triển DingTalk cần được cấu hình bot.
  • ✓Khi bạn cần thiết lập Client ID và Client Secret cho một kênh DingTalk.

Liên kết skill

https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/dingtalk_channel-en/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/dingtalk_channel-en/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Kết nối agent QwenPaw của tôi với DingTalk để tôi có thể nhắn tin cho nó từ điện thoại.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill mở một trình duyệt có thể nhìn thấy và đi qua bảng điều khiển nhà phát triển DingTalk, tạm dừng mỗi khi cần đăng nhập. Sau đó nó tạo bot, gắn kênh và xuất bản phiên bản mới.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

  1. Must launch in headed browser mode:
{"action": "start", "headed": true}
  1. 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.
  2. 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:

  1. 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
  2. Clearly state the image specifications (prominently):

    • Bot icon: JPG/PNG only, 240*240px or larger, 1:1 ratio, under 2MB, no rounded corners.
    • Bot message preview image: format png/jpeg/jpg, no more than 2MB.
  3. 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
  4. 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)

  1. If the user provides a local path, use it directly for upload.
  2. If the user provides an image link, download it to a local temporary file first, then upload.
  3. The upload action sequence must be:
    • First click the page upload entry (to trigger the chooser)
    • Then call file_upload with the local path array (paths_json)
  4. 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

  1. The paths_json of file_upload must be a "JSON string array" -- note the escaping:
{
  "action": "file_upload",
  "paths_json": "[\"xxx.png\"]",
  "frame_selector": "iframe[src*=\"/fe/app?isHideOuterFrame=true\"]"
}
  1. 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.

  2. You must click the upload entry before calling file_upload; calling it directly will result in:

    • No chooser. Click upload then file_upload.
  3. 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 contains img "avatar" inside)
  4. When the snapshot shows both "使用应用图标" ("Use App Icon") and "avatar", prefer clicking the avatar button to trigger the upload, then call file_upload.

Automation Flow

Step 1: Open the DingTalk Developer Console

  1. Launch the browser in headed mode (headed: true)
  2. Navigate to https://open-dev.dingtalk.com/
  3. Call snapshot to 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

Câu hỏi thường gặp

Skill có đăng nhập tài khoản DingTalk của tôi không?

Không. Khi màn hình đăng nhập xuất hiện, skill dừng lại và yêu cầu bạn tự đăng nhập trước.

Tại sao bot phải được xuất bản?

Thay đổi chỉ có hiệu lực sau khi một phiên bản mới được tạo và xuất bản, nên skill luôn kết thúc bằng bước đó.

Skill có xác nhận cài đặt trước không?

Có. Nó xác nhận các chi tiết cấu hình với bạn trước khi bắt đầu các thao tác nhấp tự động.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
37k
Vị trí xếp hạng
#7575
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự