slack-search
Guidance for effectively searching Slack to find messages, files, channels, and people
Best use case
slack-search is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Guidance for effectively searching Slack to find messages, files, channels, and people
Teams using slack-search should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/slack-search/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How slack-search Compares
| Feature / Agent | slack-search | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Guidance for effectively searching Slack to find messages, files, channels, and people
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agent for YouTube Script Writing
Find AI agent skills for YouTube script writing, video research, content outlining, and repeatable channel production workflows.
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
SKILL.md Source
# 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>` — 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.
Related Skills
synthesize-research
Synthesize user research from interviews, surveys, and feedback into structured insights. Use when you have a pile of interview notes, survey responses, or support tickets to make sense of, need to extract themes and rank findings by frequency and impact, or want to turn raw feedback into roadmap recommendations.
slack-messaging
Guidance for composing well-formatted, effective Slack messages using mrkdwn syntax
contact-research
Research a specific person using Common Room data. Triggers on 'who is [name]', 'look up [email]', 'research [contact]', 'is [name] a warm lead', or any contact-level question.
account-research
Research a company using Common Room data. Triggers on 'research [company]', 'tell me about [domain]', 'pull up signals for [account]', 'what's going on with [company]', or any account-level question.
search
Search across all connected sources in one query. Trigger with "find that doc about...", "what did we decide on...", "where was the conversation about...", or when looking for a decision, document, or discussion that could live in chat, email, cloud storage, or a project tracker.
search-strategy
Query decomposition and multi-source search orchestration. Breaks natural language questions into targeted searches per source, translates queries into source-specific syntax, ranks results by relevance, and handles ambiguity and fallback strategies.
user-research
Plan, conduct, and synthesize user research. Trigger with "user research plan", "interview guide", "usability test", "survey design", "research questions", or when the user needs help with any aspect of understanding their users through research.
research-synthesis
Synthesize user research into themes, insights, and recommendations. Use when you have interview transcripts, survey results, usability test notes, support tickets, or NPS responses that need to be distilled into patterns, user segments, and prioritized next steps.
customer-research
Multi-source research on a customer question or topic with source attribution. Use when a customer asks something you need to look up, investigating whether a bug has been reported before, checking what was previously told to a specific account, or gathering background before drafting a response.
pipeline-review
Analyze pipeline health — prioritize deals, flag risks, get a weekly action plan. Use when running a weekly pipeline review, deciding which deals to focus on this week, spotting stale or stuck opportunities, auditing for hygiene issues like bad close dates, or identifying single-threaded deals.
forecast
Generate a weighted sales forecast with best/likely/worst scenarios, commit vs. upside breakdown, and gap analysis. Use when preparing a quarterly forecast call, assessing gap-to-quota from a pipeline CSV, deciding which deals to commit vs. call upside, or checking pipeline coverage against your number.
draft-outreach
Research a prospect then draft personalized outreach. Uses web research by default, supercharged with enrichment and CRM. Trigger with "draft outreach to [person/company]", "write cold email to [prospect]", "reach out to [name]".