跳到主要内容

dingtalk_channel_connect 精选

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.

自动化 Codex CLIMCP 客户端 Apache-2.0 3.6 万
在 GitHub 打开

安装方式

cp -r src/qwenpaw/agents/skills/dingtalk_channel-en ~/.claude/skills/dingtalk-channel-en

把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/

整仓一次性获取:git clone --depth 1 https://github.com/agentscope-ai/QwenPaw.git

依赖与权限

  • 无需 API Key
  • 需要联网访问外部服务
  • 依赖外部命令:go make
  • 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。

SKILL.md 正文

来源 agentscope-ai/QwenPaw@02b6a6d · 许可 Apache-2.0 · 内容未修改

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.
  1. 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
  1. 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.
  1. 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
  1. 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)
  1. 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.
  1. You must click the upload entry before calling file_upload; calling it directly will result in:
  • No chooser. Click upload then file_upload.
  1. 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)
  1. 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 the opened browser. Reply "continue" when done, and I will resume from the current page.

Step 2: Create an Internal Enterprise Application

After the user confirms login, continue:

  1. Navigate to the creation path:
  • Application Development -> Internal Enterprise Applications -> DingTalk Applications -> Create Application
  1. Fill in the application information (prefer user-customized values, otherwise use defaults):
  • Application name: default QwenPaw
  • Application description: default Your personal assistant
  1. Save and create the application

If the page text or structure does not match expectations, re-run snapshot and relocate elements based on visible text semantics.

Step 3: Add Bot Capability and Publish

  1. Click Add Application Capability under Application Capabilities, find Bot and add it
  2. Toggle the switch button on the right side of Bot Configuration to enabled
  3. Fill in Bot Name, Bot Brief, and Bot Description
  4. Upload the Bot Icon (user-customized or default image):
  • Click the image below the bot icon label
  • Default image URL: https://img.alicdn.com/imgextra/i4/O1CN01M0iyHF1FVNzM9qjC0_!!6000000000492-2-tps-254-254.png
  • If it is a link, download to local first, then upload
  • If the image does not meet specifications, pause and ask the user to manually upload a compliant image before continuing
  1. Upload the Bot Message Preview Image (user-customized or default image):
  • Click the image below the bot message preview image label
  • Default image URL: https://img.alicdn.com/imgextra/i4/O1CN01M0iyHF1FVNzM9qjC0_!!6000000000492-2-tps-254-254.png
  • If it is a link, download to local first, then upload
  • If the image does not meet specifications, pause and ask the user to manually upload a compliant image before continuing
  1. Confirm that the message receiving mode is set to Stream Mode (the Chinese UI may display Stream 模式)
  2. Select Publish; a further confirmation dialog will appear -- select publish. Note: you must publish the bot before proceeding to the next step

Step 4: Create Version and Publish

  1. Navigate to Application Release -> Version Management & Release
  2. Create a new version (required after every configuration change)
  3. Fill in the version description; set the application visibility scope to all employees
  4. Follow the page prompts to complete publishing; a new dialog will appear -- select confirm publish
  5. Only after seeing the successful publication status may you proceed with subsequent steps or tell the user "the configuration is now active"

Step 5: Obtain Credentials

  1. Navigate to Basic Information -> Credentials & Basic Info
  2. Inform the user that the Client ID (AppKey) and Client Secret (AppSecret) are on this page. Do not make changes proactively; guide the user to bind them on their own

QwenPaw Binding Methods

After obtaining the credentials, guide the user to choose one of the following methods:

  1. Console frontend configuration:
  • In the QwenPaw console, go to Control -> Channels -> DingTalk
  • Enter the Client ID and Client Secret
  1. Configuration file method:
"dingtalk": {
  "enabled": true,
  "bot_prefix": "[BOT]",
  "client_id": "Your Client ID",
  "client_secret": "Your Client Secret"
}

Path: ~/.qwenpaw/config.json, under channels.dingtalk.

Credential Delivery Requirements (Mandatory)

  1. The agent is only responsible for guiding the user to the credentials page, obtaining and displaying the Client ID and the actual Client Secret.
  2. The agent must not proactively modify the console configuration or ~/.qwenpaw/config.json.
  3. You must instruct the user to fill in the credentials manually using one of the following two methods:
  • Console frontend: Control -> Channels -> DingTalk
  • Configuration file: edit the channels.dingtalk field in ~/.qwenpaw/config.json

Browser Tool Usage Pattern

Execute in the following order by default:

  1. start with headed: true
  2. open
  3. snapshot
  4. click / type / select_option / press_key as needed
  5. frequent snapshot after page transitions
  6. stop when done

Stability and Recovery Strategy

  • Prefer using the ref from the latest snapshot; only use selector when necessary.
  • After each critical click or navigation, use a short wait (wait_for) and immediately re-run snapshot.
  • If the session expires or re-login is required mid-flow, pause again and wait for the user to log in before continuing from the current step.
  • If automation is blocked by tenant permissions or admin approval, clearly describe the blocker and ask the user to manually complete that step before resuming.

质量与来源

所属仓库
agentscope-ai/QwenPaw
仓库星标
3.6 万
最近更新
今天
采集时间
今天
commit
02b6a6d088e3
内容指纹
sha256:bb6e4ebfbb67364
文件路径
src/qwenpaw/agents/skills/dingtalk_channel-en/SKILL.md

同仓库其它 Skill

查看全部 48 个
edu-math-tutorial
数学题分步讲解视频的领域知识。适用场景:(1) 用户给出一道数学题并要求做讲解/ 解题视频;(2) 用户说"讲解这道题"、"生成解题视频"、"make a math tutorial"; (3) 需要中文数学教学视频,涉及方程、公式或几何图形。本 skill 只提供领域 知识(题目拆解、讲解节奏、旁白文案规范、版式与 KaTeX 排版风格);画面、 配音与成片一律用 Creator 原生 Element 与工具从源头构建。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
professional-media-prompts
为 Creator 编译制作级视觉资产图、电影分镜图和参考生视频 Prompt。适用于 角色身份板/设定图、关键帧或多宫格分镜、短片动作节拍、R2V/I2V/T2V 提示词, 尤其适合要求角色一致性、镜头语言、参考图职责、Seedance 时间段或声音设计的 任务。不用于纯素材剪辑、只查询模型参数,或只评价已经生成的成片。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
visual-asset-design
为角色/场景/道具设计视觉资产、编写或修复 VisualVariant 与阵容图的生成 Prompt 时使用。涵盖参考图布局(艺术身份板/序列关键帧/环境研究板/道具研究 板)、构图与镜头语言、图片审核误判规避、实体 continuity 与以主图为参考 的跨 Variant 衍生设计。不用于视频 Prompt 编译(见 professional-media-prompts)、 纯素材剪辑或只评价已生成产物。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
alicloud_cli
阿里云 CLI 中文文档镜像检索与命令辅助:先走章节索引,再下钻正文页面,给出命令前必须有本地文档证据。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
terraform-cli-setup
Terraform CLI 安装与初始化技能。当用户本地未安装 Terraform 时自动完成安装,确保 terraform 命令可用并能执行 init/validate。不负责 Provider 凭证配置,凭证在实际使用时由 terraform-skill 引导。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
terraform-skill
Use when working with Terraform or OpenTofu - creating modules, writing tests (native test framework, Terratest), setting up CI/CD pipelines, reviewing configurations, choosing between testing approaches, debugging state issues, implementing security scanning (trivy, checkov), or making infrastructure-as-code architecture decisions
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
presentation-structure
Knowledge about the presentation slide format, weight system, navigation, and section structure
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
presentation-styling
Knowledge about CSS classes, component patterns, and syntax highlighting in the presentation
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
vibe-to-agentic-framework
The conceptual framework behind the presentation — what "Vibe Coding to Agentic Engineering" means, why the journey is structured the way it is, and how every slide fits the narrative arc
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
time-skill
Display the current time in Pakistan Standard Time (PKT, UTC+5). Use when the user asks for the current time, Pakistan time, or PKT.
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
weather-fetcher
Instructions for fetching current weather temperature data for Dubai, UAE from Open-Meteo API
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI