slack-search by anthropics/knowledge-work-plugins
npx skills add https://github.com/anthropics/knowledge-work-plugins --skill slack-search此技能提供在 Slack 中高效搜索消息、文件和信息的指导。
当您需要在 Slack 中查找信息时,即可应用此技能——包括当用户要求您查找消息、对话、文件或人员时,或者在回答有关 Slack 中动态的问题之前需要收集上下文时。
| 工具 | 使用场景 |
|---|---|
slack_search_public | 仅搜索公共频道。无需用户同意。 |
slack_search_public_and_private | 搜索所有频道,包括私密频道、私信和群组私信。需要用户同意。 |
slack_search_channels | 按名称或描述查找频道。 |
slack_search_users | 按姓名、电子邮件或角色查找人员。 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
in:、from:、日期范围)。project X deadline)—— 最适合查找具体的、确切的内容。不要依赖单次搜索。将复杂问题分解为多个较小的搜索:
in:channel-name — 在特定频道内搜索in:<#C123456> — 按 ID 在频道中搜索-in:channel-name — 排除某个频道in:<@U123456> — 在与用户的私信中搜索from:<@U123456> — 来自特定用户的消息(按 ID)from:username — 来自用户的消息(按 Slack 用户名)to:me — 直接发送给您的消息is:thread — 仅限主题帖消息has:pin — 已置顶的消息has:link — 包含链接的消息has:file — 带有文件附件的消息has::emoji: — 带有特定表情符号回复的消息before:YYYY-MM-DD — 某个日期之前的消息after:YYYY-MM-DD — 某个日期之后的消息on:YYYY-MM-DD — 特定日期的消息during:month — 特定月份期间的消息(例如,during:january)"exact phrase" — 匹配确切短语-word — 排除包含某个词的消息wild* — 通配符匹配(* 前至少需要 3 个字符)要搜索文件,请使用带有类型筛选器的 content_types="files" 参数:
type:images — 图像文件type:documents — 文档文件type:pdfs — PDF 文件type:spreadsheets — 电子表格文件type:canvases — Slack 画布文件示例:content_types="files" type:pdfs budget after:2025-01-01
找到相关消息后:
slack_read_thread 获取任何主题帖消息的完整主题上下文。oldest/latest 时间戳的 slack_read_channel 来阅读周围的消息以获取上下文。slack_read_user_profile 来识别该用户是谁。AND、OR、NOT。使用空格(隐式 AND)和 - 进行排除。() 对搜索词进行分组。slack_read_channel 获取最新的消息。slack_search_public_and_private,但请注意这需要用户同意。每周安装数
74
代码仓库
GitHub 星标数
8.9K
首次出现
Feb 24, 2026
安全审计
安装于
codex71
opencode70
github-copilot70
kimi-cli70
amp70
gemini-cli70
This skill provides guidance for effectively searching Slack to find messages, files, and information.
Apply this skill whenever you need to find information in Slack — including when a user asks you to locate messages, conversations, files, or people, or when you need to gather context before answering a question about what's happening in Slack.
| Tool | Use When |
|---|---|
slack_search_public | Searching public channels only. Does not require user consent. |
slack_search_public_and_private | Searching all channels including private, DMs, and group DMs. Requires user consent. |
slack_search_channels | Finding channels by name or description. |
slack_search_users | Finding people by name, email, or role. |
in:, from:, date ranges).project X deadline) — Best for finding specific, exact content.Don't rely on a single search. Break complex questions into smaller searches:
in:channel-name — Search within a specific channelin:<#C123456> — Search in channel by ID-in:channel-name — Exclude a channelin:<@U123456> — Search in DMs with a userfrom:<@U123456> — Messages from a specific user (by ID)from:username — Messages from a user (by Slack username)to:me — Messages sent directly to youis:thread — Only threaded messageshas:pin — Pinned messageshas:link — Messages containing linkshas:file — Messages with file attachmentshas::emoji: — Messages with a specific reactionbefore:YYYY-MM-DD — Messages before a dateafter:YYYY-MM-DD — Messages after a dateon:YYYY-MM-DD — Messages on a specific dateduring:month — Messages during a specific month (e.g., during:january)"exact phrase" — Match an exact phrase-word — Exclude messages containing a wordwild* — Wildcard matching (minimum 3 characters before *)To search for files, use the content_types="files" parameter with type filters:
type:images — Image filestype:documents — Document filestype:pdfs — PDF filestype:spreadsheets — Spreadsheet filestype:canvases — Slack CanvasesExample: content_types="files" type:pdfs budget after:2025-01-01
After finding relevant messages:
slack_read_thread to get the full thread context for any threaded message.slack_read_channel with oldest/latest timestamps to read surrounding messages for context.slack_read_user_profile to identify who a user is when their ID appears in results.AND, OR, NOT are not supported. Use spaces (implicit AND) and - for exclusion.().slack_read_channel for the most recent messages.slack_search_public_and_private when you need to include private channels, but note this requires user consent.Weekly Installs
74
Repository
GitHub Stars
8.9K
First Seen
Feb 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
codex71
opencode70
github-copilot70
kimi-cli70
amp70
gemini-cli70
Python PDF处理教程:合并拆分、提取文本表格、创建PDF文件
55,400 周安装