slack-api

Read Slack messages, threads, channels, and files via Python client.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill enables seamless reading and management of Slack workspace messages, threads, channels, and attachments using a browser-token-based Python client, reducing manual steps and avoiding MCP dependencies.

Core Features & Use Cases

  • Read channel history and thread replies from Slack workspaces.
  • List channels and fetch user or channel information.
  • Download attachments from messages and threads.
  • Search messages across the workspace.

Quick Start

To get started, run Slack API client with a Slack URL or by querying a channel. Examples: python3 slack.py --url "https://workspace.slack.com/archives/C123.../p123..." python3 slack.py --history -c C123... -l 10

Frequently Asked Questions about slack-api

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

FAQPage Schema
How do I read Slack channel history and thread replies using Python?

You can read Slack channel history and thread replies using a Python-based client that calls Slack's API with browser session tokens. It parses standard Slack URLs to fetch message histories and specific thread replies programmatically.

Can I download Slack attachments and search messages across a workspace without MCP dependencies?

Yes, you can download Slack attachments and search messages across a workspace using standard Python libraries. This approach avoids MCP dependencies by loading browser session tokens directly from the environment or a .env file.

What's the best way to automate Slack message monitoring for support workflows?

The best way to automate Slack message monitoring for support workflows is using a Python client that reads channel history and searches messages via browser tokens. This enables automated data collection and support monitoring across workspaces.

Do I need a Slack bot token to list channels and fetch user information via the API?

No, you do not need a standard Slack bot token. This Python client uses browser session tokens loaded from a .env file or environment variables to list channels and fetch user or channel information.

How do I parse a Slack archive URL to extract specific message threads?

You parse a Slack archive URL by passing it to the Python client command line. The script supports URL parsing functionality to automatically locate and extract the specific channel history or thread replies.

Are there limitations to reading Slack messages with a browser session token instead of an official API token?

Using a browser session token requires standard Python libraries and avoids MCP dependencies, but it ties automation directly to your active browser session. You must manually manage token loading from a .env file to maintain access.