Slack Controller (Browser Edition)
This skill automates the Slack Web Client (app.slack.com) or Desktop App (via Debug Port) using a dedicated automation profile. This allows the agent to send messages, start huddles, share screen, and manage status acting as you.
Prerequisites
- 1. Slack Desktop App (preferred) or Google Chrome installed.
- Permissions: Terminal/Cursor must have Screen Recording and Accessibility permissions in macOS System Settings.
- Login: You must log in manually once in the automation window/profile if prompted.
Usage
Via OpenClaw Chat
"Message Adeel saying hello"
"Start a huddle with Adeel and share my screen"
"Set my status to In a Meeting for 1 hour"
"Search for 'quarterly report'"
Via CLI (Manual)
Messaging:
CODEBLOCK0
Huddle & Screen Share:
CODEBLOCK1
Leave Huddle:
CODEBLOCK2
Status:
CODEBLOCK3
Search:
CODEBLOCK4
Actions
- -
sendMessage: Send a text message to a user or channel. - INLINECODE2 : Just open the conversation window physically.
- INLINECODE3 : Toggle the huddle (standard join).
- INLINECODE4 : Join huddle, wait for UI, and click "Share screen" -> "Entire screen".
- INLINECODE5 : Leave the current huddle.
- INLINECODE6 : Set custom status emoji and text.
- INLINECODE7 : Toggle Active/Away.
- INLINECODE8 : Snooze notifications.
- INLINECODE9 : Upload a local file to a chat.
- INLINECODE10 : React to the latest message in a chat.
- INLINECODE11 : Perform a global search and return results.
Slack 控制器(浏览器版)
此技能使用专用自动化配置文件自动化 Slack Web 客户端(app.slack.com)或桌面应用(通过调试端口)。这使得代理能够以你的身份发送消息、开始语音通话、共享屏幕以及管理状态。
前提条件
- 1. 已安装 Slack 桌面应用(推荐)或 Google Chrome。
- 权限:终端/Cursor 必须在 macOS 系统设置中拥有屏幕录制和辅助功能权限。
- 登录:如果提示,你需要在自动化窗口/配置文件中手动登录一次。
使用方法
通过 OpenClaw 聊天
给 Adeel 发消息说你好
与 Adeel 开始语音通话并共享我的屏幕
将我的状态设置为会议中,持续 1 小时
搜索季度报告
通过 CLI(手动)
消息发送:
bash
node ~/.cursor/skills/slack-controller/dist/index.js --action=sendMessage --target=adeel --message=你好
语音通话与屏幕共享:
bash
node ~/.cursor/skills/slack-controller/dist/index.js --action=startHuddleAndScreenShare --target=general
离开语音通话:
bash
node ~/.cursor/skills/slack-controller/dist/index.js --action=leaveHuddle --target=general
状态设置:
bash
node ~/.cursor/skills/slack-controller/dist/index.js --action=setStatus --statusEmoji=:coffee: --statusText=午餐
搜索:
bash
node ~/.cursor/skills/slack-controller/dist/index.js --action=search --target=项目更新
操作
- - sendMessage:向用户或频道发送文本消息。
- openChat:仅物理打开对话窗口。
- sendHuddleInvite:切换语音通话(标准加入)。
- startHuddleAndScreenShare:加入语音通话,等待 UI 加载,然后点击共享屏幕 -> 整个屏幕。
- leaveHuddle:离开当前语音通话。
- setStatus:设置自定义状态表情和文本。
- setPresence:切换在线/离开状态。
- pauseNotifications:暂停通知。
- uploadFile:上传本地文件到聊天中。
- addReaction:对聊天中的最新消息做出反应。
- search:执行全局搜索并返回结果。