dingtalk-document
钉钉知识库和文档管理操作。当用户提到"钉钉文档"、"知识库"、"新建文档"、"查看文档目录"、"读取文档内容"、"写入文档"、"更新文档"、"文档成员"、"dingtalk doc"、"knowledge base"时使用此技能。支持:创建知识库、查询知识库列表、新建文档/文件夹、读取/写入文档正文内容、管理成员权限等全部文档类操作。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/breath57/dingtalk-documentWhat This Skill Does
The dingtalk-document skill is a comprehensive automation module for OpenClaw designed to manage DingTalk Knowledge Bases and documents programmatically. It serves as the primary interface for users to interact with enterprise-grade documentation through natural language, eliminating the need to navigate complex GUI menus. By leveraging the DingTalk Open Platform APIs, this skill handles workspace enumeration, document creation, hierarchical node management (folders/files), content read/write operations, and user permission administration. The skill is built on a robust helper script architecture, ensuring that authentication, token management, and identity resolution (userId to unionId) are handled consistently and securely.
Installation
To integrate this skill into your environment, use the OpenClaw command-line interface:
clawhub install openclaw/skills/skills/breath57/dingtalk-document
Ensure that you have your DingTalk AppKey, AppSecret, and your organizational userId ready, as the setup process will trigger a configuration verification workflow to initialize the necessary environmental variables.
Use Cases
- Project Documentation Management: Automatically create folders for new projects and generate template documents for meeting minutes or technical specs.
- Content Automation: Sync internal knowledge bases by reading existing documentation and updating content via external triggers or LLM processing.
- Access Control: Efficiently add or remove team members from specific knowledge bases or sensitive document nodes based on project status changes.
- Knowledge Discovery: Quickly search and retrieve lists of workspaces or files to identify project status without leaving the OpenClaw context.
Example Prompts
- "钉钉文档,帮我列出我所在的所有知识库,并告诉我每个库的ID是什么。"
- "创建一个名为'Q3项目规划'的新文档,放在'研发部'知识库的根目录下,并写入初始化的大纲。"
- "读取知识库ID为'12345'中名为'技术文档'的文件内容,并把全文总结一下告诉我。"
Tips & Limitations
- Authentication: Always ensure
DINGTALK_MY_OPERATOR_IDis correctly configured via the helper script, as most APIs will fail without the properunionIdmapping. - Error Handling: If you encounter an API 401 error, the skill is designed to support the
--nocacheflag within the internal helper, which forces a fresh token retrieval. Always use the/tmp/<task>.shworkflow for complex operations to avoid truncation issues common in shell environments. - Permission Scope: The skill's actions are strictly governed by the app's permission settings in the DingTalk Developer Console. If an operation is denied, verify that the application has been granted the necessary 'Knowledge Base Read/Write' scopes in the DingTalk management portal.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-breath57-dingtalk-document": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api, code-execution
Related Skills
dingtalk-message
钉钉消息发送。当用户提到"钉钉消息"、"发消息"、"发通知"、"群通知"、"群消息"、"Webhook"、"机器人消息"、"机器人发消息"、"工作通知"、"单聊消息"、"群聊消息"、"撤回消息"、"消息已读"、"发送Markdown"、"发卡片消息"、"ActionCard"、"@某人"、"@员工"、"at某人"、"提醒某人"、"dingtalk message"、"send message"、"robot message"、"work notification"时使用此技能。支持:群自定义 Webhook 机器人(文本/Markdown/ActionCard/Link/FeedCard + 加签 + @某人)、企业内部应用机器人单聊和群聊发送、消息撤回、已读查询、工作通知等全部消息类操作。
dingtalk-todo
钉钉待办管理。当用户提到"钉钉待办"、"待办任务"、"创建待办"、"新增待办"、"查看待办"、"完成待办"、"标记完成"、"删除待办"、"待办列表"、"我的待办"、"设置截止时间"、"指派待办"、"dingtalk todo"、"todo task"、"task management"时使用此技能。支持:创建待办(含描述/截止时间/优先级/参与者)、获取详情、查询列表(按完成状态过滤)、更新待办、标记完成、删除待办等全部待办类操作。
dingtalk-ai-web-search
网页搜索与实时信息检索。需要查找最新资讯、实时数据、技术文档、热点事件,或用户说"搜一下"、"帮我查"、"查资料"、"web search"等时使用。基于小宿AI智能搜索,支持关键词搜索、时间范围过滤(一天/一周/一月/一年)、自定义结果数量、JSON 输出。
dingtalk-ai-table
钉钉 AI 表格(多维表格)操作。当用户提到"钉钉AI表格"、"AI表格"、"多维表格"、"工作表"、"字段"、"记录"、"新增记录"、"查询记录"、"更新记录"、"删除记录"、"新建字段"、"删除字段"、"dingtalk AI table"、"dingtalk notable"、"able文件"时使用此技能。支持工作表管理、字段管理、记录的增删改查等全部操作。
dingtalk-contact
钉钉通讯录与联系人查询。当用户提到"钉钉通讯录"、"查找员工"、"搜索用户"、"查用户信息"、"获取用户详情"、"用户手机号"、"员工姓名"、"员工工号"、"查部门"、"搜索部门"、"部门成员"、"部门列表"、"部门详情"、"子部门"、"父部门"、"部门路径"、"员工总数"、"通讯录搜索"、"userId 转 unionId"、"unionId 转 userId"、"dingtalk contact"、"dingtalk directory"、"find user"、"get user info"、"department members"时使用此技能。支持:按关键词搜索用户/部门、获取用户完整信息(姓名/手机/工号/部门/职位/unionId)、获取部门成员列表、获取部门树结构、查询用户所在部门路径、员工总人数统计等全部通讯录操作。