lark-contact

SkillCommunityTranslated from Chinese

This skill provides tools for interacting with the Lark contact directory. It allows agents to resolve names or emails to open_ids and retrieve user details such as department, contact information, status, and signatures.

Install:
npx skills add open.feishu.cn/lark-contact

contact (v2)

CRITICAL, Before starting, you MUST use the Read tool to read ../lark-shared/SKILL.md, which contains authentication and permission handling.

Which command to choose

The user identity and bot identity are two completely independent paths. Determine the current identity first, then choose the command from the table below:

Goaluser identitybot identity
Search for employees by name / email to get open_id+search-userNot supported
Get profile of others with known open_id+search-user --user-ids <id>+get-user --user-id <id>
View yourself+get-user or +search-user --user-ids meNot supported
Check colleague's personal status / signatureuser_profiles batch_queryNot supported

If you already have the open_id and just want to send a message / schedule a meeting, there is no need to go through contact. Use lark-im / lark-calendar directly.

Typical scenarios

Find Zhang San to send him a message: search first, confirm the open_id, then send:

lark-cli contact +search-user --query "张三" --has-chatted --as user
lark-cli im +messages-send --user-id ou_xxx --text "Hi!"

Batch query colleague's personal status / personal signature (use schema to check parameters first).

lark-cli schema contact.user_profiles.batch_query
lark-cli contact user_profiles batch_query \
  --params '{"user_id_type":"open_id"}' \
  --data '{"user_ids":["ou_xxx","ou_yyy"],"query_option":{"include_personal_status":true,"include_description":true}}' \
  --as user

If the search returns multiple results and subsequent operations have side effects (sending messages, inviting to meetings, etc.), list the candidates for the user to choose from; do not choose the first one without authorization.

Notes

  • 41050 / Permission denied: Restricted by the visibility scope of the current identity (both commands may encounter this). Switch to bot identity or have an administrator adjust the visibility scope. See lark-shared for details.
  • Cross-tenant users (is_cross_tenant=true): Most business fields are empty strings. This is a Feishu visibility rule. Handle empty values in downstream processes.
  • ID type: Default is open_id. +get-user can change --user-id-type union_id|user_id; +search-user only accepts open_id.

Out of scope for this skill

  • Send messages / check chat history → lark-im
  • Schedule meetings / invite to meetings → lark-calendar
  • Department tree / list employees by department / organizational structure → lark-openapi-explorer to find native interfaces
Share:
Details:
  • Installs


    201,777
  • First seen


    Jun 10, 2026
View Repository

Auto-fetched from GitHub .

Stats via skills.sh.

Skills similar to lark-contact:

 

 
 
  • Installs


 

 
 
  • Installs


 

 
 
  • Installs