Agent skill

Dingtalk Contact

by breath57 in breath57/dingtalk-skills

钉钉通讯录与联系人查询。当用户提到"钉钉通讯录"、"查找员工"、"搜索用户"、"查用户信息"、"获取用户详情"、"用户手机号"、"员工姓名"、"员工工号"、"查部门"、"搜索部门"、"部门成员"、"部门列表"、"部门详情"、"子部门"、"父部门"、"部门路径"、"员工总数"、"通讯录搜索"、"userId 转 unionId"、"unionId 转 userId"、"dingtalk…

No licenceAuto-check passed

Install Dingtalk Contact

skills CLI
$ npx skills add breath57/dingtalk-skills --skill dingtalk-contact -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install breath57/dingtalk-skills dingtalk-contact --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/breath57/dingtalk-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/dingtalk-contact .claude/skills/dingtalk-contact && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dingtalk-contact
GitHub stars
101
Token cost
~870 tokens
SKILL.md length
122 words
Files
3 (incl. scripts, references)
Skills in repo
9
Repo updated
First seen
Licence
None found

At a glance

钉钉通讯录与联系人查询。当用户提到"钉钉通讯录"、"查找员工"、"搜索用户"、"查用户信息"、"获取用户详情"、"用户手机号"、"员工姓名"、"员工工号"、"查部门"、"搜索部门"、"部门成员"、"部门列表"、"部门详情"、"子部门"、"父部门"、"部门路径"、"员工总数"、"通讯录搜索"、"userId 转 unionId"、"unionId 转 userId"、"dingtalk…

  • Works in 5 steps: 先识别本次任务类型 →… → 按本次任务校验所需配置 → 通过 bash… → 仅收集缺失配置 → 若缺少某项,一次性询问用户所有缺失值,用 bash… → …
  • SKILL.md covers 工作流程(每次执行前) and references/api.md 查阅索引
  • Runs Shell scripts from its folder; calls bash and curl; reaches api.dingtalk.com and oapi.dingtalk.com; needs DINGTALK_APP_KEY and DINGTALK_APP_SECRET

What it does

Dingtalk Contact is an agent skill from breath57/dingtalk-skills. 钉钉通讯录与联系人查询。当用户提到"钉钉通讯录"、"查找员工"、"搜索用户"、"查用户信息"、"获取用户详情"、"用户手机号"、"员工姓名"、"员工工号"、"查部门"、"搜索部门"、"部门成员"、"部门列表"、"部门详情"、"子部门"、"父部门"、"部门路径"、"员工总数"、"通讯录搜索"、"userId 转 unionId"、"unionId 转 userId"、"dingtalk contact"、"dingtalk directory"、"find user"、"get user info"、"department members"时使用此技能。支持:按关键词搜索用户/部门、获取用户完整信息(姓名/手机/工号/部门/职位/unionId)、获取部门成员列表、获取部门树结构、查询用户所在部门路径、员工总人数统计等全部通讯录操作。

Its SKILL.md is about 870 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `references/api.md` and `scripts/dt_helper.sh`).

It works with Bash. The repository describes itself as: 【Openclaw & Hermes & 企业机器人🤖】钉钉Skill库,含:钉钉文档、知识库、AI(多维)表格、群(单)聊、会议室、日程、待办、通讯录、AI搜索等,自动管理配置,轻量级—仅依赖curl, skill经过严格测试。Lightweight DingTalk Skill Library (curl only). Includes AI…

Example prompts

  • “获取用户详情”
  • “userId 转 unionId”
  • “unionId 转 userId”
  • “/dingtalk-contact”

Requirements

  • A Bash shell
  • A credential in DINGTALK_APP_KEY
  • A credential in DINGTALK_APP_SECRET

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 先识别本次任务类型 → 例如:搜索用户、查用户详情、搜索部门、列部门成员、查部门路径、统计员工数
  2. 按本次任务校验所需配置 → 通过 bash scripts/dt_helper.sh --get KEY 读取;仅校验本任务必须项
  3. 仅收集缺失配置 → 若缺少某项,一次性询问用户所有缺失值,用 bash scripts/dt_helper.sh --set KEY=VALUE 写入
  4. 获取 Token → 直接调用 bash scripts/dt_helper.sh
  5. 执行操作 → 复杂的创建临时文件再执行,简单的直接执行;禁止 heredoc

What it can do on your machine

Read from SKILL.md and the folder at commit 2d3ea3f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash
    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.dingtalk.com
    • oapi.dingtalk.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • DINGTALK_APP_KEY
    • DINGTALK_APP_SECRET
    • OLD_TOKEN
    • NEW_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dingtalk Contact loads about 870 tokens when it runs, and up to ~2.6k if it reads all its reference files. Until then it costs about 97 tokens; SKILL.md has 122 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~97
When it runs · the whole SKILL.md, loaded when a task matches
~870
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 122 words (~870 tokens).

name
dingtalk-contact

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (scripts, references) in .agents/skills/dingtalk-contact of breath57/dingtalk-skills.

  • SKILL.md
  • references/api.md
  • scripts/dt_helper.sh

Open the folder on GitHubat commit 2d3ea3f

Compare with similar skills

Dingtalk Contact next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dingtalk Contact compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dingtalk Contact this skillbreath57/dingtalk-skills101—~870Automated safety check: PassNone
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k10 repos~4.1kAutomated safety check: NotesApache-2.0
Plugin Settings Patternanthropics/claude-plugins-official38k7 repos~3kAutomated safety check: PassApache-2.0
Mole Bug Patternstw93/Mole70k—~2kAutomated safety check: PassGPL-3.0
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
E2Ecallstack/react-native-pager-view3.4k1 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 10 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Plugin Settings Pattern

    anthropics/claude-plugins-official

    Official

    Shows how Claude Code plugins keep per-project settings and state in .claude/plugin-name.local.md files with YAML frontmatter and a markdown body.

    38k GitHub starsUsed in 7 repos~3k tokens
    Agent WorkflowsAuto-check passed
  • A catalog of recurring bug shapes in the Mole Mac cleaner, used to review safety-sensitive diffs for deletion safety, unbounded commands, shell traps and weak tests.

    70k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 9 days ago
    Agent WorkflowsAuto-check passed
  • E2E

    callstack/react-native-pager-view

    Agentic end-to-end tests with e2e, the e2e runner. An agent skill from callstack/react-native-pager-view.

    3.4k GitHub starsUsed in 1 repo~2.1k tokens
    Testing & QAAuto-check passed
  • Runs a spec-driven workflow from PRD to epic to GitHub issues to parallel agents, with status, standup and blocked-work reports from bundled scripts.

    8.4k GitHub stars~1.1k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check passed

More from breath57/dingtalk-skills

All 9 skills in this repo
  • Dingtalk AI Table

    breath57/dingtalk-skills

    钉钉 AI 表格(多维表格)操作。当用户提到"钉钉AI表格"、"AI表格"、"多维表格"、"工作表"、"字段"、"记录"、"新增记录"、"查询记录"、"更新记录"、"删除记录"、"新建字段"、"删除字段"、"dingtalk AI table"、"dingtalk notable"、"able文件"时使用此技能。支持工作表管理、字段管理、记录的增删改查等全部操作。

    101 GitHub stars~880 tokensUpdated 3 mo ago
    Auto-check passed
  • Dingtalk Calendar

    breath57/dingtalk-skills

    钉钉日程与日历。当用户提到"钉钉日程"、"日历"、"创建日程"、"新建会议"、"视频会议"、"钉钉会议"、"会议室"、"约会议室"、"会议室忙闲"、"空闲会议室"、"签到"、"签退"、"签到链接"、"签退链接"、"循环日程"、"重复日程"、"recurrence"、"查日程"、"日程列表"、"修改日程"、"删除日程"、"闲忙"、"忙闲"、"querySchedule"、"calendar"、"d…

    101 GitHub stars~1k tokensUpdated 3 mo ago
    Auto-check passed
  • Dingtalk Document

    breath57/dingtalk-skills

    钉钉知识库和文档管理操作。当用户提到"钉钉文档"、"知识库"、"新建文档"、"查看文档目录"、"读取文档内容"、"写入文档"、"更新文档"、"文档成员"、"dingtalk doc"、"knowledge base"时使用此技能。支持:创建知识库、查询知识库列表、新建文档/文件夹、读取/写入文档正文内容、管理成员权限等全部文档类操作。

    101 GitHub stars~888 tokensUpdated 3 mo ago
    Auto-check passed
  • Dingtalk Knowledge Search

    breath57/dingtalk-skills

    钉钉知识库搜索与读取。用于在钉钉沉淀知识里快速查资料、理解项目背景、梳理团队/部门信息、回答制度问题、整理新人入门材料、读取文档正文、导出 Markdown、下载文件,并可带图片和 diagram。

    101 GitHub stars~684 tokensUpdated 3 mo ago
    Auto-check passed
  • Dingtalk Message

    breath57/dingtalk-skills

    钉钉消息发送。当用户提到"钉钉消息"、"发消息"、"发通知"、"群通知"、"群消息"、"Webhook"、"机器人消息"、"机器人发消息"、"工作通知"、"单聊消息"、"群聊消息"、"撤回消息"、"消息已读"、"发送Markdown"、"发卡片消息"、"ActionCard"、"@某人"、"@员工"、"at某人"、"提醒某人"、"dingtalk message"、"send…

    101 GitHub stars~889 tokensUpdated 3 mo ago
    Auto-check passed
  • Dingtalk AI Web Search

    breath57/dingtalk-skills

    网页搜索与实时信息检索。需要查找最新资讯、实时数据、技术文档、热点事件,或用户说"搜一下"、"帮我查"、"查资料"、"web search"等时使用。基于小宿AI智能搜索,支持关键词搜索、时间范围过滤(一天/一周/一月/一年)、自定义结果数量、JSON 输出。

    101 GitHub stars~655 tokensUpdated 3 mo ago
    Auto-check passed

Works with

Questions about Dingtalk Contact

What does Dingtalk Contact do?

钉钉通讯录与联系人查询。当用户提到"钉钉通讯录"、"查找员工"、"搜索用户"、"查用户信息"、"获取用户详情"、"用户手机号"、"员工姓名"、"员工工号"、"查部门"、"搜索部门"、"部门成员"、"部门列表"、"部门详情"、"子部门"、"父部门"、"部门路径"、"员工总数"、"通讯录搜索"、"userId 转 unionId"、"unionId 转 userId"、"dingtalk…. Dingtalk Contact is an agent skill from breath57/dingtalk-skills.

How do I install Dingtalk Contact in Claude Code?

Run `npx skills add breath57/dingtalk-skills --skill dingtalk-contact -a claude-code`. Or copy the skill folder (.agents/skills/dingtalk-contact in breath57/dingtalk-skills) into .claude/skills/dingtalk-contact in your project. Claude Code loads it when a task matches its description.

How do I install Dingtalk Contact in Codex?

Run `npx skills add breath57/dingtalk-skills --skill dingtalk-contact -a codex`. Or copy the skill folder (.agents/skills/dingtalk-contact in breath57/dingtalk-skills) into .agents/skills/dingtalk-contact in your project. Codex loads it when a task matches its description.

Can I use Dingtalk Contact in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add breath57/dingtalk-skills --skill dingtalk-contact -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dingtalk-contact, .gemini/skills/dingtalk-contact, .github/skills/dingtalk-contact and .opencode/skills/dingtalk-contact in your project.

What does Dingtalk Contact need to run?

Going by SKILL.md and its folder, Dingtalk Contact needs a shell for the scripts in its folder, the command-line tools its instructions call (bash and curl) and credentials named DINGTALK_APP_KEY, DINGTALK_APP_SECRET, OLD_TOKEN and NEW_TOKEN. Our summary lists: A Bash shell; A credential in DINGTALK_APP_KEY; A credential in DINGTALK_APP_SECRET.

Does Dingtalk Contact access the network?

SKILL.md names 2 domains. In commands or code: api.dingtalk.com and oapi.dingtalk.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Dingtalk Contact safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Dingtalk Contact use?

No licence was found for Dingtalk Contact or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Dingtalk Contact use?

About 870 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.7k tokens, read only when the agent opens those files.

What are the alternatives to Dingtalk Contact?

Skills that share tags, products or a category with Dingtalk Contact: Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Plugin Settings Pattern (anthropics/claude-plugins-official, 38k stars), Mole Bug Patterns (tw93/Mole, 70k stars) and Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dingtalk Contact?

breath57 (a GitHub user) maintains it in breath57/dingtalk-skills, which has 101 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on June 26, 2026.

Source: breath57/dingtalk-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.