dingtalk-media

Convert local image and file paths into DingTalk media IDs for inline display.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/adongguo/openclaw-dingtalk --skill dingtalk-media
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dingtalk-media
Source: https://github.com/adongguo/openclaw-dingtalk/tree/main/skills/dingtalk-media
Command: npx skills add https://github.com/adongguo/openclaw-dingtalk --skill dingtalk-media

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies sending images and files in DingTalk by automating local file uploads and media handling.

Core Features & Use Cases

  • Automates image uploads from local paths and converts them to media_id for inline rendering.
  • Supports file markers [DINGTALK_FILE] to upload and share documents.
  • Handles both images and documents with automatic media storage and inline display.

Quick Start

Provide a local image path or a DINGTALK_FILE marker that points to a local file to send via DingTalk.

Frequently Asked Questions about dingtalk-media

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

FAQPage Schema
How do I send local images in DingTalk markdown messages?

You can send local images by providing a local file path; the Skill uses the DingTalk media/upload API to convert the path into a media ID for inline rendering.

Can I use a file marker to upload documents to a DingTalk bot?

Yes, you can use the [DINGTALK_FILE] marker to point to local files, which the Skill uploads and shares as documents directly through your DingTalk bot integration.

What is the mechanism for inline media display in DingTalk chats?

The inline media display mechanism works by taking local image paths, verifying file existence, and using the DingTalk media/upload API to attach the media to messages for rendering.

Does DingTalk media upload require any specific dependencies?

DingTalk media upload requires no external dependencies, but your solution must handle local file existence and size limits when using the media/upload API to attach media to messages.

Are there file size limits when automating image uploads to DingTalk?

Yes, when automating image uploads to DingTalk, the solution must handle local file size limits and file existence checks before converting paths to media IDs for inline display.