lark-contact

Retrieve and search Lark organization contacts via lark-cli commands.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/2p1c/2p1c_blog --skill lark-contact-2p1c
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-contact
Source: https://github.com/2p1c/2p1c_blog/tree/main/.agents/skills/lark-contact
Command: npx skills add https://github.com/2p1c/2p1c_blog --skill lark-contact-2p1c

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill makes it easy to view personal info, find colleagues by name, email or phone, and understand the organizational structure from the Lark directory using a simple CLI.

Core Features & Use Cases

  • Retrieve current user information (self) without providing a user_id.
  • Retrieve specific user information by supplying a user_id (open_id by default).
  • Search employees by name, email, or phone number, with results that help locate colleagues quickly.
  • Access handy shortcuts like lark-cli contact +get-user and +search-user to streamline common tasks.
  • Explore department structures to understand reporting lines and teams within the organization.

Quick Start

Directly run lark-cli contact +get-user to fetch your own profile, or supply --user-id to look up a coworker.

Frequently Asked Questions about lark-contact

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search for an employee in my organization's Lark directory from the command line?

You can search organization contacts using the lark-cli contact +search-user shortcut, which retrieves employee information by matching name, email, or phone number. It returns directory results directly in your CLI workflow.

Can I fetch my own Lark user profile without providing a user ID?

Yes, you can retrieve your current user information by running lark-cli contact +get-user without supplying any user_id. The CLI automatically fetches your personal profile data based on your authenticated session.

How do I look up a specific coworker's user info using their open_id?

To retrieve specific user information, run lark-cli contact +get-user and supply the target employee's open_id via the --user-id argument. This fetches their personal details from the Lark directory.

Do I need authentication to access the Lark org contact directory via CLI?

Yes, querying organization contacts requires proper lark-cli authentication scopes. You must authenticate your CLI session beforehand to enforce access controls and successfully retrieve employee data.

Can I explore department structures and reporting lines through the Lark CLI?

Yes, the CLI allows you to explore department structures to understand reporting lines and teams within your organization. This helps you navigate internal IT and HR directory data directly from the command line.