General 28,887 installs

lark-contact

by larksuite/cli

飞书 / Lark 通讯录,用于按姓名 / 邮箱把员工解析成 open_id,以及按 open_id 反查员工的姓名 / 部门 / 邮箱 / 联系方式。当用户说出某人姓名而下一步需要发消息 / 加群 / 排日程时,先用本 skill 把姓名换成 ID;当输出里出现 open_id…

Skill content

Lark directory lookup to convert employee names and emails to open_ids, and reverse-lookup employee details by ID.

- Two independent command paths for user and bot identities: search by name/email for open_id (user only), or fetch employee details by open_id (both identities)

- Handles permission scoping, cross-tenant visibility rules, and multiple ID types (open_id, union_id, user_id)

- Integrates with lark-im and lark-calendar for downstream messaging, scheduling, and group operations after ID resolution

lark-contact

选哪个命令

user 身份和 bot 身份是两条完全独立的路径。先确定当前身份,再按下表选命令:

想做什么
user 身份
bot 身份

按姓名 / 邮箱搜员工拿 open_id
+search-user
不支持

已知 open_id 取他人资料
+search-user --user-ids <id>
+get-user --user-id <id>

查看自己
+get-user 或 +search-user --user-ids me
不支持

已知 open_id 只是想发消息 / 排日程,不必经过 contact -- 直接 lark-im / lark-calendar。

典型场景