slack

Send Slack messages and read channel histories via REST API.

76|18|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/vm0-ai/vm0-skills --skill slack-vm0-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slack
Source: https://github.com/vm0-ai/vm0-skills/tree/main/slack
Command: npx skills add https://github.com/vm0-ai/vm0-skills --skill slack-vm0-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables sending messages, reading channels, and managing conversations in Slack using curl and a Bot Token.

Core Features & Use Cases

  • Send messages to channels or users
  • Read channel history to monitor conversations
  • Upload files and manage simple interactions

Quick Start

bash -c 'curl -s -X POST "https://slack.com/api/chat.postMessage" -H "Authorization: Bearer ${SLACK_BOT_TOKEN}" -H "Content-Type: application/json" -d '{"channel":"C1234567890","text":"Hello from bot!"}' | jq .'

Frequently Asked Questions about slack

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

FAQPage Schema
How do I send messages to Slack channels using an API?

Send messages to Slack channels via the chat.postMessage REST API endpoint with a Bot User OAuth Token. Authenticate with your SLACK_BOT_TOKEN and specify the channel ID and message text in the request body to post directly to conversations.

What OAuth scopes do I need to automate Slack communications?

Automate Slack communications with a Bot User OAuth Token requiring scopes: chat:write for posting messages, channels:read to list channels, channels:history to read conversation history, files:write to upload files, users:read to list workspace users, and reactions:write to add emoji reactions.

Can I read channel history and upload files to Slack programmatically?

Read channel history using conversations.history and upload files using files.upload REST API endpoints with your Bot Token. Both operations require appropriate OAuth scopes and support retrieving past messages and attaching documents to channels or conversations.

How do I add reactions to Slack messages via API?

Add reactions to Slack messages using the reactions.add REST API endpoint with your Bot Token, specifying the emoji name and the message timestamp. This automates emoji response management across your workspace conversations.

What rate limits apply to Slack API calls and how do I handle them?

Slack API endpoints enforce rate limits on requests. Monitor response headers and implement backoff logic to handle 429 rate-limit responses. Awareness of rate limits prevents failed automated communications and ensures reliable message delivery at scale.

Do I need a full Slack app to use Bot Token automation?

Bot Token automation requires only a Bot User in your Slack workspace with appropriate OAuth scopes—not a full published Slack app. Generate your SLACK_BOT_TOKEN from workspace settings and use curl or HTTP clients to call REST endpoints directly.