Skip to content
Skills Library
Personal productivity · Research

slack-search

/slack-search

Use when locating messages, files, channels, or people across Slack, or gathering context before answering, with the search MCP tools (slack_search_public, slack_search_public_and_private, slack_search_channels, slack_search_users). Covers search modifiers (in:, from:, before:), file-type filters, natural-language vs. keyword search, and reading results in context.

Licence
MIT
Last repository change
13.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when locating messages, files, channels, or people across Slack, or gathering context before answering, with the search MCP tools (slack_search_public, slack_search_public_and_private, slack_search_channels, slack_search_users). Covers search modifiers (in:, from:, before:), file-type filters, natural-language vs. keyword search, and reading results in context.

Original author description

Use when locating messages, files, channels, or people across Slack, or gathering context before answering, with the search MCP tools (slack_search_public, slack_search_public_and_private, slack_search_channels, slack_search_users). Covers search modifiers (in:, from:, before:), file-type filters, natural-language vs. keyword search, and reading results in context.

How it works

  1. When to Use
  2. Search Tools Overview
  3. Search Strategy
  4. Search Modifiers Reference
  5. File Search
  6. Useful Parameters
  7. Following Up on Results
  8. Common Pitfalls
  9. Notes
Original SKILL.md headings · 120 lines, 739 words
SKILL.md preview
---
name: slack-search
description: "Use when locating messages, files, channels, or people across Slack, or gathering context before answering, with the search MCP tools (slack_search_public, slack_search_public_and_private, slack_search_channels, slack_search_users). Covers search modifiers (in:, from:, before:), file-type filters, natural-language vs. keyword search, and reading results in context."
---

# 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

- **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>` or `in:@username`: 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:<@U123456>`: Messages sent to a specific user
- `to:me`: Messages sent directly to you
- `creator:@username`: Canvases created by a specific person

### Content Filters

- `is:thread`: Only threaded messages
- `is:saved`: Only your saved messages
- `has:pin`: Pinned messages
- `has:link`: Messages containing links
- `has:file`: Messages with file attachments
- `has::emoji:`: Messages with a specific reaction
- `hasmy::emoji:`: Messages you reacted to 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, set the `content_types="files"` parameter and use a `type:` filter in the query:

- `type:images`, `type:documents`, `type:pdfs`, `type:spreadsheets`, `type:presentations`
- `type:canvases`, `type:lists`, `type:emails`, `type:audio`, `type:videos`

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

All the standard modifiers above (`in:`, `from:`, dates, etc.) work with file searches too.

## Useful Parameters

Beyond the query string, the search tools accept parameters that materially improve results:

- `sort`: `score` (relevance, default) or `timestamp` (newest first); pair with `sort_dir` (`asc`/`desc`).
- `content_types`: `messages` (default) or `files`.
- `only_my_channels`: restrict to channels you're a member of.
- `limit`: results per page (capped at 20); paginate with the returned `cursor`.

## 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.
- Use `slack_read_file` to read the contents of a file surfaced by a file search.
- Use `slack_list_channel_members` to see who is in a channel you found.

## Common Pitfalls

- **Boolean operators don't work.** `AND`, `OR`, `NOT` are not supported. Use spaces (implicit AND) and `-` for exclusion. (Repeating the same modifier, e.g. two `from:`, ORs those values together.)
- **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.

## Notes

- **Scope:** this skill owns searching _workspace content_: messages, files, channels, and people inside Slack. To search and read the official Slack _platform documentation_ at docs.slack.dev (conceptual and how-to questions about Slack features), use the `slack-docs` skill instead.

Versions

RepositoryScoreLicence
This page · slackapi/slack-mcp-plugin100MIT
joe-broadhead/opencode-slack100MIT
slackapi/slack-skills-plugin100MIT

Database snapshot: 13.11.2026 · package version 8f1ebc7aa36f (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90slack
    Search Slack messages and read channel history across your workspaces. Use this skill when the user asks about Slack conversations, channel messages, or internal communications.
  • 100slack-assistant
    Interact with Slack workspaces for reading channels/messages, sending messages, adding reactions, and browsing canvases. Use when the user asks about Slack channels, messages, or notifications — NOT for Slack app development (use the slack-cli skill for that).
  • 100slack-messaging
    Slack channel and thread messaging skill with context-aware session management. Reads messages, sends replies, searches channels and users, drafts and schedules messages -- all via Slack MCP tools. Use this skill whenever the user wants to read Slack messages, reply in Slack,…
  • 100slack
    Use when reading Slack conversations, deciding when to respond, or sending messages, files, and reactions in Slack.
  • 91slack
    Read and search messages, channels, and threads in the user's Slack workspace. Use to catch up on team discussions and decisions, post channel messages, and reply to coworkers through Slack's official MCP server.
  • 100mcp-server-slack
    Use this skill when installing, configuring, and executing tools with the Slack workspace channel messages, threads, and notifications Slack MCP server.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.