alphaclaw.md
📄 slack.md
1# Slack Skill
2
3> Send messages, react, pin, and manage Slack channels.
4
5## Install
6
7```bash
8openclaw skill install slack
9```
10
11## What it does
12
13- Send messages to channels and DMs
14- React to messages with emoji
15- Pin and unpin messages
16- Read channel history
17- List channels and members
18
19## Requirements
20
21- Slack Bot Token or User Token
22- Token must have appropriate scopes
23
24## Configuration
25
26Set in your environment:
27
28```bash
29# Bot token (posts as bot)
30SLACK_BOT_TOKEN=xoxb-...
31
32# OR User token (posts as you)
33SLACK_USER_TOKEN=xoxp-...
34```
35
36## Usage
37
38```
39"Post 'standup notes: ...' to #engineering"
40"React with 👍 to the last message in #general"
41"What were the last 10 messages in #random?"
42```
43
44## Tips
45
46- User tokens post as you (more natural in channels)
47- Bot tokens show the bot's name and avatar
48- Cache channel IDs to avoid repeated lookups
49
50## Tags
51
52`slack` `messaging` `channels` `chat`
53
🐾 alphaclaw.mdUTF-8Markdown