Loading...
Loading...
Slack automation CLI for AI agents. Use when: - Reading a Slack message or thread (given a URL or channel+ts) - Browsing recent channel messages / channel history - Getting all unread messages across channels - Searching Slack messages or files - Sending, editing, or deleting a message; adding/removing reactions - Listing channels/conversations; creating channels and inviting users - Fetching a Slack canvas as markdown - Looking up Slack users - Marking channels/DMs as read - Opening DM or group DM channels Triggers: "slack message", "slack thread", "slack URL", "slack link", "read slack", "reply on slack", "search slack", "channel history", "recent messages", "channel messages", "latest messages", "mark as read", "mark read", "unread messages", "unread", "what did I miss"
npx skill4agent add cluas/slackctl slackctlslackctlslackctl$PATHslackctl user get @aliceslackctl$PATHbrew tap cluas/tap && brew install slackctlgo install github.com/cluas/slackctl/cmd/slackctl@latest#general#general''""| jqjq"slackctl search messages "query" | jq '.messages[] | .ts'||&&>>>slackctl auth import-desktop
slackctl auth testslackctl auth import-firefox
slackctl auth testslackctl auth import-chrome
slackctl auth testexport SLACK_TOKEN="xoxc-..."
export SLACK_COOKIE_D="xoxd-..."
export SLACK_WORKSPACE_URL="https://myteam.slack.com"
slackctl auth testslackctl auth add --workspace-url https://myteam.slack.com --xoxc xoxc-... --xoxd xoxd-...
slackctl auth testslackctl auth whoamislackctl message get "https://workspace.slack.com/archives/C123/p1700000000000000"slackctl message list "https://workspace.slack.com/archives/C123/p1700000000000000" --thread-ts 1700000000.000000slackctl message list "general" --limit 20
slackctl message list "C0123ABC" --limit 10slackctl message unread --limit 20slackctl message unread --fetch --max-per-channel 5--workspaceslackctl message unread --workspace longbridge-group --fetchslackctl message send "general" "here is the report"
slackctl message send U01AAAA "hello via DM"
slackctl message send "general" "threaded reply" --thread-ts 1700000000.000000
slackctl message edit "general" 1700000000.000000 "updated text"
slackctl message delete "general" 1700000000.000000
slackctl message react add "general" 1700000000.000000 "eyes"
slackctl message react remove "general" 1700000000.000000 "eyes"slackctl channel list
slackctl channel list --limit 50
slackctl channel new "incident-war-room"
slackctl channel new "incident-leads" --private
slackctl channel invite "incident-war-room" "U01AAAA,U02BBBB"slackctl search messages "deploy failed" --limit 10
slackctl search files "report" --limit 5slackctl channel mark "general" 1700000000.000000slackctl canvas get "https://workspace.slack.com/docs/T123/F456"
slackctl canvas get F0123ABCDEFslackctl user list --limit 100
slackctl user get "@alice"
slackctl user get U01AAAA--workspaceslackctl message list "general" --workspace "myteam" --limit 10
slackctl auth set-default https://myteam.slack.com| jqslackctl user get U01AAAA | jq '.email'
slackctl message list "general" --limit 5 | jq '.[].text'