首页/产品经理/slack-search
S

slack-search

by @anthropicsv1.0.0
4.5(3)

高效搜索Slack消息、文件和对话信息,支持关键词过滤和上下文关联查询

slackcommunicationknowledge-managementsearchcollaborationGitHub
安装方式
npx skills add anthropics/knowledge-work-plugins --skill slack-search
compare_arrows

Before / After 效果对比

1
使用前

手动翻看历史消息、在不同频道间切换、模糊搜索关键词,找到一条信息需要10-15分钟

使用后

精准搜索语法快速定位目标消息、文件或联系人,30秒获取所需信息

description SKILL.md

slack-search

Slack Search

This skill provides guidance for effectively searching Slack to find messages, files, and information.

When to Use

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.

Search Tools Overview

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.

Search Strategy

Start Broad, Then Narrow

  • Begin with a simple keyword or natural language question.

  • If too many results, add filters (in:, from:, date ranges).

  • If too few results, remove filters and try synonyms or related terms.

Choose the Right Search Mode

  • Natural language questions (e.g., "What is the deadline for project X?") — Best for fuzzy, conceptual searches where you don't know exact keywords.

  • Keyword search (e.g., project X deadline) — Best for finding specific, exact content.

Use Multiple Searches

Don't rely on a single search. Break complex questions into smaller searches:

  • Search for the topic first

  • Then search for specific people's contributions

  • Then search in specific channels

Search Modifiers Reference

Location Filters

  • in:channel-name — Search within a specific channel

  • in:<#C123456> — Search in channel by ID

  • -in:channel-name — Exclude a channel

  • in:<@U123456> — Search in DMs with a user

User Filters

  • from:<@U123456> — Messages from a specific user (by ID)

  • from:username — Messages from a user (by Slack username)

  • to:me — Messages sent directly to you

Content Filters

  • is:thread — Only threaded messages

  • has:pin — Pinned messages

  • has:link — Messages containing links

  • has:file — Messages with file attachments

  • has::emoji: — Messages with a specific reaction

Date Filters

  • before:YYYY-MM-DD — Messages before a date

  • after:YYYY-MM-DD — Messages after a date

  • on:YYYY-MM-DD — Messages on a specific date

  • during:month — Messages during a specific month (e.g., during:january)

Text Matching

  • "exact phrase" — Match an exact phrase

  • -word — Exclude messages containing a word

  • wild* — Wildcard matching (minimum 3 characters before *)

File Search

To search for files, use the content_types="files" parameter with type filters:

  • type:images — Image files

  • type:documents — Document files

  • type:pdfs — PDF files

  • type:spreadsheets — Spreadsheet files

  • type:canvases — Slack Canvases

Example: content_types="files" type:pdfs budget after:2025-01-01

Following Up on Results

After finding relevant messages:

  • Use slack_read_thread to get the full thread context for any threaded message.

  • Use slack_read_channel with oldest/latest timestamps to read surrounding messages for context.

  • Use slack_read_user_profile to identify who a user is when their ID appears in results.

Common Pitfalls

  • Boolean operators don't work. AND, OR, NOT are not supported. Use spaces (implicit AND) and - for exclusion.

  • Parentheses don't work. Don't try to group search terms with ().

  • Search is not real-time. Very recent messages (last few seconds) may not appear in search results. Use slack_read_channel for the most recent messages.

  • Private channel access. Use slack_search_public_and_private when you need to include private channels, but note this requires user consent.

Weekly Installs221Repositoryanthropics/know…-pluginsGitHub Stars10.0KFirst SeenFeb 24, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykWarnInstalled oncodex209gemini-cli209cursor208opencode208github-copilot207kimi-cli206

forum用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价,来写第一条吧

统计数据

安装量200
评分4.5 / 5.0
版本1.0.0
更新日期2026年3月21日
对比案例1 组

用户评分

4.5(3)
5
0%
4
0%
3
0%
2
0%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code

时间线

创建2026年3月21日
最后更新2026年3月21日