DingTalk Docs for Openclaw

A comprehensive automation skill for managing documents, folders, and content within the DingTalk cloud ecosystem.

chayjan
v1.0.0
Mar 6, 2026
0
853
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install dingtalk-docs-0-3-1

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install dingtalk-docs-0-3-1 using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is DingTalk Docs?

The DingTalk Docs skill empowers AI agents to perform complex document operations within the DingTalk environment. It supports the full lifecycle of cloud content management, from retrieving root directory structures to creating specialized nodes like spreadsheets, mind maps, and multi-dimensional tables. By integrating this into Openclaw Skills, developers can enable agents to read document content in Markdown format, append or overwrite data with precision, and maintain organized file hierarchies automatically.

DingTalk Docs Use Cases

  • Automating the creation of structured project folders and initial documentation templates.
  • Searching through vast cloud libraries to retrieve specific knowledge base content for AI analysis.
  • Programmatically updating shared team status reports or meeting minutes.
  • Converting AI-generated summaries into online DingTalk documents for team collaboration.
  • Organizing root-level files into specific sub-folders based on project metadata.

How DingTalk Docs Works

  1. Retrieve the unique root directory ID using the get_my_docs_root_dentry_uuid function to establish a base for operations.
  2. Locate target nodes by searching for filenames or keywords via the list_accessible_documents method.
  3. Execute document creation or folder generation by passing the parent node ID and specifying the correct accessType (e.g., Folder, Sheet, or Doc).
  4. Modify document content using the write_content_to_document method, ensuring the correct updateType is selected to either append or overwrite data.
  5. Verify and read back content by constructing a full document URL and fetching the Markdown-formatted data.

DingTalk Docs Setup

To get started with the DingTalk Docs skill in your environment, follow these steps:

  1. Ensure you have the necessary DingTalk developer credentials and API permissions enabled for cloud documents.
  2. Configure your agent environment to include the Openclaw Skills library.
  3. Install the skill using the following command:
# Example installation via CLI
openclaw install dingtalk-docs
  1. Set up your environment variables with your DingTalk AppKey and AppSecret to authorize the connection.

DingTalk Docs Data Schema & Taxonomy

The skill organizes data around the Dentry node system. Below is the primary metadata structure used by Openclaw Skills for DingTalk Docs:

Attribute Type Description
dentryUuid String The unique identifier for a document or folder node.
accessType String Defines the node type (e.g., '1' for Sheet, '7' for Multi-dimensional table, '13' for Folder).
updateType Number Logic for writing: 0 for Overwrite, 1 for Append.
docUrl String The full URL required for reading, following the template: https://alidocs.dingtalk.com/i/nodes/{dentryUuid}.

DingTalk Docs Advanced Features

  • Strict ID validation to prevent data corruption or unauthorized access to incorrect document nodes.
  • Support for diverse content types including Online Spreadsheets, PPTs, Mind Maps, and Multi-dimensional tables.
  • Precise write-mode controls (Append vs. Overwrite) to ensure data integrity during automated updates.
  • Seamless Markdown extraction allowing AI agents to process cloud document content as structured text.
  • Recursive folder management capabilities for building complex organizational structures programmatically.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*