<< All versions

Skill v1.0.2

currentAutomated scan100/100
dtyq/magic/dingtalk-cli

+1 new, ~1 modified

──Details
PublishedNovember 15, 2026 at 05:49 AM
Content Hashsha256:075af85ad0bb67fe...
Git SHAb90c55157e1b
Bump Typepatch
Compare with v1.0.1
──Files
Files (1 file, 4.8 KB)
SKILL.md4.8 KBactive
SKILL.md · 100 lines · 4.8 KB

name: dingtalk-cli description: "Use when the user wants to log in to DingTalk or check authentication and permissions; read, query, search, send, reply to, forward, or recall messages and chat history; manage group chats or send DING alerts; find coworkers or query contacts, departments, and reporting relationships; read, search, create, or edit docs, drive files, spreadsheets, AI tables, wiki, mail, calendars, meeting rooms, AI meeting minutes, todos, reports, whiteboards, or AI cards; query attendance or live sessions, handle OA approvals, manage goals, contracts, digital employees, or applications; subscribe to real-time events; or look up developer documentation and use DingTalk OpenAPI." metadata: version: "1.0.2"


DingTalk CLI Skill Index

The dws command is provided by the Super Magic runtime. Its current default installation contains separate dingtalk-* skills under ~/.agents/skills/. Use the task-specific skill below; do not require the legacy all-in-one dws skill.

Choose a Skill

For a clear product request, load only the matching skill with read_skills and follow its reference and shared-rule requirements. For authentication, account selection, an ambiguous request, or a cross-product workflow, start with dingtalk-shared.

User intentLoad skill
Login, authentication status, accounts, profiles, or cross-product routingdingtalk-shared
Read, search, send, reply to, forward, or recall messages; manage chatsdingtalk-chat
Find people by name, department, responsibility, or reporting linesdingtalk-aisearch
Look up users, departments, and directory relationshipsdingtalk-contact
Read, create, or edit DingTalk documents and document contentdingtalk-doc
List, upload, download, or organize cloud drive filesdingtalk-drive
Operate AI tables, fields, records, views, charts, or dashboardsdingtalk-aitable
Manage calendar events, attendees, meeting rooms, or availabilitydingtalk-calendar
Read or send maildingtalk-mail
Query meeting minutes, transcripts, summaries, or action itemsdingtalk-minutes
Manage todosdingtalk-todo
Manage wiki spaces, nodes, or membersdingtalk-wiki
Listen for future messages, approval changes, or other real-time eventsdingtalk-event
Create or update AI cardsdingtalk-aicard
Manage digital employees or their local agent connectionsdingtalk-tag
Approvals, attendance, DING, reports, spreadsheets, whiteboards, contracts, goals, app development, OpenAPI, or other long-tail productsdingtalk-misc
read_skills(skill_names=["dingtalk-shared"])
read_skills(skill_names=["dingtalk-chat"])
read_skills(skill_names=["dingtalk-misc"])

Use the loaded skill's returned <skill_dir> to resolve reference files. Do not guess a per-product skill name from the CLI command: several products share dingtalk-misc.

Authentication in the Super Magic Sandbox

For a status-only request, use the local snapshot without refreshing credentials:

bash
dws auth status --readonly --format json

A snapshot is not an online token-validity check. Before a business operation, follow the selected skill's authentication requirements. If login is needed, use the device flow because the user's browser cannot reach the sandbox's loopback listener:

bash
dws auth login --device --no-browser

Start login with shell_exec. If it returns a background task ID, return the authorization link and required user code to the user before waiting. After the user confirms authorization, use shell_await to resume that same task. Do not start duplicate login attempts. --no-browser alone only suppresses browser launch; it does not replace --device. Verify the result with:

bash
dws auth status --format json

Do not initiate login merely to answer whether the user is already logged in. Follow the shared account-selection rules; do not pick an arbitrary account. Never expose access tokens, client secrets, or credential files.

Command Discovery and Missing Skills

Inspect the installed CLI before choosing parameters:

bash
dws --help
dws <product> --help
dws <product> <command> --help
dws schema --cli-path "<command path>" --compact --format json

Use only commands supported by the installed version. A CLI command being available does not prove its skill is installed. If a selected skill is missing, inspect the installed skill directories. Use legacy dws guidance only when that mono skill is actually installed. Otherwise report the missing runtime skill; do not install, upgrade, or change skill mode inside the sandbox.

Follow the selected skill's confirmation and retry rules. A zero process exit code alone does not prove the requested business operation completed.

← v1.0.1All versions