dingtalk-workspace-cli

Manage DingTalk contacts, calendars, documents, todos, and reports via CLI.

4|Updated May 16, 2026
One-click install
npx skills add https://github.com/Aradotso/devtools-skills --skill dingtalk-workspace-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dingtalk-workspace-cli
Source: https://github.com/Aradotso/devtools-skills/tree/main/skills/dingtalk-workspace-cli
Command: npx skills add https://github.com/Aradotso/devtools-skills --skill dingtalk-workspace-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing DingTalk enterprise data and actions often requires switching between multiple DingTalk products and manual UI steps, which is slow and difficult to automate for AI agents and power users.

Core Features & Use Cases

  • Unified enterprise CLI for DingTalk products: Manage contacts, calendars, documents, todos, AI tables (AITable), chat/IM, drive files, attendance, and reports through one tool.
  • Agent-ready structured outputs: Use --format json plus --jq to return only the fields an AI needs, enabling reliable downstream actions.
  • OAuth authentication modes: Support interactive login, device-flow for headless environments, and client credentials for CI/CD/ISV integrations.
  • Safety controls for automation: Use --dry-run to preview requests and --yes for non-interactive execution of destructive operations.

Quick Start

Run dws calendar event list to view upcoming events for your workspace.

Frequently Asked Questions about dingtalk-workspace-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate DingTalk calendar scheduling and contact management from the terminal?

DingTalk calendar scheduling and contact management can be automated using a command-line interface to execute workspace tasks directly from the terminal. This CLI supports managing multiple enterprise products including calendars, todos, and contacts without manual UI steps.

Can I use DingTalk CLI for headless automation and CI/CD pipelines?

DingTalk CLI supports headless automation and CI/CD pipelines by utilizing OAuth device-flow and client credentials authentication modes. This enables secure, non-interactive execution of enterprise tasks in automated server environments.

How do I get structured JSON output from DingTalk queries for AI agents?

Structured JSON output for AI agents is generated using the `--format json` flag combined with `--jq` for field extraction. This ensures reliable, filtered downstream data processing by returning only the specific fields an AI needs.

How do I prevent accidental data changes when running DingTalk automation scripts?

Accidental data changes during DingTalk automation are prevented using the `--dry-run` flag to preview requests and `--yes` for non-interactive confirmation. These safety controls ensure secure execution of destructive operations.

What DingTalk products can I manage through a unified command-line interface?

A unified command-line interface can manage DingTalk contacts, calendars, documents, todos, AI tables, chat messaging, drive files, attendance, and reports. This consolidates enterprise task execution across multiple products into one tool.

Does DingTalk CLI support querying knowledge bases and AI tables?

DingTalk CLI supports querying knowledge and synchronizing records through integrated AI table query capabilities. Users can retrieve structured data from AITable directly via the command line for agent-driven data operations.