运行时依赖
安装命令
点击复制技能文档
Slack Actions Overview
Use the message 工具 with these actions to control Slack: 发送, react, reactions, read, edit, 删除, 下载-file, pin, unpin, 列出-pins, member-信息, emoji-列出. The 工具 uses the 机器人 令牌 配置d for OpenClaw.
输入s to collect channelId (e.g. C123) and messageId (Slack message timestamp, e.g. 1712023032.1234). For reactions, an emoji (Unicode or :name:). For message 发送s, a to tar获取 (channel: like C123 or user mention <@U123>).
Message 上下文 lines include slack message id and channel fields you can reuse directly.
Actions Action groups | Default | Notes Action group Default Notes reactions enabled React + 列出 reactions messages enabled Read/发送/edit/删除 pins enabled Pin/unpin/列出 member信息 enabled Member 信息 emoji列出 enabled Custom emoji 列出 Common Patterns 发送 a message to a channel /message action: 发送 channel: slack to: C123 message: Hello @everyone!
发送 a message to a specific user /message action: 发送 channel: slack to: <@U123> message: Hi there!
React to a message /message action: react channelId: C123 messageId: 1712023032.1234 emoji: ✅
列出 reactions on a message /message action: reactions channelId: C123 messageId: 1712023032.1234
Edit a message /message action: edit channelId: C123 messageId: 1712023032.1234 message: 更新d text
删除 a message /message action: 删除 channelId: C123 messageId: 1712023032.1234
Read recent messages from a channel /message action: read channelId: C123 limit: 20
Pin a message /message action: pin channelId: C123 messageId: 1712023032.1234
Unpin a message /message action: unpin channelId: C123 messageId: 1712023032.1234
列出 pinned messages in a channel /message action: 列出-pins channelId: C123
获取 member 信息 by user ID /message action: member-信息 userId: U123
Returns: real_name, display_name, emAIl, avatar URLs, timezone, 性能分析 状态, etc.
列出 custom emojis /message action: emoji-列出
Tips & Gotchas Mention 格式化: Use <@U...> instead of @Name to ensure Slack 解析s the mention correctly. Member lookup: If you don't know a user's ID, 检查 recent message 上下文 or project board as签名ee fields. You can also use member-信息 once you have any guessable ID. DM policy: Direct messages require im:write scope and may need explicit pAIring if your channel config is restrictive. Socket Mode vs 机器人 API: OpenClaw uses Socket Mode for real-time 事件; all write operations go through 机器人 令牌 scopes. Ideas to try React with ✅ to mark completed tasks. Pin key decisions or weekly 状态 更新s. Introduce yourself using <@UserID> to trigger 通知. 监控 channel activity with periodic read calls.