dingtalk-contact
钉钉通讯录精确查询(按 userId 查详情、部门搜索、部门成员列表、查自己信息、离职员工查询、花名册档案)。Use when 用户说 查部门/部门成员/我的信息/按工号查/按 userId 查/orgAuthEmail/离职员工/离职名单/花名册。Distinct from dingtalk-aisearch(模糊搜人首选:找同事/查上下级/谁负责)。命令前缀:dws contact。
pinned to #fc9acb9updated 2 weeks ago
Ask your AI client: “install skills/dingtalk-contact”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install skills/dingtalk-contactmetahub 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
101 words · 195 chars — "钉钉通讯录精确查询(按 userId 查详情、部门搜索、部门成员列表、查自己信息、离职员工查询、花名册档案)。Use when 用户说 查部门/部门成员/我的信…"
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验证。
命令参考:contact.md;剧本:08-directory.md。
意图表
| 用户说 | 命令 |
|---|---|
| "查我自己的信息" | dws contact user get-self |
| "按 userId 查详情" | dws contact user get --ids <userId1>,<userId2>,...(多个并行) |
| "按部门名拉成员" | python scripts/contact_dept_members.py --query "<部门名>" |
| "搜部门" | dws contact dept search --query "<关键词>" |
| "部门成员列表" | dws contact dept list-members --depts <deptId> |
| "离职员工/离职名单/已离职" | dws contact user dismission search(可加 --name / --start + --end / --depts) |
| "花名册/员工档案/学历/银行卡/合同" | dws contact user profile get --staff-id <STAFF_ID>(先 profile fields 查字段) |
评测高频硬约束
- 通讯录问题必须调用
dws contact或dws aisearch获取实时结果;严禁只读USER.md、环境身份或静态上下文后直接回答。 - 查自己用
dws contact user get-self --format json,不要把me/self/current当作userId传给user get。 - 精确找人、按工号、按手机号:先用
dws aisearch person --keyword "<完整输入>" --dimension name/jobNumber/phone --format json或对应contact user search/search-mobile;拿到userId后必须dws contact user get --ids <userId> --format json补部门/职位/邮箱。 - 查询直属主管/上下级时,如果
contact user get没返回明确主管字段,必须继续dws aisearch person --keyword "<完整姓名或工号>" --dimension supervisor --format json,不要停在"可能需要进一步查询"。 - 多个同名候选时,批量
contact user get --ids id1,id2,... --format json获取部门/职位后再消歧;不要默认取第一个。
跨产品协作
- 模糊找人(姓名 / 上下级 / 谁负责 / 工号 / 手机号)→ 切到
dingtalk-aisearch - 拿到 email 发邮件 → 切到
dingtalk-mail - 拿到 userId 发消息 → 切到
dingtalk-chat
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-contact