Slack search

From anthropics/knowledge-work-plugins · View interactive version

Slack search is an AI agent skill from the GitHub repository anthropics/knowledge-work-plugins. Guidance for effectively searching Slack to find messages, files, channels, and people

How to use this skill

Skill file

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

  1. Begin with a simple keyword or natural language question.
  2. If too many results, add filters (in:, from:, date ranges).
  3. If too few results, remove filters and try synonyms or related terms.

Choose the Right Search Mode

Use Multiple Searches

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

Search Modifiers Reference

Location Filters

User Filters

Content Filters

Date Filters

Text Matching

File Search

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

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

Following Up on Results

After finding relevant messages:

Common Pitfalls

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.