slack

Retrieve Slack channel history and search results as raw JSON data.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/cosmicdreams/claude-plugins --skill slack-cosmicdreams
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slack
Source: https://github.com/cosmicdreams/claude-plugins/tree/main/lib/skills/slack
Command: npx skills add https://github.com/cosmicdreams/claude-plugins --skill slack-cosmicdreams

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

You need up-to-date Slack channel content and message history, but you want it delivered as raw data so you can analyze, filter, or rank it elsewhere.

Core Features & Use Cases

  • Read-only Slack CLI access: List joined conversations and fetch recent messages without sending, posting, or modifying anything in Slack.
  • Channel and thread retrieval: Get recent messages from a channel or pull an entire thread by parent message timestamp.
  • Search and workspace-aware querying: Search across messages (optionally scoped to a channel) and fetch from the correct workspace using workspace URL when needed.
  • Config-driven defaults: Automatically use channels and message limits from ~/.claude/office-slack.local.md when present.

Quick Start

Use the slack skill to read recent messages from the engineering channel by running the instruction: fetch the latest messages from engineering.

Frequently Asked Questions about slack

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

FAQPage Schema
How do I retrieve Slack channel history as raw JSON for downstream analysis?

You can retrieve Slack channel history as raw JSON by using a read-only CLI to fetch recent messages and searchable results without summarization. This returns unmodified data for filtering, ranking, or analyzing elsewhere.

Can I fetch Slack thread messages by their timestamp?

Yes, you can fetch Slack thread messages by specifying the parent message timestamp using the thread_ts parameter. This pulls the entire thread as raw JSON data for downstream processing.

Do I need to authenticate a Slack CLI before fetching workspace messages?

Yes, you must install and authenticate the agent-slack CLI before fetching workspace messages. Once authenticated, you can optionally specify a workspace URL to ensure you retrieve data from the correct Slack workspace.

How do I search for specific messages across a Slack channel?

You can search for specific messages across a Slack channel by providing a query parameter. The search can be scoped to a specific channel or run across the entire workspace, returning matching messages as raw JSON.

Can I set default channels and message limits for Slack data retrieval?

Yes, you can set default channels and message limits by adding configuration values to a local markdown file. When present, these config-driven defaults are automatically applied during message retrieval operations.

Does this Slack message retrieval method send or modify any data in the workspace?

No, this Slack message retrieval method is strictly read-only. It lists joined conversations, fetches recent messages, and searches message history without sending, posting, or modifying anything in the Slack workspace.