DingTalk Workspace CLI is a cross-platform command-line tool that brings DingTalk’s product capabilities into one interface. It serves human users and AI agents working with DingTalk enterprise data, with administrator authorization required. Its catalogue add-ons provide agent skills for using the CLI’s product areas.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add DingTalk-Real-AI/dingtalk-workspace-cli --skill monogit clone --depth 1 https://github.com/DingTalk-Real-AI/dingtalk-workspace-cliWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dingtalk-real-ai/dingtalk-workspace-cli/mono)<a href="https://agentmods.dev/skills/dingtalk-real-ai/dingtalk-workspace-cli/mono"><img src="https://agentmods.dev/badge/skills/dingtalk-real-ai/dingtalk-workspace-cli/mono.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00387 | $0.10314 |
| Opus 5 | $0.00193 | $0.05157 |
| Sonnet 5 | $0.00077 | $0.02063 |
| Haiku 4.5 | $0.00039 | $0.01031 |
Grade A, and why
dws scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- 不要使用 dws 命令以外的方式操作钉钉业务数据(禁止 curl 或自行拼 HTTP);唯一例外是按 [openapi-explorer.md](./references/products/openapi-explorer.md) 读取官方 `open.dingtalk.com/llms.txt` 文档并生成受限的 `dws api` 调用 How it starts
The opening of the file, as written. The whole thing — 347 lines — stays where its author put it; the contents beside it link to each section on GitHub.
钉钉全产品 Skill
通过 dws 命令管理钉钉产品能力。
命令可用性以当前 dws 二进制为准。本文档随内置 skill 发布,可能滞后于二进制;如果
dws <cmd> --help不存在,说明当前版本未暴露该命令。--help决定 Cobra 实际接受的 flags;公开基础命令和内建+shortcut 的 leaf Schema(常规用--compact)决定 Agent 选择、参数/约束和安全确认语义。实际调用前可用dws <cmd> --help或--dry-run验证。
严格禁止 (NEVER DO)
- 不要使用 dws 命令以外的方式操作钉钉业务数据(禁止 curl 或自行拼 HTTP);唯一例外是按 openapi-explorer.md 读取官方
open.dingtalk.com/llms.txt文档并生成受限的dws api调用 - 不要编造 UUID、ID 等标识符,必须从命令返回中提取
- 不要猜测字段名/参数值,操作前必须先查询确认
严格要求 (MUST DO)
- 所有命令必须加
--format json以获取可解析输出 - 危险操作必须先向用户确认,用户同意后才加
--yes执行 - 单次批量操作不超过 30 条记录
- 所有命令必须严格遵循对应产品参考文档里面规定的参数格式(如:如果有参数值,则参数和参数值之间至少用一个空格隔开)
- 脚本只用于明确覆盖的复合任务:scripts/ 下的脚本可封装 AI 表格批量导入导出、AI 应用创建轮询、文档创建后写内容、钉盘目录树等流程;当公开
+Shortcut 已提供目标唯一解析、分页/部分失败 ledger 和确认语义时,优先 Shortcut。Chat 历史导出与机器人广播已完全下沉 Runtime,不再发布兼容脚本 - 实时个人事件例外:普通 IM 消息、reaction、已读和撤回默认走
dws event +listen-im ...;OA 审批、VoIP 通话邀请、Todo、群生命周期、明确的原始 EventKey、Filter DSL、subscribe_id 或原始 envelope 使用dws event consume ... --flatten。不要写脚本轮询消息历史、审批列表、通话记录或待办列表
Shortcut 与原子命令的使用原则
shortcut 是对常用操作的高层封装,适合优先承担用户意图;产品参考文档和本 skill 负责判断意图、风险、跨产品流程和复杂参数,CLI 帮助负责声明当前版本真正可调用的命令。
- 先按产品参考、意图表和 recipe 路由。用户意图可由可见 Shortcut 满足时,优先使用
dws <service> +<verb> ... --format json,不要手写等价的多步原子命令。只有脚本明确补足 Shortcut 未覆盖的复合交付物且其安全/完整性契约仍适用时才选择脚本。 - 公开内建 shortcut 同时进入 Runtime Schema。用
dws schema --cli-path "<service> +<verb>" --compact --format json读取 Agent 选择、参数、跨参数约束和 risk/confirmation;只有参数映射、接口绑定或 provenance 审计才通过--jq精确读取 full leaf;dws shortcut list --service <service> --format json只作为轻量批量发现入口。 - 真正组装参数前用叶子帮助
dws <service> +<verb> --help核对当前 Cobra 接受的 flags。父级dws <service> --help只能发现子命令,不能替代叶子参数帮助。 - shortcut catalog 中
confirmation=user_required时,必须先获得用户确认,确认后才加--yes;not_required不额外确认。 - 如果 shortcut 不在 help / list 中,改用产品参考里的原子命令、脚本或标准流程;不要猜测未展示的
+命令。 - shortcut 失败时按“错误处理”流程先加
--verbose复查;若仍失败,应记录具体输入、输出、trace / endpoint / tool 信息。
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- LICENSE 9.9 KB
- NOTICE 666 B
- references/best_practices/_common/conventions.md 3.2 KB
- references/best_practices/_common/recipe-conventions.md 1.8 KB
- references/best_practices/01-messaging.md 3.2 KB
- references/best_practices/02-task.md 2.6 KB
- references/best_practices/03-meeting.md 11 KB
- references/best_practices/04-document.md 11 KB
- references/best_practices/05-reporting.md 6.1 KB
- references/best_practices/06-data-analytics.md 4.1 KB
- references/best_practices/07-minutes.md 7.1 KB
- references/best_practices/08-directory.md 7.8 KB
- references/best_practices/09-mail.md 5.2 KB
- references/best_practices/10-minutes-speaker-match.md 8.5 KB
- references/best_practices/11-minutes-speaker-correct.md 4.3 KB
- references/best_practices/lite-recipes.md 16 KB
- references/capability-limits.md 2.8 KB
- references/channel-login.md 1.7 KB
- references/error-codes.md 4.0 KB
- references/field-rules.md 5.3 KB
- references/global-reference.md 4.0 KB
- references/intent-guide.md 46 KB
- references/products/agoal.md 12 KB
- references/products/aisearch.md 15 KB
- references/products/aitable-record-ops.md 4.3 KB
- references/products/aitable.md 27 KB
- references/products/aitable/aitable-advperm.md 10 KB
- references/products/aitable/aitable-attachment.md 2.0 KB
- references/products/aitable/aitable-best-practices.md 2.4 KB
- references/products/aitable/aitable-cell-value.md 7.9 KB
- references/products/aitable/aitable-dashboard-chart.md 4.0 KB
- references/products/aitable/aitable-data-analysis-sop.md 5.5 KB
- references/products/aitable/aitable-error-recovery.md 5.3 KB
- references/products/aitable/aitable-export-import.md 8.6 KB
- references/products/aitable/aitable-field-properties.md 7.6 KB
- references/products/aitable/aitable-field.md 6.6 KB
- references/products/aitable/aitable-filter-sort.md 3.7 KB
- references/products/aitable/aitable-form.md 7.2 KB
- references/products/aitable/aitable-formula-guide.md 7.0 KB
- references/products/aitable/aitable-primary-doc.md 2.3 KB
- references/products/aitable/aitable-record-create.md 1.6 KB
- references/products/aitable/aitable-record-delete.md 582 B
- references/products/aitable/aitable-record-history.md 4.0 KB
- references/products/aitable/aitable-record-name-key.md 2.4 KB
- references/products/aitable/aitable-record-query.md 3.2 KB
- references/products/aitable/aitable-record-share.md 1.6 KB
- references/products/aitable/aitable-record-stats.md 2.9 KB
- references/products/aitable/aitable-record-update.md 1.7 KB
- references/products/aitable/aitable-record-upsert.md 3.3 KB
- references/products/aitable/aitable-view-config.md 10 KB
- references/products/aitable/aitable-view-extras.md 8.0 KB
- references/products/aitable/aitable-workflow.md 13 KB
- references/products/attendance-report.md 29 KB
- references/products/attendance-schedule.md 27 KB
- references/products/attendance-vacation.md 9.4 KB
- references/products/attendance.md 98 KB
- references/products/calendar.md 48 KB
- references/products/chat-emoji-list.md 8.4 KB
- references/products/chat.md 156 KB
- references/products/contact.md 31 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago Changed bc85e072cb7d
- 4d ago Changed · +4 lines · +46 tokens per session 9ee61dd8c95f
- 5d ago Changed · +1 lines · +70 tokens per session 9c974bc193c8
- 8d ago First seen · 342 lines · 271 tokens per session scan A a829a20bb546
dws is a skill published in the GitHub repository DingTalk-Real-AI/dingtalk-workspace-cli (2,875 stars, last pushed today), licensed Apache-2.0. It adds 387 tokens to every session and 10,314 once invoked, about $0.0019 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
recipe-create-meet-space
Create a Google Meet meeting space and share the join link.
atmos-config
Atmos root configuration: atmos.yaml discovery, precedence, deep merging, basepath, imports, minimal bootstrap, and routing to narrower Atmos skills.
workthreads
SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…
story-readiness
Validate that a story file is implementation-ready. Checks for embedded GDD requirements, ADR references, engine notes, clear acceptance criteria, and no open design questions. Produces READY / NEEDS WORK / BLOCKED verdict with specific gaps. Use when user says 'is this story ready', 'can I start on this story', 'is…
autotask-creator
Rules for automation CRUD from the group-chat commander. The commander does not call mutation tools and does not edit cloud/autotasks files directly. It emits one or more top-level ... containers in its final text; the bus parses and applies them after the turn.
monorepo-management
Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.