DingTalk Group Management Skill for Openclaw

A technical interface for managing DingTalk internal group chats through the DingTalk Open Platform API.

n-wen
v1.0.0
Mar 11, 2026
0
955
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install dingtalk-group

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install dingtalk-group using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is DingTalk Group Management Skill?

The DingTalk Group Management Skill is a specialized tool within the Openclaw Skills ecosystem designed to streamline enterprise communication management. It utilizes the DingTalk Open Platform (oapi.dingtalk.com) to automate the creation and administration of internal conversation groups, ensuring consistent group settings and membership control.

By integrating this skill, developers can programmatically handle group dynamics—from setting searchability and chat history permissions to defining administrative authorities. It serves as a bridge between automated workflows and DingTalk's robust communication infrastructure, allowing for highly scalable group operations within an organization.

DingTalk Group Management Skill Use Cases

  • Automating the creation of project-specific collaboration groups during onboarding or project kickoff.
  • Setting up restricted management notification channels where only owners can post or mention all members.
  • Managing high-volume membership lists for temporary event groups or internal task forces.
  • Standardizing group security settings across an enterprise to ensure searchability and validation rules are consistently applied.

How DingTalk Group Management Skill Works

  1. The skill retrieves an access_token automatically using the provided DINGTALK_APP_KEY and DINGTALK_APP_SECRET via the Alibaba Cloud OpenAPI client.
  2. The user executes a TypeScript-based command with parameters for group name, owner, and member list.
  3. The script validates that the owner is included in the member list and that the member count does not exceed the platform's initial limits.
  4. A POST request is dispatched to the DingTalk legacy API endpoint (chat/create).
  5. Upon success, the system returns a unique openConversationId, which acts as the primary identifier for all future group management actions.

DingTalk Group Management Skill Setup

To use this Openclaw Skills contribution, ensure you have an internal enterprise application created in the DingTalk Developer Console with the DingTalk Group Basic Information Management permission.

# Install required dependencies
npm install @alicloud/dingtalk @alicloud/openapi-client ts-node

# Configure environment variables
export DINGTALK_APP_KEY="your-app-key"
export DINGTALK_APP_SECRET="your-app-secret"

DingTalk Group Management Skill Data Schema & Taxonomy

The skill interacts with the DingTalk API using a structured JSON schema for both requests and responses. Key identifiers are outlined below:

Property Type Description
name String The group display name (1-20 characters)
owner String The userId of the group owner (must be in members)
members Array A list of userIds to include in the group (max 40 per initial request)
openConversationId String The unique, permanent identifier for the group conversation
chatid String Deprecated group identifier; retained for legacy compatibility

DingTalk Group Management Skill Advanced Features

  • Automatic Access Token Management: Eliminates manual token refreshing by handling the OAuth flow internally.
  • Granular Authority Control: Define @all mention permissions and group management roles during creation.
  • New Member History Access: Toggle the ability for new joiners to see the last 100 historical messages.
  • Pipe-Friendly Output: Logs and debug info are directed to stderr while the final JSON result is sent to stdout for seamless integration with other CLI tools.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*