🦀 ClawHub
Slack Integration
by @charlie-morrison
Slack messaging — send messages, manage channels, upload files, add reactions, and automate team notifications via CLI and API.
⚙️ Configuration
# 1. Create a Slack App: https://api.slack.com/apps → Create New App
2. Add scopes under OAuth & Permissions:
Bot Token Scopes: chat:write, channels:read, channels:history,
files:write, reactions:write, users:read
3. Install to workspace → copy Bot User OAuth Token
export SLACK_TOKEN="xoxb-..." # Bot token (starts with xoxb-)
For user-level actions (DMs to yourself, custom status), use a User OAuth Token (xoxp-...) instead.
📋 Tips & Best Practices
xoxb-) can only post to channels the bot has been invited toRetry-After headersmrkdwn (Slack's markdown) uses *bold*, _italic_, ~strike~, ` code , >quoteTERMINAL
clawhub install cm-slack-integration