feishu-contacts
Sync Feishu (Lark) contacts into USER.md so the agent can identify DM senders by name. Use when setting up Feishu identity recognition, updating contacts after HR changes, or configuring multi-user agent access. Feishu DMs only include open_id (no sender name), so this skill embeds an open_id→name lookup table directly in USER.md for zero-tool-call identification.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/4ier/feishu-contacts-syncWhat This Skill Does
The feishu-contacts skill provides a robust mechanism for mapping Feishu (Lark) open_id identifiers to human-readable names. By synchronizing your organization's contact list into your USER.md workspace file, the OpenClaw agent gains the ability to identify who is sending a direct message without requiring expensive or slow external tool calls. Since Feishu’s API architecture for DMs strips away sender names, this skill embeds a lookup table directly into your agent's system prompt context at runtime, enabling zero-latency identification of inbound messages.
Installation
- Ensure your Feishu/Lark app has the required
contact:user.employee_id:readonlyorcontact:user.base:readonlypermissions enabled in the Feishu Developer Console. - Install the skill via terminal:
clawhub install openclaw/skills/skills/4ier/feishu-contacts-sync. - Run the provided Python script:
python3 scripts/sync_feishu_contacts.py <config_path> <account_name> <user_md_path>. - Initialize the contact table in
USER.mdusing the required markdown header and table format provided in the documentation. - Update your
AGENTS.mdstartup instructions to enforce the lookup logic for DM metadata.
Use Cases
- Multi-user environments: Distinguish between team members messaging the agent simultaneously.
- Access Control: Tailor agent responses based on the specific seniority or role of the sender found in the contact list.
- HR Synchronization: Automate the update of contact lists after team restructuring to ensure the agent is always aware of new employees.
- Professionalism: Addressing team members by their names rather than anonymous IDs in logs and message history.
Example Prompts
- "Can you check if the message I just received in the private channel is from Alice or Bob?"
- "Please list all team members currently active in our Feishu workspace based on the synced contacts."
- "When I get a message from 'ou_abc123', how should you greet them according to my USER.md configuration?"
Tips & Limitations
- App Scoping: Remember that
open_idvalues are unique to specific Feishu apps. If you switch apps, you must re-sync the contacts. - Refresh Cycle: The agent loads
USER.mdat startup. After running the sync script, you must restart your gateway for the agent to recognize the updated contacts. - Automation: Configure a weekly crontab to ensure your contact mapping remains current without manual intervention.
- Privacy: The skill stores names locally in your
USER.mdfile; ensure your workspace security practices are followed.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-4ier-feishu-contacts-sync": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, external-api
Related Skills
claw-use-mihomo
Manage mihomo proxy - install, configure from subscriptions, monitor health, auto-switch nodes. Supports vmess/ss/trojan/vless protocols.
feishu-group
Teach OpenClaw how to work in Feishu (Lark) group chats — recognize who's talking, behave properly in groups vs DMs, respect multi-user privacy, and format messages for the platform. Use when connecting OpenClaw to Feishu and you want your agent to be a competent group participant, not just a responder.
openclaw-feishu-group-chat
Teach OpenClaw how to work in Feishu (Lark) group chats — recognize who's talking, behave properly in groups vs DMs, respect multi-user privacy, and format messages for the platform. Use when connecting OpenClaw to Feishu and you want your agent to be a competent group participant, not just a responder.
neo
Browse websites, read web pages, interact with web apps, call website APIs, and automate web tasks. Use Neo when: user asks to check a website, read a web page, post on social media (Twitter/X), interact with any web app, look up information on a specific site, scrape data from websites, automate browser tasks, or when you need to call any website's API. Keywords: website, web page, browse, URL, http, API, twitter, tweet, post, scrape, web app, open site, check site, read page, social media, online service.
Claw Use
Skill by 4ier