From slack-by-salesforce
Guidance for effectively searching Lark IM to find messages, files, channels, and people
How this skill is triggered — by the user, by Claude, or both
Slash command
/slack-by-salesforce:slack-searchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides guidance for effectively finding information in Lark IM — messages, files, group
This skill provides guidance for effectively finding information in Lark IM — messages, files, group
chats, and people. The Lark connector supersedes Slack here: route all reads through the curated
lark_* tools. For search grammar and pagination depth, delegate to the lark-im skill.
Depth core:
../../connectors/LARK-PATTERNS.md(P1 identity, P3 token economy — project reads withjq),../../connectors/LARK-RECIPES.md,../../connectors/LARK-FUSION.md.
Apply this skill whenever you need to find information in Lark IM — locating messages, conversations, files, or people, or gathering context before answering a question about what's happening in chat.
| Goal | Tool | Notes |
|---|---|---|
| Find messages / conversations | lark_im_search | Search chat history by keyword. Project results with jq (P3) — pull only the fields you need. |
Find a person (name/email/role → open_id) | lark_contact_search | P1 — resolve identity before any follow-up send/assign. |
| Find files shared in chat | lark_im_search | Filter to file/attachment content; see the lark-im skill for content-type filters. |
Anything without a curated tool goes through lark_api (Lark OpenAPI passthrough). For advanced
filters, pagination, and reading full thread context, defer to the lark-im skill.
project X deadline) — best for finding specific, exact content.Don't rely on a single search. Break complex questions into smaller searches:
lark_contact_search → filter by sender)Lark IM search can return large payloads. Always pass a jq projection to lark_im_search so you
keep only the fields you need (sender, timestamp, snippet) instead of full message bodies. Pull the
full payload only when you'll actually use it.
When a result references a person by open_id, resolve it to a name/department with
lark_contact_search (P1). Likewise, before any follow-up — a reply, a mention, an assignment —
resolve the target's open_id first; IDs cannot be guessed.
After finding relevant messages:
open_ids to people via lark_contact_search.lark_im_send /
lark_im_card_send).lark_base_record_upsert) or create a task (lark_task_create).open_id via lark_contact_search before
acting on a result.jq projection a broad search can burn tens of thousands of
tokens — project first (P3).npx claudepluginhub larkcowork/lark-cowork-plugins --plugin slack-by-salesforceCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.