dingtalk-doc

Automate creation, retrieval, and modification of DingTalk cloud documents via CLI.

2.7k|181|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli --skill dingtalk-doc-dingtalk-real-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dingtalk-doc
Source: https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli/tree/main/skills/multi/dingtalk-doc
Command: npx skills add https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli --skill dingtalk-doc-dingtalk-real-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

The DingTalk docs skill helps teams automate the creation, retrieval, organization, and live editing of DingTalk cloud documents (adoc) within the DingTalk Workspace CLI, reducing manual steps and ensuring consistent structure across documents and teams.

Core Features & Use Cases

  • Create and write documents in Markdown or JSONML with automatic chunking for long content.
  • Read, update, and refine specific blocks, sections, or attachments without rewriting entire documents.
  • Navigate doc workflows across folders and workspaces, including uploads, permissions, exports, and link handling, with built-in safety prompts and validation.
  • Use cases include drafting project docs, SOPs, meeting notes, and internal knowledge articles with reliable structure and traceability.

Quick Start

Create a new document in a target folder with a short intro and a Next steps section.

Frequently Asked Questions about dingtalk-doc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate creating DingTalk cloud documents from Markdown?

The DingTalk docs workflow supports drafting project docs, SOPs, meeting notes, and knowledge articles by applying frontmatter-driven validations and chunked writes to maintain structure and traceability across teams.

Can I update specific sections of a DingTalk doc without rewriting the whole file?

Yes, you can read, update, and refine specific blocks, sections, or attachments of DingTalk cloud documents without rewriting the entire file.

Do I need the dws binary installed to manage DingTalk workspace documents?

Yes, the dws binary must be on your PATH because the workflow automates document creation and modification directly through the DingTalk Workspace CLI.

What is the safest way to handle document permissions and exports in DingTalk workspaces?

The safest approach uses built-in safety prompts and frontmatter-driven validations to manage permissions, exports, and link handling across DingTalk folders and workspaces.

Does DingTalk document automation support JSONML format for knowledge articles?

Yes, you can create and write DingTalk cloud documents in JSONML format alongside Markdown, with automatic chunking applied to handle long content reliably.