Directory Compare FCRS-1.0 About /llms.txt

DingTalk Workspace CLI

$ dws Official Med Risk
DingTalk (Alibaba) · Workspace & SaaS · Apache-2.0 · macos / linux / windows · Reviewed:

DingTalk Workspace CLI (dws) is Alibaba DingTalk's official Apache-2.0 Go CLI uniting DingTalk product capabilities for human and AI agent workflows. It supports --format json structured output, profile switching, approvals, calendar scheduling, DING messages, AI tables, and built-in agent skill setup (dws skill setup).

FCRS-1.0 Score
88 /100
Good
High Confidence
Zero-Friction Install
npm install -g dingtalk-workspace-cli
CLI vs MCP Decision CLI Preferred vs MCP

dws provides --format json outputs and dws skill setup multi-agent skill layouts directly in one binary, outperforming bulky DingTalk MCP wrappers.

At a Glance

Command
$ dws
FCRS-1.0 Score
88/100 (Good)
Evidence Tier
High Confidence
CLI vs MCP
CLI Preferred vs MCP
Reviewed Date

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
✓ Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

Built explicitly for AI agent scenarios with uniform --format json output, profile inspection, and dws skill setup (SKILL.md) integration.

  • Supports --format json across auth, profile, and workspace commands
  • Includes SKILL.md and dws skill setup (official_skill)
Trust & Safety 20 / 25

Supports multi-profile isolation (dws profile list) and scoped DingTalk app/user auth, though it lacks a universal --dry-run flag on write commands.

  • Named profile isolation and dws auth status verification
Setup & Portability 14 / 15

Distributed as a cross-platform Go binary via npm install -g dingtalk-workspace-cli, install scripts (with Gitee mirror), and GitHub releases.

  • Installable via npm, shell/PowerShell scripts, and GitHub releases
Utility & Efficiency 13 / 15

Consolidates DingTalk approvals, calendar, DING notifications, AI tables, and skill discovery into a single binary.

  • Covers approvals, calendar, DING messages, AI tables, and skill market
Maintenance & Lineage 10 / 10

Official DingTalk-Real-AI/dingtalk-workspace-cli repository (4.2k+ stars, Apache-2.0) actively maintained by DingTalk.

  • Official DingTalk Apache-2.0 repository with 4.2k+ stars
Docs & Verifiability 8 / 10

Clear README, skill market search (dws skill search), and structured CLI help.

  • Includes SKILL.md documentation and cross-platform install guides

Security, Auth & Guardrails

Auth Modes
OAuth Browser Config File Service Account
Credential Storage

Stores named DingTalk auth profiles locally in ~/.dws/, inspectable via dws profile list --format json and dws auth status --format json.

Side Effects
Read-Only Local Write Remote Write Destructive
Cost & Quotas

CLI is free (Apache-2.0); requires a DingTalk organization account and app permissions.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# DingTalk Workspace CLI (dws) Agent Rules
- Run `dws auth status --format json` and `dws profile list --format json` before workspace actions.
- Always pass `--format json` on read and write commands.
- Require user confirmation before triggering DING alerts, approvals, or external messages.

Agent-Ready Command Recipes

Safe Read-Only Queries

Check DingTalk auth status in JSON
dws auth status --format json

Reports current authenticated workspace identity and token status as JSON.

List configured workspace profiles
dws profile list --format json

Lists saved DingTalk profiles and active selection in structured JSON.

Controlled Writes & Previews

Install bundled agent skills for Claude Code
dws skill setup --mode multi --target claude

Writes SKILL.md workspace skill files into the local Claude Code skills directory.

Strengths for Agents

  • + Native --format json support across auth, profile, and workspace operations.
  • + Ships official SKILL.md definitions and dws skill setup for coding agents.
  • + Official Apache-2.0 Go binary with Gitee mirror support for mainland China networks.

Caveats & Pitfalls

  • ! Lacks a global --dry-run flag before dispatching DING notifications or approvals.
  • ! Enterprise DingTalk permissions still require organization admin approval.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI

Related CLIs in Workspace & SaaS

View category hub →
$ gws

Dynamic Discovery-driven CLI for Drive, Gmail, Calendar, and Docs with JSON payloads, `--dry-run`, and `SKILL.md`.

$ polar

Official Polar developer monetization CLI for products, checkouts, orders, and webhooks with `--fields` and `-d/--data`.

$ asc

Agent-native App Store Connect CLI for TestFlight, App Store submissions, localizations, and Xcode Cloud with `--output json`.

$ clerk

Official Clerk CLI built for developers and AI agents with `--mode agent`, `--input-json`, and `--dry-run`.

$ pup

Official Datadog Labs CLI companion across 33+ Datadog products with `--output json`, `--no-envelope`, and automatic AI agent detection.

$ lark-cli

Official Lark/Feishu CLI built for humans and AI agents with 200+ commands, `--json` envelopes, and 20+ built-in Agent Skills.