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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<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="Reviewed on agentmods" width="80" 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.00393 | $0.11130 |
| Opus 5.5 | $0.00157 | $0.04452 |
| Sonnet 5.5 | $0.00079 | $0.02226 |
| Haiku 4.5 | $0.00039 | $0.01113 |
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 12d 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 — 357 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以获取可解析输出 - 用户明确要登录钉钉国际版、海外版或
.io区域时,必须执行dws auth login --intl(无头环境再加--device),不得回退到国内.com;--intl只用于登录,后续业务命令按所选 profile 自动路由 - 危险操作必须先向用户确认,用户同意后才加
--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 5.1 KB
- references/best_practices/07-minutes.md 7.9 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.9 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 5.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.8 KB
- references/products/aitable.md 30 KB
- references/products/aitable/aitable-advperm.md 10 KB
- references/products/aitable/aitable-api-key.md 1.9 KB
- references/products/aitable/aitable-attachment.md 3.5 KB
- references/products/aitable/aitable-best-practices.md 4.1 KB
- references/products/aitable/aitable-cell-value.md 9.0 KB
- references/products/aitable/aitable-comment.md 2.8 KB
- references/products/aitable/aitable-dashboard-chart.md 4.5 KB
- references/products/aitable/aitable-data-analysis-sop.md 5.5 KB
- references/products/aitable/aitable-error-recovery.md 6.9 KB
- references/products/aitable/aitable-export-import.md 9.8 KB
- references/products/aitable/aitable-field-properties.md 8.2 KB
- references/products/aitable/aitable-field.md 6.6 KB
- references/products/aitable/aitable-filter-sort.md 12 KB
- references/products/aitable/aitable-form.md 15 KB
- references/products/aitable/aitable-formula-guide.md 8.2 KB
- references/products/aitable/aitable-primary-doc.md 2.3 KB
- references/products/aitable/aitable-psql.md 15 KB
- references/products/aitable/aitable-record-create.md 2.2 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 15 KB
- references/products/aitable/aitable-record-share.md 1.6 KB
- references/products/aitable/aitable-record-stats.md 3.8 KB
- references/products/aitable/aitable-record-update.md 3.2 KB
- references/products/aitable/aitable-record-upsert.md 3.3 KB
- references/products/aitable/aitable-view-config.md 12 KB
- references/products/aitable/aitable-view-extras.md 8.0 KB
- references/products/aitable/aitable-workflow.md 14 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 104 KB
- references/products/calendar.md 50 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.
- 12d ago Changed · -2 lines a094cb2fb62c
- 15d ago Changed 460e3bd15927
- 16d ago Changed 8142291dcc20
- 21d ago Changed 1f507dc1b5ec
- 1mo ago Changed · +4 lines f2ee2c14ee91
- 1mo ago Changed 02f76acdb906
- 1mo ago Changed · -6 tokens per session a857f93b83b4
- 1mo ago Changed · +4 lines c060cd9664c4
- 1mo ago Changed · +1 lines · +12 tokens per session 1a853902d8db
- 1mo ago First seen · 350 lines · 387 tokens per session scan A b82fb8384c83
dws is a skill published in the GitHub repository DingTalk-Real-AI/dingtalk-workspace-cli (3,788 stars, last pushed 2d ago), licensed Apache-2.0. It adds 393 tokens to every session and 11,130 once invoked, about $0.0016 per session on Opus 5.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
story-readiness
Checks whether a story is ready to implement: clear acceptance criteria, no open questions, valid ADR and dependencies. Use when the user asks if a story, or the sprint's stories, are ready to start or build.
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…
qa-project-bootstrap
Onboard a new QA engineer to an existing codebase, or audit an existing test architecture. Produces a 30-day ramp plan: codebase orientation, framework walkthrough, test architecture audit, mentorship pairing, and first-test guidance. Use when: "QA onboarding," "new tester," "ramp up," "test architecture audit,"…
handle-linkedin-connection-request-signal
Use this skill when someone sends a team member an inbound LinkedIn connection request. An inbound request is a deliberate, ACTIVE first-party intent signal — meaningfully stronger than a passive profile view — and it deserves different scoring rules. The skill resolves and enriches the requester, gates them through…