AD dingtalk-contact
钉钉通讯录与联系人查询。当用户提到"钉钉通讯录"、"查找员工"、"搜索用户"、"查用户信息"、"获取用户详情"、"用户手机号"、"员工姓名"、"员工工号"、"查部门"、"搜索部门"、"部门成员"、"部门列表"、"部门详情"、"子部门"、"父部门"、"部门路径"、"员工总数"、"通讯录搜索"、"userId 转 unionId"、"unionId 转 userId"、"dingtalk contact"、"dingtalk directory"、"find user"、"get user info"、"department members"时使用此技能。支持:按关键词搜索用户/部门、获取用户完整信息(姓名/手机/工号/部门/职位/unionId)、获取部门成员列表、获取部门树结构、查询用户所在部门路径、员工总人数统计等全部通讯录操作。
As a process D 46/100 · Unfinished process — weak spots: result and completion, when it triggers, inputs and preconditions
How to improve
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 6
✓ No critical or high findings
Medium and low: 6
-
low Exfiltration
exfil-secret-in-urlscripts/dt_helper.sh:196Credential passed in a URL query string (normal for some APIs — verify the host is the intended service) (placeholder value)resp=$(curl -s "https://oapi.dingtalk.com/gettoken?appkey=…&appsecret=…")
placeholder -
low Exfiltration
net-credential-usescripts/dt_helper.sh:196Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)resp=$(curl -s "https://oapi.dingtalk.com/gettoken?appkey=…&appsecret=…")
vendor-host -
low Exfiltration
exfil-secret-in-urlscripts/dt_helper.sh:229Credential passed in a URL query string (normal for some APIs — verify the host is the intended service) (placeholder value)"https://oapi.dingtalk.com/topapi/v2/user/get?access_token=…" \
placeholder -
low Exfiltration
exfil-secret-in-urlscripts/dt_helper.sh:262Credential passed in a URL query string (normal for some APIs — verify the host is the intended service) (placeholder value)"https://oapi.dingtalk.com/topapi/user/getbyunionid?access_token=…" \
placeholder -
low Exfiltration
exfil-secret-in-urlSKILL.md:48Credential passed in a URL query string (normal for some APIs — verify the host is the intended service) (placeholder value)DETAIL=$(curl -s -X POST "https://oapi.dingtalk.com/topapi/v2/user/get?access_token=…" \
placeholder -
low Exfiltration
net-credential-useSKILL.md:48Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)DETAIL=$(curl -s -X POST "https://oapi.dingtalk.com/topapi/v2/user/get?access_token=…" \
vendor-host
Files scanned: 4. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
description-no-whendescription does not say WHEN to use the skill (no "use when")
Process rating: all ten parameters 46/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Failures and branches. Linear process with no failure handling
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 60Tools and files. Uses tools (bash) that frontmatter does not declare
- 100Steps. 4 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 722 tokens
- 100Running it twice. No mutating operations
- low The response is described with custom markup (3 tags): a typed call is more reliable
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- +1No license
- +2Single-language instructions
- +5Description quotes 8 example trigger phrases
- +3Description length 371: enough signal without eating the budget
- +4Structure: 6 headings
- +3Step-by-step instructions: 4 items
- +4Has examples (3 code blocks)
- +4Reference files are cited in the instructions (1 of 1)
- +3All 1 scripts are documented
Quality base 70; lint remarks subtract, signals add up to 100. Result: 84.