
Slack
Automates Slack through browser sessions instead of requiring API setup or bot tokens. Connects to your already-open Slack workspace, checks unread channels across DMs and regular channels, extracts message content, and navigates between conversations. Generates screenshots of your unreads and can search chat history or pull specific thread data. More reliable than trying to wrangle Slack's API permissions for simple tasks like "what did I miss" or grabbing content from specific channels. Works by taking accessibility tree snapshots and clicking elements, so it sees exactly what you'd see in the browser.
- skills.sh installs
- 14.1K
- GitHub stars
- 29.3K
Install
$ npx -y skills add vercel-labs/agent-browser --skill slack --agent claude-codeInstalls into .claude/skills of the current project.
Files
Slack Automation
Interact with Slack workspaces to check messages, extract data, and automate common tasks.
Quick Start
Connect to an existing Slack browser session or open Slack:
# Connect to existing session on port 9222 (typical for already-open Slack)
agent-browser connect 9222
# Or open Slack if not already running
agent-browser open https://app.slack.com
Then take a snapshot to see what's available:
agent-browser snapshot -i
Core Workflow
- Connect/Navigate: Open or connect to Slack
- Snapshot: Get interactive elements with refs (
@e1,@e2, etc.) - Navigate: Click tabs, expand sections, or navigate to specific channels
- Extract/Interact: Read data or perform actions
- Screenshot: Capture evidence of findings
# Example: Check unread channels
agent-browser connect 9222
agent-browser snapshot -i
# Look for "More unreads" button
agent-browser click @e21 # Ref for "More unreads" button
agent-browser screenshot slack-unreads.png
Common Tasks
Checking Unread Messages
# Connect to Slack
agent-browser connect 9222
# Take snapshot to locate unreads button
agent-browser snapshot -i
Sponsors