slack-search
anthropics/knowledge-work-plugins
Find messages, files, channels, and people in Slack with effective search strategies and modifiers.
What is slack-search?
This skill provides guidance for searching Slack to locate messages, conversations, files, and people. Use it when you need to find information in Slack or gather context before answering questions about what's happening in your workspace.
- Search public channels without requiring user consent using slack_search_public
- Search all channels including private, DMs, and group DMs with slack_search_public_and_private (requires consent)
- Find channels by name or description using slack_search_channels
- Find people by name, email, or role using slack_search_users
- Apply location, user, content, date, and text matching filters to narrow results
- Search for specific file types including images, documents, PDFs, spreadsheets, and Canvases
How to install slack-search
npx skills add https://github.com/anthropics/knowledge-work-plugins --skill slack-searchHow to use slack-search
- 1.Start with a simple keyword or natural language question to begin your search
- 2.Add filters like in:channel-name, from:username, or date ranges if you get too many results
- 3.If results are too few, remove filters and try synonyms or related terms
- 4.Break complex questions into multiple smaller searches targeting different aspects
- 5.Use slack_read_thread to get full context for threaded messages in your results
- 6.Use slack_read_channel with timestamps to read surrounding messages for additional context
Use cases
- Locate a specific message or conversation thread when a user asks you to find information
- Search for files of a particular type shared within a date range or channel
- Find contributions from specific team members on a topic by combining user and keyword filters
- Gather context about a project or decision by searching across multiple channels and date ranges
- Identify who a user is or find their contact information by searching user profiles
- Knowledge workers needing to find information across Slack conversations
- Teams managing projects or decisions documented in Slack
- Anyone gathering context or research from Slack before answering questions
slack-search FAQ
No, Boolean operators are not supported. Use spaces for implicit AND and the minus sign (-) to exclude terms.
Use the content_types="files" parameter with type filters like type:pdfs, type:images, type:documents, type:spreadsheets, or type:canvases.
Slack search is not real-time. Very recent messages (last few seconds) may not appear in search results. Use slack_read_channel to get the most recent messages.
Yes, searching private channels requires user consent. Use slack_search_public_and_private for this, while slack_search_public does not require consent.
Use date filters like before:YYYY-MM-DD, after:YYYY-MM-DD, on:YYYY-MM-DD, or during:month (e.g., during:january).
Full instructions (SKILL.md)
Source of truth, from anthropics/knowledge-work-plugins.
name: slack-search description: Guidance for effectively searching Slack to find messages, files, channels, and people
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 channelin:<#C123456>— Search in channel by ID-in:channel-name— Exclude a channelin:<@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 messageshas:pin— Pinned messageshas:link— Messages containing linkshas:file— Messages with file attachmentshas::emoji:— Messages with a specific reaction
Date Filters
before: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)
Text Matching
"exact phrase"— Match an exact phrase-word— Exclude messages containing a wordwild*— Wildcard matching (minimum 3 characters before*)
File Search
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 Canvases
Example: content_types="files" type:pdfs budget after:2025-01-01
Following Up on Results
After finding relevant messages:
- Use
slack_read_threadto get the full thread context for any threaded message. - Use
slack_read_channelwitholdest/latesttimestamps to read surrounding messages for context. - Use
slack_read_user_profileto identify who a user is when their ID appears in results.
Common Pitfalls
- Boolean operators don't work.
AND,OR,NOTare 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_channelfor the most recent messages. - Private channel access. Use
slack_search_public_and_privatewhen you need to include private channels, but note this requires user consent.
Related skills
More from anthropics/knowledge-work-plugins and the wider catalog.

smb-onboard
>

smb-router
>

source-management
Manages connected MCP sources for enterprise search with priority ordering and rate limit awareness.

sox-testing
Generate SOX 404 sample selections, testing workpapers, and control assessments for internal controls audits.

sprint-planning
Plan sprints by scoping work, estimating team capacity, and setting clear goals.

sql-queries
Write correct, performant SQL across Snowflake, BigQuery, Databricks, PostgreSQL, Redshift, and more.