# Slack Messaging

> Use when sending Slack messages, DMs, thread replies, or uploading files to channels — via the slack CLI. Post to #channels, DM @users, share reports/images, reply in threads with markdown.

- Skill: `aashutosh396/slack-messaging` (Agent Skill)
- Install (CLI): `npx get-skill add aashutosh396/slack-messaging`
- Raw SKILL.md: https://api.skillmd.com/api/skills/aashutosh396/slack-messaging/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- License: MIT
- Author: aashutosh396 (https://skillmd.com/u/aashutosh396)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/aashutosh396/slack-messaging

---


# Slack Messaging

Send messages and upload files to Slack channels and users with the `slack` CLI.

## When to use
Posting to a channel, DMing a user, replying in a thread, or sharing a file to
Slack.

## Commands

```bash
slack chat send --channel "#general" --text "Hello team"
slack chat send --channel "@username" --text "Hey!"          # DM
slack chat send --channel "#dev" --text "*Bold* and _italic_"  # Markdown
slack chat send --channel "#general" --thread-ts "1234567890.123456" --text "Reply"
slack files upload --channel "#general" --file ./report.pdf --title "Weekly Report"
slack channels list
```

## Guidelines
- Confirm the target channel/user before sending.
- Use `#channel-name` for channels, `@username` for DMs.
- Use threads for follow-ups; keep messages concise.
- Avoid bulk sending in tight loops — rate limits apply.

