Send messages and upload files to Slack channels using the `slack` CLI. Supports direct messages, channel posts, file uploads, and thread replies.
Enables Claude to send messages and share files to Slack channels and users via the slack CLI tool.
slack# Send a message to a channel
slack chat send --channel "#general" --text "Hello team"
# Send a direct message to a user
slack chat send --channel "@username" --text "Hey!"
# Upload a file to a channel
slack files upload --channel "#general" --file ./report.pdf --title "Weekly Report"
# Post with markdown formatting
slack chat send --channel "#dev" --text "*Bold* and _italic_ text"
# Reply in a thread (requires thread timestamp)
slack chat send --channel "#general" --thread-ts "1234567890.123456" --text "Reply here"
# List channels
slack channels list
#channel-name syntax for channels and @username for DMsslack CLI to be installed and authenticated (slack auth)chat:write and files:write scopes