钉钉企业 IM 操作

钉钉企业 IM 操作 is a skill for Claude Code from CavinHuang/lume. It costs 46 tokens per session (481 once invoked), scanned A, original, MIT.

A command reference for using DingTalk, a workplace messaging and collaboration platform, through its command-line tool. It covers messages, calendars, documents, cloud files, contacts, tasks, and attendance data.

In plain words
What is it for?
Use it to check authorization, send work messages, manage calendar events and tasks, read documents or cloud files, look up contacts, and inspect attendance data.
Why use it?
It gives developers a consistent way to access common DingTalk work functions and check command options. It also highlights authorization and confirmation requirements for real workplace actions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to check authorization, send work messages, manage calendar events and tasks, read documents or cloud files, look up contacts, and inspect attendance data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cavinhuang/lume/dingtalk-cli
Install

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.

Any agent
npx skills add CavinHuang/lume --skill dingtalk-cli
Clone the repo
git clone --depth 1 https://github.com/CavinHuang/lume

Made for: Claude Code.

Wrote 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.

agentmods badge for 钉钉企业 IM 操作

README.md
[![agentmods](https://agentmods.dev/badge/skills/cavinhuang/lume/dingtalk-cli/github.svg)](https://agentmods.dev/skills/cavinhuang/lume/dingtalk-cli)
Your own site
<a href="https://agentmods.dev/skills/cavinhuang/lume/dingtalk-cli"><img src="https://agentmods.dev/badge/skills/cavinhuang/lume/dingtalk-cli/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.

agentmods 80×15 button for 钉钉企业 IM 操作

Your own site · 80×15
<a href="https://agentmods.dev/skills/cavinhuang/lume/dingtalk-cli"><img src="https://agentmods.dev/badge/skills/cavinhuang/lume/dingtalk-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 481 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00481
Opus 5.5 $0.00018 $0.00192
Sonnet 5.5 $0.00009 $0.00096
Haiku 4.5 $0.00005 $0.00048

Measured 1mo ago against content hash df302d434f9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

钉钉企业 IM 操作 scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

apps/sidecar/default-skills/dingtalk-cli/SKILL.md · 40 lines

What it actually says

钉钉 CLI(dws)操作手册

通过 dingtalk_cli 工具执行钉钉 CLI 子命令。工具签名:command(子命令)+ args(参数数组)。

授权(首次必做)

钉钉 CLI 使用 OAuth 授权,授权需企业管理员审批,用户须在 Lume IM 设置中完成。

  • 检查授权状态:command="auth", args=["status"]
  • 发起授权:command="auth", args=["login", "--yes", "--format", "json", "--no-browser"](返回登录 URL,用户在浏览器打开)

未授权时工具结果会含 guidance 字段,提示去设置授权。

能力域

dws 覆盖钉钉主要能力域。子命令可能随版本变化,优先用 command="<域>", args=["--help"] 动态确认参数,不要猜测:

能力域 典型用途
message 发送工作通知 / 消息
calendar 查询、创建日历日程
doc / drive 读取钉钉文档、云盘文件
contact 查询通讯录、组织架构、部门成员
todo 管理待办任务
attendance 考勤数据

使用要点

  1. 先 auth status 确认已授权;未授权时停止并提示用户去设置授权。
  2. 不确定参数时,对目标子命令加 --help 探索,不要猜测参数。
  3. 发消息等写操作是真实企业行为,确认目标接收人与内容后再执行。
  4. 结果为结构化 JSON(dingtalk_cli 返回 stdout);解析失败时检查 stderr 与 exitCode。
Changes

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.

  1. 1mo ago First seen · 40 lines · 46 tokens per session scan A df302d434f9a

Subscribe to this mod's changes

钉钉企业 IM 操作 is a skill published in the GitHub repository CavinHuang/lume (3 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 481 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories