Dingtalk Channel Connect logo

Dingtalk Channel Connect

CommunityPopular
mateaix
dingtalk_channel_connect

使用可见浏览器自动完成 MateClaw 钉钉渠道接入。遇到登录页必须暂停等待用户手动登录后继续。

Overview

Publishermateaix
Repositorymateclaw
Skill namedingtalk_channel_connect
Stars
1.1K
Forks
337
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by mateaix on GitHub. Read the source before you install it.

Installation

Install the Dingtalk Channel Connect AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/mateaix/mateclaw/tree/dev/mateclaw-server/src/main/resources/skills/dingtalk_channel_connect
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mateaix/mateclaw.git /tmp/mateclaw
mkdir -p .claude/skills
cp -r /tmp/mateclaw/mateclaw-server/src/main/resources/skills/dingtalk_channel_connect .claude/skills/dingtalk_channel_connect
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Dingtalk Channel Connect in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Dingtalk Channel Connect on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Dingtalk Channel Connect is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

钉钉渠道接入(可见浏览器)

通过可见浏览器自动化完成钉钉应用创建与 MateClaw 渠道绑定。

强制规则

  1. 必须使用可见浏览器:browser_use(action="start", headed=true)
  2. 遇到登录页必须暂停:检测到登录界面立即停止,提示用户手动登录,收到"继续"后再执行
  3. 配置变更后必须发布:任何机器人配置修改都要"创建新版本 + 发布",否则不生效

执行前确认(必须先做)

开始自动化前向用户确认以下可定制项(未指定则使用默认值):

配置项默认值
应用名称MateClaw
应用描述Your personal AI assistant
机器人图标https://img.alicdn.com/imgextra/i4/O1CN01M0iyHF1FVNzM9qjC0_!!6000000000492-2-tps-254-254.png
机器人消息预览图同上

图片规范(务必告知用户):

  • 机器人图标:JPG/PNG,240×240px 以上,1:1 比例,2MB 以内
  • 消息预览图:PNG/JPEG/JPG,不超过 2MB

图片上传策略

  1. 用户提供本地路径 → 直接上传
  2. 用户提供图片链接 → 先下载到本地临时文件,再上传

下载图片(跨平台):

macOS / Linux:

execute_shell_command(
  command="curl -L -o /tmp/bot_icon.png \"<图片URL>\""
)

Windows:

execute_shell_command(
  command="powershell Invoke-WebRequest -Uri '<图片URL>' -OutFile 'C:\\Temp\\bot_icon.png'"
)

上传步骤(必须按此顺序):

  1. 先 browser_use(action="click", selector="<上传入口>") 触发文件选择器
  2. 再用文件上传操作(MateClaw browser_use 支持 file input 的 type 操作传入路径)

自动化流程

步骤 1:打开钉钉开发者后台

browser_use(action="start", headed=true)
browser_use(action="open", url="https://open-dev.dingtalk.com/")
browser_use(action="snapshot")

若页面显示登录界面,立即暂停:

检测到需要登录钉钉开发者后台。请在弹出的浏览器中完成登录,完成后回复"继续"。

步骤 2:创建企业内部应用

用户确认登录后:

  1. 导航路径:应用开发 → 企业内部应用 → 钉钉应用 → 创建应用
  2. 填写应用名称、应用描述
  3. 保存创建
# 每次关键操作后都要截快照确认状态
browser_use(action="snapshot")

步骤 3:添加机器人能力

  1. 进入「应用能力」→「添加应用能力」→ 找到「机器人」并添加
  2. 打开机器人配置开关
  3. 填写机器人名称、简介、描述
  4. 上传机器人图标(见图片上传策略)
  5. 上传消息预览图
  6. 确认消息接收模式为 Stream 模式
  7. 点击发布 → 确认发布弹窗

发布是必须步骤,未发布前配置不生效。

步骤 4:创建版本并发布

  1. 进入「应用发布」→「版本管理与发布」
  2. 创建新版本,填写版本说明
  3. 应用可见范围选「全部员工」
  4. 确认发布(有二次确认弹窗,选确认)
  5. 看到「发布成功」状态才继续

步骤 5:获取凭证并引导绑定

  1. 进入「基础信息」→「凭证与基础信息」
  2. 告知用户 Client ID(AppKey)和 Client Secret(AppSecret)的位置
  3. 引导用户在 MateClaw 控制台绑定:

方式 A — 控制台前端:

进入 MateClaw 管理界面 → 渠道 → 新建渠道 → 选择钉钉 → 填入 Client ID 和 Client Secret

方式 B — 配置文件:

json
"dingtalk": {
  "enabled": true,
  "client_id": "你的 Client ID",
  "client_secret": "你的 Client Secret"
}

Agent 不主动修改 MateClaw 配置文件,只引导用户操作。

稳定性策略

  • 优先使用 snapshot 返回的 ref 定位元素
  • 每次关键点击 / 页面跳转后重新 snapshot 确认状态
  • 页面结构与预期不符时重新 snapshot,按可见文本重新定位
  • 租户权限、管理员审批等阻塞时,说明卡点,请用户手动完成该步骤

完成后关闭浏览器

browser_use(action="stop")

Frequently asked questions

What does the Dingtalk Channel Connect AI skill do?

使用可见浏览器自动完成 MateClaw 钉钉渠道接入。遇到登录页必须暂停等待用户手动登录后继续。

Why use Dingtalk Channel Connect on TypingMind?

Because you install it once and use it with any model. Dingtalk Channel Connect is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Dingtalk Channel Connect in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mateaix/mateclaw/tree/dev/mateclaw-server/src/main/resources/skills/dingtalk_channel_connect. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Dingtalk Channel Connect?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Dingtalk Channel Connect?

As many as you like. As long as a model supports skills, you can use Dingtalk Channel Connect with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Dingtalk Channel Connect AI skill free?

Yes. It is published on GitHub by mateaix under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇