openclaw
A personal AI assistant that runs on your own computer and answers through messaging channels such as Slack, Telegram and WhatsApp. Its skills cover browser automation, canvas panels, app previews and shareable diffs.
dingtalk-real-ai/dingtalk-workspace-cli is an officially open-sourced cross-platform CLI from DingTalk that unifies its product capabilities into one package for human users and AI agents. It ships skills for calendar, AI tables, AI search, AI cards and more, for teams that want agents to work across DingTalk tools.
Claude Code
$ npx -y skills add dingtalk-real-ai/dingtalk-workspace-cli --agent claude-code
Codex
$ npx skills add dingtalk-real-ai/dingtalk-workspace-cli -a codex
Cursor
$ npx skills add dingtalk-real-ai/dingtalk-workspace-cli -a cursor
Gemini CLI
$ npx skills add dingtalk-real-ai/dingtalk-workspace-cli -a gemini-cli
GitHub Copilot
$ npx skills add dingtalk-real-ai/dingtalk-workspace-cli -a github-copilot
OpenCode
$ npx skills add dingtalk-real-ai/dingtalk-workspace-cli -a opencode
Windsurf
$ npx skills add dingtalk-real-ai/dingtalk-workspace-cli -a windsurf



中文版 · English · Reference · Changelog
Important Co-creation Phase: This project accesses DingTalk enterprise data and requires enterprise admin authorization. Join the DingTalk DWS co-creation group for support and updates. See Getting Started below.
Table of Contents
--help for usage, --dry-run to preview requests, -f table/json/raw for output formats.macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/DingTalk-Real-AI/dingtalk-workspace-cli/main/scripts/install.sh | sh
Linux binaries are linked against glibc (baseline 2.17). musl-based distributions such as Alpine are not supported; the installer detects them and stops instead of installing a binary that cannot start.
Windows (PowerShell):
irm https://raw.githubusercontent.com/DingTalk-Real-AI/dingtalk-workspace-cli/main/scripts/install.ps1 | iex
Skill mode: mono vs multi
The installer ships skills in one of two layouts. CLI commands (dws aitable ..., dws calendar ...) are identical in both modes — only the agent-side skill layout differs.
| Mode | What gets installed | Best for |
|---|---|---|
| multi (default) | Per-product skills (dingtalk-aitable, dingtalk-calendar, dingtalk-chat, ...) | Single-product tasks; smaller context per call |
| mono (legacy) | One dws skill covering all products | Cross-product workflows; single entry point |
Installs and upgrades default to
multi.monoremains available viaDWS_SKILL_MODE=monoordws skill setup --mode mono. File issues if you hit problems.
How to pick:
multi.curl -O .../install.sh && bash install.sh — prompts 1) multi 2) mono (default 1).curl -fsSL ... | DWS_SKILL_MODE=mono sh.dws skill setup --mode mono (or --mode multi) — review the listed paths and confirm interactively.Other install methods
npm (requires Node.js (npm/npx)):
npm install -g dingtalk-workspace-cli
Install only the CLI binary and skip all bundled Skill validation, extraction, Agent-directory updates, state writes, and user-cache refreshes:
DWS_NO_SKILLS=1 npm install -g dingtalk-workspace-cli
$env:DWS_NO_SKILLS = "1"
npm install -g dingtalk-workspace-cli
Without DWS_NO_SKILLS=1, npm keeps installing Skills as before. A failure
while refreshing the optional ~/.dws/skills cache is reported as a warning
after the CLI and Agent Skills are installed; run dws skill setup to refresh
Skills later.
Install the latest beta:
npm install -g dingtalk-workspace-cli@beta
Homebrew (macOS / Linux):
brew tap DingTalk-Real-AI/dingtalk-workspace-cli https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli.git
brew install dingtalk-workspace-cli
The Formula lives in this repository, so the first
tapcommand must include the explicit repository URL. Afterwards, usebrew upgrade dingtalk-workspace-clinormally.
Install the keg-only Homebrew beta without replacing the stable Formula:
brew install dingtalk-workspace-cli-beta
$(brew --prefix dingtalk-workspace-cli-beta)/bin/dws version
To make the beta dws the default for the current shell, prepend $(brew --prefix dingtalk-workspace-cli-beta)/bin to PATH.
Pre-built binary: download from GitHub Releases.
macOS users: If you see "cannot be opened because Apple cannot check it for malicious software", run:
xattr -d com.apple.quarantine /path/to/dws
Build from source:
git clone https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli.git
cd dingtalk-workspace-cli
go build -o dws ./cmd # build to current directory
cp dws ~/.local/bin/ # install to PATH
Static endpoint data is generated from the Wukong baseline and committed in this
repository under internal/syncdata, so source builds do not require a sibling
data checkout.
Requires Go 1.26+. On supported macOS, Linux, and Windows amd64/arm64 hosts, the default CGO build includes the SafeChat backend without a build tag and therefore requires a working C compiler. Set
CGO_ENABLED=0only when a stub build is intentional. Usemake packagewith Docker to build all six release targets through the repository's pinned cross-compilation toolchain.
The repository supports an openharmony/arm64 build with a Go 1.26.7
OpenHarmony toolchain. Every beta and stable release builds, self-signs,
verifies, and publishes dws-openharmony-arm64.tar.gz alongside the six
platform archives, and the binary has been validated on a HarmonyOS PC.
OHOS_GO=/path/to/openharmony-go \
DWS_PACKAGE_VERSION=1.2.3 \
./scripts/dev/build-openharmony.sh
# Or create a self-signed package archive (dws-openharmony-arm64.tar.gz):
OHOS_GO=/path/to/openharmony-go \
DWS_PACKAGE_VERSION=1.2.3 \
./scripts/dev/package-openharmony.sh
The build is CGO_ENABLED=0 and therefore keeps SafeChat unavailable. Runtime
native payloads are also unsupported on OpenHarmony. The script verifies the
resulting static AArch64 ELF and its Go build metadata; see
docs/openharmony.md for the complete boundary.
For users in mainland China, the following channels avoid GitHub network issues. By default (without setting these environment variables) the installer pulls from GitHub.
1. Install script + pre-built binary (Gitee mirror):
Repository mirror: https://gitee.com/DingTalk-Real-AI/dingtalk-workspace-cli
curl -fsSL https://gitee.com/DingTalk-Real-AI/dingtalk-workspace-cli/raw/main/scripts/install.sh | DWS_GITEE_REPO=DingTalk-Real-AI/dingtalk-workspace-cli sh
With
DWS_GITEE_REPOset, the installer resolves the latest version and every release asset (binary, checksums, skills) from the Gitee API instead of GitHub. If it is unset, installation defaults to GitHub.
2. npm package (npmmirror mirror):
npm install -g dingtalk-workspace-cli --registry=https://registry.npmmirror.com
npmmirror automatically syncs public packages from the public npm registry, so this works directly in China.
3. Skills only (Gitee mirror):
curl -fsSL https://gitee.com/DingTalk-Real-AI/dingtalk-workspace-cli/raw/main/scripts/install-skills.sh | DWS_GITEE_REPO=DingTalk-Real-AI/dingtalk-workspace-cli sh
With
DWS_GITEE_REPOset,install-skills.shresolves the version and skills package from Gitee; it also auto-falls back to the Gitee mirror when GitHub is unreachable.
Requires v1.0.7 or later. For earlier versions, please re-run the install script to upgrade.
DWS 默认通过 npm Registry 查询发行版本。官方开源版独立二进制从同版本 GitHub Release 下载当前平台归档和技能包,校验后自更新,无需安装 npm;npm、pnpm 和 Homebrew 安装交由对应包管理器升级。详见版本来源与升级方式。
dws upgrade # interactive upgrade to latest version
dws upgrade --check # check for new versions without installing
dws upgrade --list # list stable release versions
dws upgrade --beta # upgrade to the latest beta pre-release
dws upgrade --check --beta # check the beta track without installing
dws upgrade --list --beta # list beta pre-release versions
dws upgrade --version v1.0.7 # upgrade to a specific version
dws upgrade --version v1.0.8-beta.1 # upgrade to a specific beta version
dws upgrade --rollback # rollback to the previous version
dws upgrade -y # skip confirmation prompt
dws upgrade 默认选择正式渠道;--beta 选择 npm 的 beta 渠道。显式配置的 GitHub 升级来源仍使用原有协议。
auth status、version 和 --version 也会显示版本检查结果;未知命令或参数报错时,发现新版会提示升级。检查不会自动安装软件,详见版本检查与升级提示。
Maintainers and release validators can run the release-quality smoke checks for curl, PowerShell, npm stable, npm beta, Homebrew, and dws upgrade:
git clone https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli.git /tmp/dws-verify
cd /tmp/dws-verify/verify
bash verify-all-channels.sh
The verifier uses isolated directories and does not replace the dws on the current PATH. It reports PASS, FAIL, and SKIP; a platform skip is not a pass and must be covered on the matching host. See verify/README.md for the platform matrix.
How it works
独立二进制的升级分为准备和替换两阶段:
~/.agents/skills root. Agents classified by the pinned compatibility registry as supporting the universal root read it directly; other detected Agents receive links to the canonical copy, with a direct-copy fallback when links are unavailable. Older DWS-managed agent-specific copies are backed up and retired so the same Skill is not discovered twice.独立二进制升级保留自动备份和 dws upgrade --rollback。包管理器安装的回退由对应管理器处理;npm/pnpm 没有 --skip-skills 参数,但可设置 DWS_NO_SKILLS=1 仅安装 CLI 二进制。Homebrew 捆绑技能,使用 dws skill setup 安装到 Agent 目录。
| Flag | Description |
|---|---|
--check | Check for updates without installing |
--list | List available stable release versions with changelogs |
See 12 dingtalk-workspace-cli alternatives
A personal AI assistant that runs on your own computer and answers through messaging channels such as Slack, Telegram and WhatsApp. Its skills cover browser automation, canvas panels, app previews and shareable diffs.
Gives your AI agent a learning loop: it turns past work into reusable skills, keeps notes across sessions, and searches its own earlier conversations. It can also run on a cheap server and be reached from chat apps like Telegram.
A single CLAUDE.md file with behavioral guidelines to reduce common LLM coding mistakes, such as overcomplication and unstated assumptions. It is derived from Andrej Karpathy's observations on coding pitfalls and helps Claude Code write, review, and refactor code more carefully.
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by running routine tasks, explaining complex code, and handling git workflows through natural language commands.
Install it with the command on its page. It includes mono, dingtalk-aicard, dingtalk-aisearch. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it