In short.
dingtalk-message is an AI assistant skill for DingTalk administrators and developers, but its helper can reveal saved Webhook credentials. It documents four messaging routes and separates newer robot authentication from legacy work-notification authentication. The helper provides configuration, token caching and identity conversion, while the assistant must construct message requests. Visible weaknesses include incomplete secret masking, fragile JSON parsing and unsafe handling of some configuration values. No code or API calls were executed, so installation, compatibility and message delivery remain unassessed.
Researched and written by an AI model and checked by a second AI model. How it works
This report covers .agents/skills/dingtalk-message in breath57/dingtalk-skills at commit 2d3ea3f68b910984f164da7d6240573acc20b5cf: SKILL.md, references/api.md and scripts/dt_helper.sh. Associated licence notices beside and above the folder were within the requested scope, but none is supplied; rights remain unknown. Other repository skills, external dependencies and live DingTalk documentation are outside the available evidence. No installation, code execution, authentication, signing, sending, recall, read query or compatibility test was performed.
The overview
Identity
dingtalk-message is the messaging skill under .agents/skills/dingtalk-message in breath57/dingtalk-skills. It contains SKILL.md, references/api.md and scripts/dt_helper.sh. Original source folder: [https://github.com/breath57/dingtalk-skills/tree/main/.agents/skills/dingtalk-message].
A skill supplies instructions that an AI assistant can load. Here, those instructions explain how to choose a DingTalk messaging channel and assemble API requests. The folder contains no AI model, graphical interface or complete messaging service.
Assessment
The material offers a concrete starting point for adding DingTalk messaging to an assistant. Its useful details include separate authentication paths, recipient-ID requirements, message payload examples and references for recall and delivery queries.
Adoption requires engineering work around credential handling and request reliability. The helper does not provide message dispatch, automatic batching or delivery verification, and its configuration commands can expose Webhook secrets. Successful operation has not been established.
Users
The likely users are developers connecting an assistant to DingTalk and administrators arranging workplace notifications. Documented examples include release announcements, meeting reminders and application notifications to employees or departments.
Beginners need help obtaining the correct DingTalk credentials, permissions and recipient identifiers. Experienced developers receive useful request details but must supply the surrounding integration. The documentation is in Chinese; supported assistant products and versions are not identified.
Capabilities
The reference describes four routes: a custom Webhook robot for a particular group, an internal-app robot for direct and group messages, work notifications addressed to employees or departments, and a temporary sessionWebhook for replying to a robot callback.
Webhook examples cover text, Markdown, links, FeedCard and ActionCard messages, including mentions. Internal-app examples additionally include image and audio formats, direct-message read queries, and direct/group recall. Work-notification examples include department or organization broadcasts, OA messages, delivery/read-result queries and recall. These are documented capabilities rather than demonstrated results.
Using it
Requirements
The helper requires Bash, curl and Unix utilities including grep, head, cut, date and a compatible sed -i implementation. It also needs a writable configuration location and network access to DingTalk. Minimum tool versions and supported operating systems are unspecified.
A custom group Webhook needs its credential-bearing URL and, when signing is enabled, its secret. Internal-app messaging needs an app key and secret; work notifications additionally need an agent ID. The reference lists operation-specific permissions, including Robot.Message.Send, Robot.GroupMessage.Send and Message.CorpConversation.AsyncSend; their current availability has not been confirmed.
Employee-targeted robot messages and work notifications use userId, also called staffId, rather than unionId. Internal-app group sending requires openConversationId. The reference warns that external participants may lack a staffId in callbacks, which can complicate recipient resolution.
Mechanism
The instructions direct the assistant to choose a channel, obtain its configuration, acquire the appropriate token and construct an HTTP request. The helper maintains separate newer and legacy token caches, using the returned token lifetime minus a 200-second margin. Configuration defaults to $HOME/.dingtalk-skills/config and can be redirected through DINGTALK_CONFIG.
Newer robot requests use a token header; legacy work-notification requests use a token query parameter. Webhook URLs carry their own credentials, while sessionWebhook URLs come from callbacks. Robot message parameters must be serialized as a JSON string inside msgParam.
The helper implements configuration, token management and user-ID conversion. Message sending, Webhook signature calculation and callback handling are left to the surrounding integration.
Setup
Keep the skill instructions, reference and scripts together when configuring an assistant to load the folder. No host-specific installation procedure is supplied. The actual helper location is scripts/dt_helper.sh relative to the skill folder; the helper's own help text instead refers to scripts/common/dt_helper.sh.
Choose the messaging route before collecting settings. The guide uses --set KEY=VALUE to persist configuration, --token for newer robot authentication and --old-token for legacy work notifications. Configure the required recipient or conversation identifiers separately.
Before entering real credentials, correct the Webhook masking problem and protect the configuration file. The script does not set restrictive file permissions, and its diagnostic commands should not be used in shared output without correction.
Example
For an illustrative release announcement to a project group, the Webhook route uses a body such as {"msgtype":"text","text":{"content":"Release ready for review."},"at":{"isAtAll":false}}. A signed Webhook additionally requires the timestamp and signature described in the reference.
For an internal-app direct message, the equivalent request uses robotCode, a userIds array, msgKey set to sampleText and msgParam containing serialized JSON. Its response can include processQueryKey, invalid recipients and rate-limited recipients. These examples were not sent; an example response in the reference is not evidence of delivery.
Assessment & evidence
Limitations
Configuration and token caches are stored as plain text. The --get and --config commands mask only the app secret and two token keys; DINGTALK_WEBHOOK_URL and DINGTALK_WEBHOOK_SECRET are printed in full when present. File access protection depends on the surrounding filesystem settings.
Token and identity responses are parsed with grep patterns that expect compact JSON formatting. Configuration updates insert values directly into a sed replacement, so values containing characters such as & or | can be corrupted or cause an update to fail. The helper's curl calls lack explicit timeouts, HTTP-error rejection and retries. These are code-level failure risks; their frequency was not measured.
The reference recommends enterprise robots for group read queries, but supplies only a direct-message readStatus endpoint. Group read-status support is not established. It documents limits of 20 Webhook messages per robot per minute, 20 recipients per direct-message batch and 100 user IDs per work-notification request, plus an approximately 1.5-hour sessionWebhook lifetime. Current service limits remain unverified.
Fit rationale
The resource's practical value is its explanation of several DingTalk messaging systems that use different credentials, identifiers and payload formats. Keeping those distinctions together can help a developer avoid mixing newer robot tokens with legacy work-notification tokens.
That documentation does not remove the need for a reliable integration. The assistant still has to construct valid requests, protect secrets, handle partial failures and check the appropriate results. The resource fits developers prepared to maintain those surrounding controls.
Alternatives
The included HTTP examples also support a direct API integration without loading the assistant skill. For one fixed group, the documented Webhook route has fewer configuration requirements than an internal application. Work notifications address application-originated employee or department notices, while sessionWebhook handles immediate callback replies.
No competing skill, SDK or messaging service is assessed in these files, so comparative reliability, features and cost are unknown.
Evidence
The skill instructions establish the intended assistant behavior and channel setup: [https://raw.githubusercontent.com/breath57/dingtalk-skills/2d3ea3f68b910984f164da7d6240573acc20b5cf/.agents/skills/dingtalk-message/SKILL.md].
The API reference supplies endpoints, formats, permissions, example responses and stated limits: [https://raw.githubusercontent.com/breath57/dingtalk-skills/2d3ea3f68b910984f164da7d6240573acc20b5cf/.agents/skills/dingtalk-message/references/api.md].
The Bash helper establishes the visible configuration, token-cache and identity-conversion implementation: [https://raw.githubusercontent.com/breath57/dingtalk-skills/2d3ea3f68b910984f164da7d6240573acc20b5cf/.agents/skills/dingtalk-message/scripts/dt_helper.sh]. No execution results, live delivery receipts, compatibility results or performance measurements are supplied.
Access & freshness
Costs
The files provide no price for the skill, DingTalk subscription or API charges, message fees, or the assistant used to operate it. Total operating cost is unknown. No free-use claim or cost estimate can be established from this material.
The documented message limits are usage constraints, not pricing evidence. The helper includes no billing or cost-measurement functionality.
Rights
No licence notice or permission grant for these files or their parent directories is included in the supplied evidence. Permission to copy, modify, use commercially or redistribute the resource is therefore unknown.
Establish the applicable repository terms before redistributing these files or incorporating them into another package.
Freshness
The source snapshot is pinned to commit 2d3ea3f68b910984f164da7d6240573acc20b5cf and was captured on 2026-11-16 at 22:02:45.009 UTC. This identifies the source version; it does not establish a release date or compatibility with the live DingTalk service.
Changes after that commit and the current validity of endpoint behavior, permission names, signing details and quotas are unknown.
Next steps
Before adoption, correct Webhook credential masking, protect the configuration file, make configuration updates safe for special characters, and replace fragile response parsing with a JSON parser. Add explicit HTTP failure handling and timeouts.
Confirm current DingTalk permissions, signing requirements and any required group read-status endpoint. Then evaluate one route with authorized recipients in a dedicated test conversation, checking partial failures and the relevant delivery or read results. Verify recall separately if it matters to the intended use.
Resolve the applicable licence terms before redistributing the source. None of these corrections or evaluations has been performed.
