본문으로 건너뛰기
cccskills
무료GitHub에 공개

lark-contact

Finds Lark contacts by name or email and retrieves open_id, an identifier used in later actions. It also looks up profile details, personal status, and signatures, and searches for bots or agents visible to the current user.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

飞书 / Lark 通讯录:按姓名 / 邮箱解析成 open_id,或按 open_id 反查姓名 / 部门 / 邮箱 / 联系方式 / 个人状态 / 签名,以及按关键词搜索当前用户可见的机器人 / 智能体(agent)。当用户提到一个名字要下一步发消息 / 排日程,或拿到 open_id 想查具体信息时使用。

不负责部门树遍历、按部门列员工、组织架构图,这类需求走原生 OpenAPI。

설치 방법 보기

이럴 때 유용합니다

  • Identifying a colleague before messaging or scheduling
  • Looking up a profile from a known open_id
  • Checking colleagues’ personal status and signatures
  • Finding bots or agents by keyword

포함된 파일(4)

  • SKILL.md3.7 KB
  • references/lark-contact-get-user.md625 B
  • references/lark-contact-search-bot.md2.5 KB
  • references/lark-contact-search-user.md5.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

选哪个命令

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

想做什么user 身份bot 身份
按姓名 / 邮箱搜员工拿 open_id+search-user不支持
按关键词搜索当前用户可见的机器人 / 智能体+search-bot不支持
已知 open_id 取他人资料+search-user --user-ids <id>+get-user --user-id <id>
查看自己+get-user 或 +search-user --user-ids me不支持
查同事的个人状态 / 签名user_profiles batch_query不支持

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

名字没说清是人还是机器人 / 智能体

用户给的名字常常不表明类型。例如「和 reviewDuck 约个会」里的 reviewDuck 可能是同事昵称,也可能是机器人。

  • 名字含 bot / agent / AI / 助手 / 机器人 / 智能体 / assistant 等明显特征时,反过来先搜机器人更快
  • 不确定的话两边都搜一下

典型场景

找张三给他发消息:先搜,确认 open_id,再发:

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

批量查同事的个人状态 / 个性签名(先用 schema 看参数)。

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

搜索命中多条且后续操作有副作用(发消息、邀请会议等),把候选列给用户挑;不要擅自选第一条。

搜索机器人 / 智能体

+search-bot 使用 user 身份按关键词搜索当前用户可见的机器人,返回 ou_ 开头的机器人 open_id。参数细节等见 lark-contact-search-bot.md。

lark-cli contact +search-bot --query '会议助手' --as user
lark-cli contact +search-bot --queries '会议助手,日报助手,审批助手' --as user

注意事项

  • 41050 / Permission denied 受当前身份的可见范围限制(三条命令都可能遇到)。细节见 lark-shared。
  • 跨租户用户(is_cross_tenant=true)多数业务字段为空字符串,这是飞书可见性规则,下游做空值兜底。
  • ID 类型:+get-user 可通过 --user-id-type 使用 open_id、union_id 或 user_id;+search-user 使用用户 open_id;+search-bot 不支持按 ID 查询,它按关键词搜索并返回机器人 open_id。

不在本 skill 范围

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Find and process approval requests in 飞书, including approving, rejecting, transferring, or returning them. Review forms and progress, search existing approval forms and workflows, and submit native requests such as leave or expense claims.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Review pending and completed approval requests
  • Approve, reject, or return a request
  • Find an existing form and submit leave or expense claims
larksuite/cli1.8만2026년 10월 16일 업데이트

lark-apps

무료

Build, publish, and manage apps on 妙搭(Spark/Miaoda) through local development or cloud AI sessions. Create page designs, manage data and permissions, inspect logs and usage, and configure automated triggers.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Build and publish a business app
  • Create landing pages and interactive prototypes
  • Inspect production logs and usage
larksuite/cli1.8만2026년 10월 16일 업데이트

Retrieve your own attendance clock records from 飞书 through lark-cli. The skill fills in fixed query parameters and uses read-only attendance access to look up the records you want to check.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Checking your own attendance clock records
  • Reviewing recorded clock-ins and clock-outs
  • Asking an agent to retrieve attendance records
larksuite/cli1.8만2026년 10월 16일 업데이트

lark-base

무료

Build and manage business tables in Feishu Base, including fields, records, views, and data queries. Create forms and dashboards, configure automated workflows, organize BaseApp pages and components, and manage role-based access permissions.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Create business tables and update records
  • Filter and summarize table data
  • Create information collection forms
larksuite/cli1.8만2026년 10월 16일 업데이트

Manage events, attendees, and meeting rooms in 飞书. Check shared availability, get meeting time suggestions that account for working hours and breaks, and create or update events with room reservations.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Review today's events or search upcoming meetings
  • Find suitable meeting times for several people
  • Book a room with a calendar event
larksuite/cli1.8만2026년 10월 16일 업데이트

lark-doc

무료

Read, summarize, create, and edit 飞书 Docx and Wiki document content. Revise wording, reorganize sections, insert local images or attachments, and retrieve document media, with additional support for document history and mind notes.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reading and summarizing online documents
  • Revising wording and reorganizing sections
  • Inserting images and attachments
larksuite/cli1.8만2026년 10월 16일 업데이트

larksuite의 스킬 모두 보기

이 스킬의 문제 신고