wecomteam/wecom-openclaw-plugin/wecomcli-contact

Claude Code and agent skill by wecomteam/wecom-openclaw-plugin

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

使用 wecom-cli 按姓名、拼音、英文名或别名搜索企业微信通讯录中的人员,并查询匹配人员的 userid、部门和职务。适用于查找联系人、区分同名人员、获取用户 userid,以及列出全部同名人员。

Install

npx vskill@latest install wecomteam/wecom-openclaw-plugin/wecomcli-contact

SKILL.md

The same SKILL.md was published earlier as yanhaidao/wecom/wecomcli-contact.

wecom-cli 是插件提供的 tool,不是终端命令:所有操作都通过调用该 tool 完成,参数应使用 args 传入,禁止通过 exec / shell / 终端等命令行方式使用。

⚠️ 前置条件:首次调用 wecom-cli 前,必须按 wecomcli-preflight 技能执行前置条件检查,确保工具已加入白名单。

企业微信联系人搜索

使用 wecom-cli 按关键词搜索企业微信通讯录中的人员。

接口

按关键词批量模糊搜索人员,一次最多 10 个关键词,返回命中 users 数组(姓名 / 英文名 / 职务 / 部门)。关键词可匹配的字段包括:姓名(用户名)、姓名拼音、英文名、别名,而不仅限于中文名和别名。

调用方式

使用 wecom-cli 工具按照下面格式调用

wecom-cli contact users search --json '<JSON 参数>'
参数
字段类型必填默认值语义
keywordsstring[]是—搜索关键词列表,可按姓名(用户名)/ 拼音 / 英文名 / 别名匹配,最多 10 个;多个关键词之间是 OR 关系
search_modestring否—搜索模式,默认不传该参数;仅当需要拿到完整人员名单时,才显式传 "list"
  • 默认(不传 search_mode):返回最相关的候选结果,用于常规按名 / 拼音等查单个人的场景,绝大多数场景走此分支。
  • 传 search_mode = "list":返回全量命中列表。仅当用户明确要"完整名单"时才传,典型话术如"一共有几个张三 / 所有叫李四的人 / 列出全部同名 / 全部同名人员"等清点、穷举意图;此时不受"前 5 位"展示上限约束。
返回
字段类型说明
usersarray命中的用户列表
users[].useridstring用户唯一标识
users[].namestring中文姓名
users[].aliasstring英文名 / 别名(可能为空)
users[].emailstring邮箱(可能为空)
users[].positionstring管理职务(如"负责人"),不是"职位"(可能为空)
users[].matched_keywordsstring[]本条 user 命中的请求关键词
users[].departmentsstring[]所在部门路径列表(从大到小),主部门靠前
hintstring结果限制提示(可能为空):当某个关键词的命中结果因限制未完整返回时,接口会在此字段给出说明
users_countintegerusers 数组元素数量
使用规则
  • 歧义展示上限:同一关键词下候选超过 5 位时,只展示前 5 位(附姓名 / 英文名 / 职务等区分信息),告知用户"若目标不在其中可要求『查看更多』",仅在用户明确要求时再展开下一批;
  • 展示顺序:必须严格按照接口返回 users 数组的原始顺序展示,不得自行随机排序、重排或打乱次序。
  • 结果限制提示:当返回中 hint 字段非空时,必须在回复中告知用户"当前返回内容有限,仅返回了部分结果",并可结合 hint 内容说明受限原因。

缺少参数

必填参数缺失(未提供搜索关键词)且上下文无法推断时,用简洁自然语言向用户追问缺失信息,不得猜测默认值。

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/wecomteam/wecom-openclaw-plugin/wecomcli-contact/badge)](https://verified-skill.com/skills/wecomteam/wecom-openclaw-plugin/wecomcli-contact)

Something wrong with this skill or its page? Tell us.