AGENT SKILL
send-message
Use when the user asks to send a message to a specific contact in Lark. The agent should open search, locate the contact, enter the chat window, paste the message content, and send with Enter.
使用场景Skill与智能体开发
- License 许可
- MIT
- 最近更新
- 2026-05-05
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- send-message
- description
- Use when the user asks to send a message to a specific contact in Lark. The agent should open search, locate the contact, enter the chat window, paste the message content, and send with Enter.
02 资源文件 1
- 脚本scripts/send_message.py13.1 KB
03 SKILL.md 正文
Send Message Skill
Provide robust guidance for message-sending workflows in Lark desktop clients.
Trigger
Use this skill when the user intent is equivalent to:
- 给 xxx 发消息 yyy
- 给 xxx 发送 yyy
- 帮我给 xxx 说 yyy
Workflow
- Open global search (
command+kon macOS /ctrl+kon Windows). - Input the contact name in search.
- Click the correct contact from search results (exact contact match only).
- After contact click succeeds, interact with the chat window. CRITICAL: Act as a smart human assistant! If the user's
messageintent is "发个表情包", you can useclick_positionto click the emoji button on the screen. - Press
enterto send.
ReAct constraints
- Make decisions only from the latest screenshot.
- Never rely on a fixed grid index across rounds.
- Contact selection must follow this priority:
- Prefer the top exact-match contact row in the search result area.
- Click the contact avatar/name row, not unrelated rows.
- If using click_position, carefully locate the exact center of the avatar or contact name.
- After entering the target chat, do not continue clicking coordinates; switch immediately to paste + send.
- If uncertain whether chat has switched to the target contact, prefer a conservative action (
waitor re-locate) over sending. - Treat accidental send to the wrong chat as highest-risk failure.
Output expectations
- Planning stage should include explicit steps for search -> contact selection -> message input -> send.
- ReAct stage should emit one function call per round and re-check UI state before sending.
04 同仓库更多 Skills
schedule-video-meeting
Automatically parse time and participants from natural language to schedule a video conference via UI automation.
★ 3
docs-editor
Use when the user asks to edit a Feishu Document, insert elements, or modify specific text in a document. The agent should use keyboard shortcuts for precision instead of mouse clicks.
★ 3