slack-cli

Manage Slack messages, channels, users, files, and drafts via the Slack API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unit simplifies Slack management by providing a command-line interface (CLI) for automating and interacting with Slack's features, making it easier to handle messages, channels, users, files, and drafts without using the Slack web app.

Core Features & Use Cases

  • Message Management: Send, list, and get messages, including threads.
  • Channel Management: List, info, and manage channels, including members and managers.
  • User Management: List and get user information, including full profile details.
  • File Management: List, get info, and download files.
  • Draft Management: Create, update, and delete drafts.
  • Use Case: Automate daily Slack tasks such as sending out reminders, archiving old messages, or creating reports on channel activity.

Quick Start

Install the Slack CLI and then list all messages in the #general channel using the command: slack message list #general

Frequently Asked Questions about slack-cli

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

FAQPage Schema
How do I manage Slack messages and channels from the command line?

You can manage Slack messages and channels from the command line by using a CLI that interacts directly with the Slack API. It allows you to list, send, and retrieve messages, including thread replies, without opening the Slack web app.

Can I automate Slack user onboarding and file sharing without the web app?

Yes, you can automate Slack user onboarding and file sharing without the web app by running CLI scripts. The CLI supports listing user profiles, getting file information, and downloading files directly through the API.

Do I need a Slack API token to manage drafts and channels via CLI?

Yes, you need a Slack API token and a Slack workspace with appropriate permissions to manage drafts and channels via CLI. The command-line interface relies on this API access to authenticate requests and perform actions like creating or deleting drafts.

What's the best way to archive old Slack messages for reporting?

The best way to archive old Slack messages for reporting is using a CLI designed for automation and scripting. It enables you to list messages from specific channels and extract the data programmatically, which is ideal for generating activity reports.

Does Slack CLI support managing channel members and full user profiles?

Yes, Slack CLI supports managing channel members and retrieving full user profiles. You can list channels, view member information, and get detailed profile data for users directly from your terminal using API commands.