← 返回 Skills 市场
4365
总下载
8
收藏
36
当前安装
11
版本数
在 OpenClaw 中安装
/install dingtalk-api
功能描述
调用钉钉开放平台API,支持用户搜索/详情/查询、部门管理(搜索/详情/子部门/用户列表/父部门)、机器人单聊消息发送、群聊消息发送、群内机器人列表查询、离职记录查询。Use when needing to search DingTalk users or departments, get user/depart...
安全使用建议
Install only if you control the DingTalk app credentials and can restrict its permissions. Use a dedicated least-privilege app, avoid enabling approval-write scopes unless required, require human confirmation before messaging or approval actions, and avoid --debug in shared logs because responses may contain employee or workflow data.
功能分析
Type: OpenClaw Skill
Name: dingtalk-api
Version: 1.4.0
The skill bundle is designed to interact with the DingTalk API for user, department, messaging, and approval management. All code consistently calls official DingTalk API endpoints (`oapi.dingtalk.com`, `api.dingtalk.com`) after obtaining an access token using `DINGTALK_APP_KEY` and `DINGTALK_APP_SECRET` from environment variables. There is no evidence of data exfiltration to unauthorized third parties, persistence mechanisms, arbitrary shell execution beyond the intended `npx ts-node` invocations, or prompt injection attempts in `SKILL.md` or `README.md` to mislead the agent into malicious actions. The dependencies in `package-lock.json` are standard for the stated functionality. Input arguments are passed directly to DingTalk API parameters, which is expected for an API client and does not introduce vulnerabilities within the skill itself.
能力评估
Purpose & Capability
The implementation coherently targets DingTalk APIs for directory, messaging, HR-status, and OA approval workflows, but the top-level SKILL frontmatter under-discloses approval-management and some HR-sensitive capabilities that are documented later in SKILL.md, README.md, and package.json.
Instruction Scope
State-changing commands can send chats, create approvals, terminate approvals, approve or reject tasks, transfer tasks, and add comments using arbitrary supplied IDs; the artifacts do not add confirmation gates, allowlists, role checks, or clear read/write separation.
Install Mechanism
Installation is conventional npm/ClawHub/Git usage with standard DingTalk/AliCloud dependencies and no postinstall execution found. CLAUDE.md contains maintainer-oriented publish instructions that include git push and clawhub publish after a publish request, which should require explicit confirmation if followed by an agent.
Credentials
DINGTALK_APP_KEY and DINGTALK_APP_SECRET are expected for a DingTalk API client, but the effective authority depends on the app's enterprise permissions and can include PII, HR status, messaging, and workflow mutation; least-privilege and data-handling guidance is thin.
Persistence & Privilege
No local persistence, background worker, broad filesystem indexing, credential-store access, or third-party exfiltration path was found; scripts call official DingTalk endpoints and print results to stdout/stderr.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install dingtalk-api - 安装完成后,直接呼叫该 Skill 的名称或使用
/dingtalk-api触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.4.0
新增 OA 审批 API 功能,支持查询审批记录、发起/撤销审批、执行任务、转交任务、添加评论等操作
v1.3.1
security: 移除不安全的 Git hook 脚本,消除潜在的安全隐患
v1.3.0
新增10个用户管理API:部门父部门列表、用户父部门列表、用户详情、部门用户详情(分页)、部门用户ID列表、员工人数、未登录用户列表、手机号查用户、unionid查用户、离职记录查询
v1.2.2
修复部门管理API:切换到钉钉TOP API端点(oapi.dingtalk.com),解决InvalidAction.NotFound错误
v1.2.1
修正部门管理 API 端点路径:使用钉钉标准的 POST + body 参数格式
v1.2.0
新增部门管理只读查询功能:搜索部门、获取部门详情、获取子部门列表、获取部门用户列表
v1.1.0
新增机器人单聊/群聊消息发送、群内机器人列表查询,重构文档
v1.0.3
钉钉API技能 - 更新reamme文档
v1.0.2
钉钉API技能 - 初始技能
v1.0.1
钉钉API技能 - 更新reamme文档
v1.0.0
钉钉API技能 - 支持用户搜索功能
元数据
常见问题
DingTalk API 是什么?
调用钉钉开放平台API,支持用户搜索/详情/查询、部门管理(搜索/详情/子部门/用户列表/父部门)、机器人单聊消息发送、群聊消息发送、群内机器人列表查询、离职记录查询。Use when needing to search DingTalk users or departments, get user/depart... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 4365 次。
如何安装 DingTalk API?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install dingtalk-api」即可一键安装,无需额外配置。
DingTalk API 是免费的吗?
是的,DingTalk API 完全免费(开源免费),可自由下载、安装和使用。
DingTalk API 支持哪些平台?
DingTalk API 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 DingTalk API?
由 ogenes(@ogenes)开发并维护,当前版本 v1.4.0。
推荐 Skills