slack-personalRead, send, search, and manage Slack messages and DMs via the slk CLI. Use when the user asks to check Slack, read channels or DMs, send Slack messages, search Slack, check unreads, manage drafts, view saved items, or interact with Slack workspace. Also use for heartbeat Slack checks. Triggers on "check slack", "any slack messages", "send on slack", "slack unreads", "search slack", "slack threads", "draft on slack", "read slack dms", "message on slack".
Install via ClawdBot CLI:
clawdbot install therohitdas/slack-personalSession-based Slack CLI for macOS. Auto-authenticates from the Slack desktop app โ no tokens, no OAuth, no app installs. Acts as your user (xoxc- session tokens).
# Auth
slk auth # Test authentication, show user/team
# Read
slk channels # List channels (alias: ch)
slk dms # List DM conversations with IDs (alias: dm)
slk read <channel> [count] # Read recent messages, default 20 (alias: r)
slk read @username [count] # Read DMs by username
slk read <channel> --threads # Auto-expand all threads
slk read <channel> --from 2026-02-01 # Date range filter
slk thread <channel> <ts> [count] # Read thread replies, default 50 (alias: t)
slk search <query> [count] # Search messages across workspace
slk users # List workspace users (alias: u)
# Activity
slk activity # All channels with unread/mention counts (alias: a)
slk unread # Only unreads, excludes muted (alias: ur)
slk starred # VIP users + starred items (alias: star)
slk saved [count] [--all] # Saved for later items (alias: sv)
slk pins <channel> # Pinned items in a channel (alias: pin)
# Write
slk send <channel> <message> # Send a message (alias: s)
slk react <channel> <ts> <emoji> # React to a message
# Drafts (synced to Slack editor UI)
slk draft <channel> <message> # Draft a channel message
slk draft thread <ch> <ts> <message> # Draft a thread reply
slk draft user <user_id> <message> # Draft a DM
slk drafts # List active drafts
slk draft drop <draft_id> # Delete a draft
Channel accepts name (general), ID (C08A8AQ2AFP), @username for DMs, or user ID (U07RQTFCLUC).
Automatic โ extracts session token from Slack desktop app's LevelDB + decrypts cookie from macOS Keychain.
First run: macOS will show a Keychain dialog asking to allow access to "Slack Safe Storage":
Token cache: ~/.local/slk/token-cache.json โ auto-validated, auto-refreshed on invalid_auth.
If auth fails (token rotated, Slack logged out):
rm ~/.local/slk/token-cache.json
slk auth
Slack desktop app must be installed and logged in. Does not need to be running if token is cached.
Threads require a Slack timestamp. Use --ts to get it, then read the thread:
slk read general 10 --ts
# Output: [1/30/2026, 11:41 AM ts:1769753479.788949] User [3 replies]: ...
slk thread general 1769753479.788949
slk unread โ slk read for channels that need attentionslk saved during heartbeat, reads full threads with slk thread, summarizes or extracts action itemsslk read 100 across key channels โ compile decisions, open questions, action items โ slk send daily-digest "๐ ..."slk read @boss 200 --from 2026-02-01 --threads โ extract action items, decisions, contextslk draft "..." posts to Slack's editor UI for human to review before sendingslk search "deployment process" or slk pins to pull context before answering questionsdraft_has_conflict if Slack has that conversation openCreate PR or Report Issue at: https://github.com/therohitdas/slkcli
Generated Mar 1, 2026
A distributed team uses the slk CLI to automate daily unread checks and channel digests. The agent runs slk unread to identify high-priority channels, then slk read to summarize key messages, ensuring no critical updates are missed across time zones.
A support team leverages slk saved to review items saved for later by agents. The agent automatically pulls saved threads via slk thread, extracts unresolved issues, and drafts follow-up messages with slk draft for human review before responding to customers.
In a software development project, the agent uses slk search to find context on deployment processes or slk pins to access pinned resources. It compiles weekly summaries from key channels with slk read and drafts status updates for stakeholder review.
An executive assistant employs the slk CLI to monitor DMs and threads for an executive. The agent runs slk read @boss with date filters to compile weekly summaries of decisions and action items, then drafts responses or reminders as needed.
Offer the slk CLI as a premium Slack integration for teams, charging a monthly subscription per user. Focus on automating routine checks and summaries to save time, with tiered plans based on advanced features like thread monitoring and custom reporting.
Provide consulting services to help organizations integrate the slk CLI into their workflows. This includes custom setup, training, and ongoing support for automating Slack communications, targeting businesses with high Slack usage and remote teams.
Release a free version of slk for individual users with basic read/write functions, while offering enterprise features like advanced analytics, team dashboards, and API access for a fee. Monetize through upselling to larger teams and organizations.
๐ฌ Integration Tip
Ensure Slack desktop app is installed and logged in on macOS, and grant Keychain access on first run for seamless authentication. Use slk auth to test connectivity before automating workflows.
iMessage/SMS CLI for listing chats, history, watch, and sending.
Use when you need to control Discord from Clawdbot via the discord tool: send messages, react, post or upload stickers, upload emojis, run polls, manage threads/pins/search, fetch permissions or member/role/channel info, or handle moderation actions in Discord DMs or channels.
Use when you need to control Slack from Clawdbot via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
Build or update the BlueBubbles external channel plugin for Clawdbot (extension package, REST send/probe, webhook inbound).
OpenClaw skill for designing Telegram Bot API workflows and command-driven conversations using direct HTTPS requests (no SDKs).