slack-usage

Search Slack messages across channels, DMs, and group DMs.

1.0k|91|Updated Jul 9, 2025
One-click install
npx skills add https://github.com/fcakyon/claude-codex-settings --skill slack-usage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slack-usage
Source: https://github.com/fcakyon/claude-codex-settings/tree/main/plugins/slack-tools/skills/slack-usage
Command: npx skills add https://github.com/fcakyon/claude-codex-settings --skill slack-usage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides best practices for leveraging Slack MCP to search messages, manage channels, and format Slack outputs effectively.

Core Features & Use Cases

  • Search best practices: Always use message search first for efficiency.
  • Channel and token guidance: Distinguish bot vs user tokens and channel scopes.
  • Formatting tips: Properly format mentions, channels, and links.

Quick Start

Use mcp__slack__slack_search_messages for searches and mcp__slack__slack_get_channel_history for recent channel history when requested.

Frequently Asked Questions about slack-usage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search Slack messages across channels and direct messages?

Search Slack messages using the message search function, which efficiently locates conversations across public channels, private channels, DMs, and group DMs. It returns results with message content, user, channel, timestamp, and threading context to help you find relevant discussions quickly.

What's the best way to retrieve recent message history from a Slack channel?

Use channel history retrieval to pull recent messages when you need the latest conversations without searching. This approach works alongside message search to give you flexible options for accessing channel activity depending on your lookup need.

How do Slack bot tokens and user tokens differ for message access?

Bot tokens and user tokens have different scope permissions for Slack access. Bot tokens work within defined channel scopes, while user tokens may have broader permissions. Choose the right token type based on whether you need bot-specific or user-level message visibility.

Can I format Slack mentions and links properly when retrieving messages?

Yes, message search results include formatting guidance for mentions, channels, and links so you can display them correctly. Proper formatting ensures that Slack entities render as clickable links and readable references in your output.

What rate limits and pagination should I know about for Slack searches?

Slack searches enforce rate limits and support pagination to manage API quotas. The search function handles these constraints automatically while caching results to reduce repeated requests and improve performance across workspace searches.