Agent skill

Dingtalk Bridge

by aiskillstore in aiskillstore/marketplace

DingTalk group chat bridge for Claude Code. An agent skill from aiskillstore/marketplace.

MITAuto-check: notesProductivity & Automation

Install Dingtalk Bridge

skills CLI
$ npx skills add aiskillstore/marketplace --skill dingtalk-bridge -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace dingtalk-bridge --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mguozhen/dingtalk-bridge .claude/skills/dingtalk-bridge && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dingtalk-bridge
GitHub stars
430
Token cost
~1.2k tokens
SKILL.md length
331 words
Files
12 (incl. scripts)
Skills in repo
1,044
Repo updated
First seen
Licence
MIT

At a glance

DingTalk group chat bridge for Claude Code. An agent skill from aiskillstore/marketplace.

  • Works in 3 steps: Install → Configure → Get Conversation ID
  • Tasks that involve Messaging and chat bots
  • SKILL.md covers Capabilities, Quick Start, Commands and Configuration Reference, plus 3 more sections
  • Runs Python and Shell scripts from its folder; calls python3, claude and bash; needs DINGTALK_APP_KEY and DINGTALK_APP_SECRET

What it does

Dingtalk Bridge is an agent skill from aiskillstore/marketplace. DingTalk group chat bridge for Claude Code. Send markdown/text messages to DingTalk groups, receive @mentions and auto-execute via Claude CLI, run a 24/7 Stream bot. Triggers: dingtalk, send dingtalk, dingtalk bot, dingtalk message, send group message, 钉钉, 发群消息, 钉钉机器人

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including scripts (for example `README.md`, `config.example.json` and `marketplace.json`).

It sits in Productivity & Automation, covering Messaging and chat bots. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified. The licence is MIT.

When your agent uses it

  • Tasks that involve Messaging and chat bots

Example prompts

  • “/dingtalk-bridge”

Requirements

  • Python 3
  • A Bash shell
  • A credential in DINGTALK_APP_KEY
  • A credential in DINGTALK_APP_SECRET
  • Pre-approved tools (allowed-tools): Bash

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Install
  2. Configure
  3. Get Conversation ID

What it can do on your machine

Read from SKILL.md and the folder at commit 755bc35. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • claude
    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • open-dev.dingtalk.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • DINGTALK_APP_KEY
    • DINGTALK_APP_SECRET

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dingtalk Bridge loads about 1.2k tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 331 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~71
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from aiskillstore/marketplace at commit 755bc35, republished under its MIT licence (© aiskillstore). 331 words, ~1,155 tokens.

Download SKILL.mdSave it as .claude/skills/dingtalk-bridge/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.
name
dingtalk-bridge
description
DingTalk group chat bridge for Claude Code. Send markdown/text messages to DingTalk groups, receive @mentions and auto-execute via Claude CLI, run a 24/7 Stream bot. Triggers: dingtalk, send dingtalk, dingtalk bot, dingtalk message, send group message, 钉钉, 发群消息, 钉钉机器人
allowed-tools
Bash

DingTalk Bridge Skill

Bridges Claude Code with DingTalk group chat via the DingTalk Stream SDK + OpenAPI.

Capabilities

FeatureDescription
Send MarkdownSend rich markdown messages to a DingTalk group
Send TextSend plain text messages
Stream Bot24/7 listener: receive @mentions, execute via claude -p, reply with results
Auto Conv DiscoveryConversation ID auto-saved on first @mention
Keepalive20s WebSocket ping prevents DingTalk 30-min timeout
Crash RecoveryExponential backoff (5s to 60s) on disconnect

Quick Start

1. Install
bash
bash "$CLAUDE_SKILL_DIR/scripts/install.sh"

The script will:

  • Install Python dependencies (dingtalk_stream, websockets)
  • Prompt for your DingTalk App Key & Secret (or read from env)
  • Generate config.json
  • Create data/ directory for conversation state
  • Optionally create a macOS LaunchAgent for 24/7 operation
2. Configure

Set credentials via environment variables (recommended):

bash
export DINGTALK_APP_KEY="your_app_key"
export DINGTALK_APP_SECRET="your_app_secret"
export DINGTALK_WORKDIR="/path/to/your/project"  # optional

Or edit config.json in the skill directory (see config.example.json).

3. Get Conversation ID

The bot needs a conversation ID to send messages. Two ways:

Auto (recommended): Start the Stream bot, then @mention it in a DingTalk group. The conv ID is saved automatically.

Manual: If you already have the openConversationId and robotCode:

bash
mkdir -p "$CLAUDE_SKILL_DIR/data"
echo '{"openConversationId":"YOUR_ID","robotCode":"YOUR_ROBOT_CODE"}' > "$CLAUDE_SKILL_DIR/data/conv.json"

Commands

Send a message
bash
# Markdown (default)
python3 "$CLAUDE_SKILL_DIR/src/send.py" "**Bold** message with markdown"

# With custom title
python3 "$CLAUDE_SKILL_DIR/src/send.py" --title "Alert" "Server is down!"

# Plain text
python3 "$CLAUDE_SKILL_DIR/src/send.py" --text "Plain text message"
Start the Stream Bot
bash
python3 "$CLAUDE_SKILL_DIR/src/stream_bot.py"

The bot will:

  1. Connect to DingTalk via Stream protocol
  2. Listen for all @mentions in groups where the bot is added
  3. Execute the message content via claude -p "<message>" --continue
  4. Reply with the result as a markdown message
Use as Python module
python
import sys
sys.path.insert(0, "/path/to/dingtalk-bridge/src")
from send import send_markdown, send_text

send_markdown("Daily Report", "**Sent:** 50\n**Opened:** 18\n**Clicked:** 7")
send_text("Simple notification")

Configuration Reference

Config KeyEnv VarDefaultDescription
app_keyDINGTALK_APP_KEY(required)DingTalk App Key
app_secretDINGTALK_APP_SECRET(required)DingTalk App Secret
conv_fileDINGTALK_CONV_FILE<skill>/data/conv.jsonConversation metadata path
workdirDINGTALK_WORKDIRcwdWorking directory for claude CLI
claude_binDINGTALK_CLAUDE_BINclaudePath to claude binary
max_replyDINGTALK_MAX_REPLY3000Max reply length (chars)
keepaliveDINGTALK_KEEPALIVE20WebSocket keepalive interval (seconds)

DingTalk App Setup (Prerequisites)

  1. Go to DingTalk Open Platform
  2. Create an Enterprise Internal App (企业内部应用)
  3. Enable Robot capability (机器人)
  4. Set message receive mode to Stream (Stream 模式)
  5. Copy the App Key and App Secret
  6. Add the bot to a group chat

Running Tests

bash
python3 "$CLAUDE_SKILL_DIR/tests/test_dingtalk.py"

Architecture

dingtalk-bridge/
├── SKILL.md              # This file
├── config.example.json   # Example configuration
├── config.json           # Your config (gitignored)
├── data/
│   └── conv.json         # Auto-saved conversation metadata
├── src/
│   ├── __init__.py
│   ├── config.py         # Config loader (env > file > defaults)
│   ├── send.py           # Send messages (OpenAPI)
│   └── stream_bot.py     # Stream bot (receive + execute + reply)
├── scripts/
│   └── install.sh        # One-command setup
└── tests/
    └── test_dingtalk.py  # Regression tests

© aiskillstore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 11 other files (scripts) in skills/mguozhen/dingtalk-bridge of aiskillstore/marketplace.

  • SKILL.md
  • LICENSE
  • README.md
  • config.example.json
  • marketplace.json
  • scripts/install.sh
  • skill-report.json
  • src/__init__.py
  • src/config.py
  • src/send.py
  • src/stream_bot.py
  • tests/test_dingtalk.py

Open the folder on GitHubat commit 755bc35

Compare with similar skills

Dingtalk Bridge next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dingtalk Bridge compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dingtalk Bridge this skillaiskillstore/marketplace430—~1.2kAutomated safety check: NotesMIT
Feishu Docopenclaw/openclaw392k—~516Automated safety check: PassMIT
Feishu Docraucvr/Group-Goki1123 repos~592Automated safety check: PassMIT
Lark SheetsPinvou/pinvou-agent2.4k—~6.5kAutomated safety check: PassMIT
Slackearlyaidopters/claudeclaw173—~936Automated safety check: NotesNone
Ak Dev New Messaging Integrationyaalalabs/agent-kernel192—~4.6kAutomated safety check: PassApache-2.0

Similar skills

  • Feishu Doc

    openclaw/openclaw

    Feishu document read/write workflows. An agent skill from openclaw/openclaw.

    392k GitHub stars~516 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Feishu Doc

    raucvr/Group-Goki

    Feishu document read/write operations. An agent skill from raucvr/Group-Goki.

    112 GitHub starsUsed in 3 repos~592 tokens
    Productivity & AutomationAuto-check passed
  • Lark Sheets

    Pinvou/pinvou-agent

    【何时用:仅当用户明确指向飞书/Lark 电子表格;泛指做表格默认走本地工具】创建/操作飞书电子表格:工作表与行列结构、读写单元格(值/公式/样式/批注/图片)、查找替换、批量更新、图表/透视表/条件格式/筛选/迷你图/浮动图片。按名称搜索云空间表格文件改用 lark-drive 的 drive +search。doubao.com 的 /sheets/ URL 也走本 skill。不适用本地…

    2.4k GitHub stars~6.5k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Slack

    earlyaidopters/claudeclaw

    Manage Slack from Claude Code. An agent skill from earlyaidopters/claudeclaw.

    173 GitHub stars~936 tokensUpdated 5 mo ago
    Productivity & AutomationAuto-check: notes
  • Ak Dev New Messaging Integration

    yaalalabs/agent-kernel

    Step-by-step guide for adding a new messaging platform integration to Agent Kernel.

    192 GitHub stars~4.6k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Feishu Doc

    CatCatUncle/openworkbuddy

    创建/写入飞书云文档的完整 API 姿势(含插图)。要"发到飞书/建飞书文档"优先用 feishudoccreate 工具;需要手写 API(插图片/表格/自定义凭证)或排查权限、块结构报错时加载本技能。

    278 GitHub stars~750 tokensUpdated today
    Productivity & AutomationAuto-check passed

More from aiskillstore/marketplace

All 1,044 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    430 GitHub starsUsed in 1 repo~697 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    430 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    430 GitHub starsUsed in 1 repo~598 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    430 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Project Planner

    aiskillstore/marketplace

    Detects stale project plans and suggests session commands. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~504 tokens
    Auto-check passed

Questions about Dingtalk Bridge

What does Dingtalk Bridge do?

DingTalk group chat bridge for Claude Code. An agent skill from aiskillstore/marketplace. Dingtalk Bridge is an agent skill from aiskillstore/marketplace. DingTalk group chat bridge for Claude Code.

When should I use Dingtalk Bridge?

Dingtalk Bridge fits situations like: tasks that involve Messaging and chat bots.

How do I install Dingtalk Bridge in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill dingtalk-bridge -a claude-code`. Or copy the skill folder (skills/mguozhen/dingtalk-bridge in aiskillstore/marketplace) into .claude/skills/dingtalk-bridge in your project. Claude Code loads it when a task matches its description.

How do I install Dingtalk Bridge in Codex?

Run `npx skills add aiskillstore/marketplace --skill dingtalk-bridge -a codex`. Or copy the skill folder (skills/mguozhen/dingtalk-bridge in aiskillstore/marketplace) into .agents/skills/dingtalk-bridge in your project. Codex loads it when a task matches its description.

Can I use Dingtalk Bridge in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill dingtalk-bridge -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dingtalk-bridge, .gemini/skills/dingtalk-bridge, .github/skills/dingtalk-bridge and .opencode/skills/dingtalk-bridge in your project.

What does Dingtalk Bridge need to run?

Going by SKILL.md and its folder, Dingtalk Bridge needs Python and a shell for the scripts in its folder, the command-line tools its instructions call (python3, claude and bash) and credentials named DINGTALK_APP_KEY and DINGTALK_APP_SECRET. Our summary lists: Python 3; A Bash shell; A credential in DINGTALK_APP_KEY; A credential in DINGTALK_APP_SECRET. Its frontmatter pre-approves these tools: Bash.

Does Dingtalk Bridge access the network?

SKILL.md names 1 domain. As links in the text: open-dev.dingtalk.com. This is read from the text; nothing was executed.

Is Dingtalk Bridge safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Dingtalk Bridge use?

Dingtalk Bridge is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dingtalk Bridge use?

About 1.2k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dingtalk Bridge?

Skills that share tags, products or a category with Dingtalk Bridge: Feishu Doc (openclaw/openclaw, 392k stars), Feishu Doc (raucvr/Group-Goki, 112 stars), Lark Sheets (Pinvou/pinvou-agent, 2.4k stars) and Slack (earlyaidopters/claudeclaw, 173 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dingtalk Bridge?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,044 skills in this directory. The repository was last updated on October 9, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.