Agent skill

Wecomcli Contact

by WecomTeam in WecomTeam/wecom-cli

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

MITAuto-check passedDocuments & Office

Install Wecomcli Contact

skills CLI
$ npx skills add WecomTeam/wecom-cli --skill wecomcli-contact -a claude-code

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

GitHub CLI
$ gh skill install WecomTeam/wecom-cli wecomcli-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/WecomTeam/wecom-cli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/wecomcli-contact .claude/skills/wecomcli-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
wecomcli-contact
GitHub stars
3.2k
Used in
1 other repo
Token cost
~434 tokens
SKILL.md length
108 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

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

  • Documents & Office work in your project
  • SKILL.md covers 接口 and 缺少参数
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

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

Its SKILL.md is about 430 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office. The repository describes itself as: 企业微信开放平台命令行工具 — 让人类和 AI Agent 都能在终端中操作企业微信. The licence is MIT.

When your agent uses it

  • Documents & Office work in your project

Example prompts

  • “/wecomcli-contact”

What it can do on your machine

Read from SKILL.md and the folder at commit c4b9b66. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

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

  • Network

    No URLs in SKILL.md.

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

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

Context cost

Wecomcli Contact loads about 434 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 108 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~434

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from WecomTeam/wecom-cli at commit c4b9b66, republished under its MIT licence (© WecomTeam). 108 words, ~434 tokens.

Download SKILL.mdSave it as .claude/skills/wecomcli-contact/SKILL.md (or your agent's skills folder).
name
wecomcli-contact
description
使用 wecom-cli 按姓名、拼音、英文名或别名搜索企业微信通讯录中的人员,并查询匹配人员的 userid、部门和职务。适用于查找联系人、区分同名人员、获取用户 userid,以及列出全部同名人员。

企业微信联系人搜索

执行任何 wecom-cli 命令前,必须先读取并完成 wecomcli-shared 技能的公共前置检查。

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

接口

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

命令
bash
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 内容说明受限原因。

缺少参数

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

© WecomTeam, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/wecomcli-contact of WecomTeam/wecom-cli.

Open the folder on GitHubat commit c4b9b66

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in WecomTeam/wecom-cli, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Wecomcli 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.

Wecomcli Contact compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Wecomcli Contact this skillWecomTeam/wecom-cli3.2k1 repos~434Automated safety check: PassMIT
Markdown Article FormatterJimLiu/baoyu-skills26k6 repos~3.5kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78214 repos~3.2kAutomated safety check: NotesMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0
DOCXrvdbreemen/OTGW-firmware20733 repos~4.3kAutomated safety check: PassProprietary
Gzh Designisjiamu/gzh-design-skill3.9k1 repos~2.2kAutomated safety check: PassAGPL-3.0

Similar skills

  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    26k GitHub starsUsed in 6 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    782 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • DOCX

    rvdbreemen/OTGW-firmware

    A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).

    207 GitHub starsUsed in 33 repos~4.3k tokens
    Documents & OfficeAuto-check passed
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    3.9k GitHub starsUsed in 1 repo~2.2k tokens
    Documents & OfficeAuto-check passed
  • Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.

    41k GitHub stars~2.5k tokensUpdated yesterday
    Documents & OfficeAuto-check passed

More from WecomTeam/wecom-cli

All 14 skills in this repo
  • WeCom Online Doc Manager

    WecomTeam/wecom-cli

    Creates WeCom online docs, imports local .doc, .docx or .txt files as docs, reads their content and appends to or overwrites them through wecom-cli.

    3.2k GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • WeCom To-Do Manager

    WecomTeam/wecom-cli

    Manages WeCom to-dos from the terminal with wecom-cli: create, list, filter, update, finish and delete them, including assignees and deadlines.

    3.2k GitHub starsUsed in 2 repos~727 tokens
    Auto-check passed
  • WeCom Calendar Scheduler

    WecomTeam/wecom-cli

    Books, views, searches, updates, cancels or checks free/busy time on WeCom (Enterprise WeChat) calendars and meeting rooms, routed away from online-meeting creation.

    3.2k GitHub starsUsed in 1 repo~3.7k tokens
    Auto-check passed
  • WeCom Document Management

    WecomTeam/wecom-cli

    Searches WeCom documents by keyword, recent views or creator, renames them, adds member permissions and sets link-join rules across doc, sheet, smartsheet and smartpage types.

    3.2k GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • WeCom Email Manager

    WecomTeam/wecom-cli

    Sends, replies to, forwards and searches enterprise WeChat mail through wecom-cli, including emailed calendar invitations and meeting bookings.

    3.2k GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • WeCom Meeting Manager

    WecomTeam/wecom-cli

    Creates, finds, updates and cancels WeCom online meetings from the terminal, reads their details, summaries and transcripts, and keeps meetings apart from calendar events.

    3.2k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed

Questions about Wecomcli Contact

What does Wecomcli Contact do?

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

When should I use Wecomcli Contact?

Wecomcli Contact fits situations like: documents & Office work in your project.

How do I install Wecomcli Contact in Claude Code?

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

How do I install Wecomcli Contact in Codex?

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

Can I use Wecomcli 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 WecomTeam/wecom-cli --skill wecomcli-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/wecomcli-contact, .gemini/skills/wecomcli-contact, .github/skills/wecomcli-contact and .opencode/skills/wecomcli-contact in your project.

What does Wecomcli Contact need to run?

SKILL.md names no scripts, command-line tools or credentials: Wecomcli Contact is instructions for the agent only.

Does Wecomcli Contact access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Wecomcli 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. Review the folder before installing.

What licence does Wecomcli Contact use?

Wecomcli Contact is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Wecomcli Contact use?

About 434 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Wecomcli Contact?

Skills that share tags, products or a category with Wecomcli Contact: Markdown Article Formatter (JimLiu/baoyu-skills, 26k stars), Markitdown (ImCa0/just-laws, 782 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and DOCX (rvdbreemen/OTGW-firmware, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Wecomcli Contact?

WecomTeam (a GitHub organization) maintains it in WecomTeam/wecom-cli, which has 3,166 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on September 24, 2026.

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