dingtalk-drive
钉盘文件存储。Use when 用户说 钉盘/上传文件/下载文件/文件夹/查文件/创建文件夹。Distinct from dingtalk-doc(钉钉文档内容编辑)、dingtalk-wiki(知识库空间)。命令前缀:dws drive。
pinned to #fc9acb9updated 2 weeks ago
Ask your AI client: “install skills/dingtalk-drive”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install skills/dingtalk-drivemetahub onboarded this repo on the author's behalf.
If you own github.com/DingTalk-Real-AI/dingtalk-workspace-cli on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
2,377
Last commit
2 weeks ago
Latest release
published
About this skill
Pulled from SKILL.md at publish time.
> 🧪 **EXPERIMENTAL · 试验版 / Preview** — multi 模式当前未达 stable 标准。22 个 dingtalk-* skill 全部通过 dispatch verifier,但接口、命名、跨 skill 引用后续可能调整;生产 / 共享环境请优先使用 mono 模式(`dws skill setup --mode mono`)。问题请提 issue 反馈。
Evaluation report
WarningsAutomated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.fc9acb9· 2 weeks ago
Documentation
41Description quality
54 words · 120 chars — "钉盘文件存储。Use when 用户说 钉盘/上传文件/下载文件/文件夹/查文件/创建文件夹。Distinct from dingtalk-doc(钉钉文档内容…"
README is present and substantial
32,991 chars · 12 sections · 25 code blocks
Tags / topics declaredwarn
No manifest tags and no GitHub repo topics
Add tags to the manifest (or GitHub topics on the repo) so the registry's search and category filters surface this artifact.
README has usage / example sections
found: Installation · Getting Started · Quick Start
Homepage / docs URL declared
no homepage declared (registry will use the repo URL) — info-only, not blocking
Release history
1- releasecurrentfc9acb9warn2 weeks ago
Contents
钉盘 Skill
🧪 EXPERIMENTAL · 试验版 / Preview — multi 模式当前未达 stable 标准。22 个 dingtalk-* skill 全部通过 dispatch verifier,但接口、命名、跨 skill 引用后续可能调整;生产 / 共享环境请优先使用 mono 模式(
dws skill setup --mode mono)。问题请提 issue 反馈。
PREREQUISITE: Read the
dws-sharedskill first for auth, global flags, product routing, URL preflight, error codes, and safety rules. Thedwsbinary must be on PATH.
⚠️ 命令可用性以当前 dws 二进制为准。服务发现已下线,本文档随内置 skill 发布;如果
dws <cmd> --help不存在,说明当前版本未暴露该命令。若命令存在但调用失败,请按错误中的 endpoint 或 tool 提示确认静态端点目录和后端工具注册。实际调用前可用dws <cmd> --help或--dry-run验证。
命令参考:drive.md。
意图表
| 用户说 | 命令 |
|---|---|
| "看钉盘文件 / 文件夹列表" | dws drive list --limit 20 [--folder <fileId>] |
| "按名字搜文件(不知道在哪)" | dws drive search --query "<关键词>" |
| "看钉盘空间 / 团队文件 / 有哪些 space" | dws wiki space list --type orgSpace(drive list-spaces 已 deprecated) |
| "最近访问 / 最近编辑的文档" | dws drive recent |
| "钉盘目录树" | python scripts/drive_tree_list.py --depth 2 |
| "查文件元数据" | dws drive info --node <fileId> |
| "下载文件" | dws drive download --node <fileId> --output <path> |
| "上传本地文件" | dws drive upload --file ./report.pdf [--folder <fileId>] |
| "建文件夹" | dws drive mkdir --name "<名称>" [--folder <fileId>] |
| "复制 / 移动 / 重命名" | dws drive copy / move / rename --node <fileId> --name "<主名>" |
| "删除文件 / 移到回收站(需确认)" | dws drive delete --node <fileId> --yes |
| "回收站 / 还原" | dws drive recycle list / recycle restore --id <recycleItemId> |
| "公开 / 取消公开 / 查公开状态" | dws drive publish set / unset / get --node <fileId> |
评测高频硬约束
- 找文件优先用
drive search --query "<关键词>"(不知道位置时全局搜);只有需要逐层浏览时才用drive list。命中后必须drive info --node <fileId> --format json回读元数据。 - ID 字段选择:
drive list返回同时有dentryId(纯数字)和fileId(UUID 格式)。所有--node和--folder参数必须用fileId,纯数字dentryId会被拒绝。 drive list默认--limit 20,最大 50;要更多用--cursor翻页,不要因参数边界报错反复重试。rename的--name只传主名,不带扩展名;服务端会按原扩展名自动补后缀,带了扩展名会变成双扩展名(如报告.txt→报告.txt.txt)。drive download需要--output指定本地保存路径或目录;不要省略必填输出位置。- 删除、覆盖、移动、公开(publish set/unset)等破坏性操作必须先确认;上传、创建文件夹、下载后要读回或列目录验证。
- 所有
dws drive命令加--format json。
跨产品协作
- 文件内容编辑(钉钉文档)→ 切到
dingtalk-doc - 知识库空间 → 切到
dingtalk-wiki
Reviews
No reviews yet. Be the first.
Related
Verification Before Completion
Evidence before assertions, always
Writing Plans
Turn specs into phased implementation plans
Test-Driven Development
Red → green → refactor discipline for any feature or bugfix
mh install skills/dingtalk-drive