
Wecomcli Contact
Search WeCom contacts by name, pinyin, English name, or alias to find userids, departments, and positions.
- skills.sh installs
- 26.7K
- GitHub stars
- 3.4K
- last updated
- Aug 21, 2026
What it does
- Covers batch fuzzy search of up to 10 keywords per call via
wecom-cli contact users search --json, with OR matching across keywords - Returns userid, Chinese name, English name or alias, email, management position, matched keywords, and department paths
- Caps ambiguous keyword results at 5 entries unless the user asks for more, and uses
search_mode: "list"for full name lists - Designed for looking up contacts, telling apart people with the same name, and listing every match for a name
Install
$ npx -y skills add wecomteam/wecom-cli --skill wecomcli-contact -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
企业微信联系人搜索
执行任何
wecom-cli命令前,必须先读取并完成wecomcli-shared技能的公共前置检查。
使用 wecom-cli 按关键词搜索企业微信通讯录中的人员。
接口
按关键词批量模糊搜索人员,一次最多 10 个关键词,返回命中 users 数组(姓名 / 英文名 / 职务 / 部门)。关键词可匹配的字段包括:姓名(用户名)、姓名拼音、英文名、别名,而不仅限于中文名和别名。
命令
wecom-cli contact users search --json '<JSON 参数>'
参数
| 字段 | 类型 | 必填 | 默认值 | 语义 |
|---|---|---|---|---|
keywords | string[] | 是 | — | 搜索关键词列表,可按姓名(用户名)/ 拼音 / 英文名 / 别名匹配,最多 10 个;多个关键词之间是 OR 关系 |
search_mode | string | 否 | — | 搜索模式,默认不传该参数;仅当需要拿到完整人员名单时,才显式传 "list" |
- 默认(不传
search_mode):返回最相关的候选结果,用于常规按名 / 拼音等查单个人的场景,绝大多数场景走此分支。 - 传
search_mode = "list":返回全量命中列表。仅当用户明确要"完整名单"时才传,典型话术如"一共有几个张三 / 所有叫李四的人 / 列出全部同名 / 全部同名人员"等清点、穷举意图;此时不受"前 5 位"展示上限约束。
返回
Details
- Repository
- github.com/wecomteam/wecom-cli
- Categories
- Email & Messaging, Business, Legal & HR
- First seen
- Apr 16, 2026
More from wecomteam/wecom-cli
All 7Similar to Wecomcli Contact
More Email & Messaging
wecomcli-meetingwecomteam/wecom-cli26.7K installs企业微信会议技能,支持创建预约会议、查询会议列表、获取会议详情、取消会议、更新会议成员。当用户需要"创建会议"、"预约会议"、"约会议"、"安排会议"、"查看会议"、"查询会议列表"、"会议详情"、"什么时候开会"、"有哪些会议"、"查找会议"、"取消会议"、"删除会议"、"修改会议成员"、"添加会议参与人"、"移除会
resendresend/resend-skills24.7K installsUse when working with the Resend email API — sending transactional emails (single or batch), receiving inbound emails via webhooks, managing email templates, tr
wecom-unifiedwecomteam/wecom-unified15.2K installs企业微信 CLI 全能套件,覆盖通讯录、消息、文档、日程、会议、待办 6 大业务域。支持按姓名/别名查找联系人、收发消息(文本/图片/文件/语音/视频)、读取/创建/编辑文档(可由'https://doc.weixin.qq.com/XXXX'链接触发)、创建/读取/修改表格(在线表格)内容、追加行、增删子工作表、读写
email-best-practicesresend/resend-skills14.5K installsUse when building email features, emails going to spam, high bounce rates, setting up SPF/DKIM/DMARC authentication, implementing email capture, ensuring compli
resend-cliresend/resend-skills14.2K installsOperate the Resend platform from the terminal — send emails (including React Email .tsx templates via --react-email), manage domains, contacts, broadcasts, temp
agent-email-inboxresend/resend-skills14.1K installsUse when building any system where email content triggers actions — AI agent inboxes, automated support handlers, email-to-task pipelines, or any workflow proce