MessengersSlack
Slack CLI changelog
Read Slack CLI release notes, including new capabilities, changes and fixes.
Notable changes to @wirecat/slack-cli. One section per version, newest first.
0.1.0 — 24.11.2026
Added
- Started from
@wirecat/cli-template0.32.0. slk inboxcovers channels. Name the channels whose every message matters withslk <profile> config set inbox_channels "#general, #dev", or count them all withinbox_all_channels true. Any other channel shows up only when a message after your last read mentions you, or says @here, @channel or @everyone. Slack gives a channel no unread count, so inbox reads what came after your last read, for 15 seconds at most, andmissingnames what it did not reach and why.- History and conversation reads go at Slack's 50 a minute.
conversations.history,.info,.repliesandusers.conversationskeep a pace of their own, apart from the 20 a minute of the other methods, as Slack's rate limit tiers allow. slk personal inbox: the DMs with unread messages, and their newest ones. Slack gives unread counts for DMs only, oneconversations.infocall each, soinboxasks up to 40 DMs and group DMs a run, andmissingsays how many it counted and that channels were not.chats liststays one cheap list.inbox --newandreviewsee these chats' last message times, so they now find new DM messages too.- Read Slack with the messenger commands.
slk <profile> chats list|show|events,chats members list,contacts list|show,messages list|show|context|downloadandsearchwork as in every WireCat messenger CLI. A DM is a dialog, every channel and group DM a group, withslack_kindandslack_shared(Slack Connect) beside it. Message text is plain, with names for<@U…>and<#C…>; mentions are user ids; reactions keep who reacted. Bot messages are marked, and service messages (joins, renames, topics) are chat events, not messages. - Threads:
slk <profile> messages list <chat> topic:<root ts>reads one thread, root first. A reply sent also to the channel is kept once. slk <profile> messages syncsaves a chat's history for search, with the new replies of threads it pages through and of threads up tothread_window_days(14 by default) old, through cli-core'sthreadReplies. A message Slack stops showing is never marked deleted.slk <profile> setupsigns in step by step, with the same token checks assession start.- Files download from
files.slack.comonly, with the token in the header. - Write to Slack with the messenger commands.
messages send|edit|delete|pin|unpin|link,reactions add|removeandchats mark-read|join|leave. Text is sent as typed;--mdturns Markdown into Slack's mrkdwn.--reply-toanswers in the thread, and--fileuploads through Slack's external upload. A write with no answer is reported as unknown and never sent twice; a repeat with its--operation-idfinds the copy Slack kept. A message to a person with no DM yet opens one. Slack's refusals carry a reason of their own, such asmessage.not-yoursandchat.not-joined, with Slack's code indetails.slack_error. - The
apigroup answers by the messenger's keys. A deny onmessagesstopsapi conversations history,replies, the searches, files, pins, stars and reactions lists too, and those keepmessages list's level instead of asking; anapiwrite still asks. A refusal Slack sends with HTTP 200 is the run's error. An agent never runs anapidelete, and itsmessages deleteis refused as a permission. A profile never signed in is named as unknown with the profiles here, even when the keyring cannot be read. reactions addtakes the emoji itself (👍,👍🏽) as well as Slack's name for it (thumbsup,thumbsup::skin-tone-4).slk <profile> messages send --reply-to <ts> --also-to-channelshows a thread reply in the channel too, as Slack's "Also send to #channel".search messagesandsearch allask Slack's own search too. They readsearch.messagesand the local copy at once, so a message is found before any sync, with its chat's name.--backend serverorarchiveasks one of them;chat:narrows it with Slack'sin:. It needs thesearch:readscope, which the app manifest already asks for.config showliststhread_window_dayswith its default, 14, and what it does.setupand the README link to Slack's app creation with the manifest filled in. One click opens Create New App with slk's scopes; pastingdocs/slack-app-manifest.jsonby hand still works.- Sign in with your own Slack app:
slk <profile> session start. Make an app in your workspace from the manifest, install it, and paste its User OAuth Token (xoxp-) at the hidden prompt or on stdin. slack checks it with Slack'sauth.testand keeps it in the system keyring, with the workspace and the person it belongs to. A bot token (xoxb-) and a rotating one (xoxe.) are refused before anything is sent: slack reads as you, and cannot renew a token that lasts 12 hours.session status --check,session listandsession endwork as in every WireCat CLI. slk doctor --onlineasks Slack whose each saved token is, every profile signed in here under its own name.slk <profile> apireaches Slack's Web API, one command per method, grouped by Slack's first word:slk <profile> api conversations history --channel <id>,slk <profile> api chat post-message --body …. The token goes in theAuthorization: Bearerheader only. Writes go as JSON.--allreads every page of the methods Slack pages by cursor, and offiles listby page. A method also asks for the key of the messenger command that does the same thing:messages.deleteforchat delete,messages.editforchat update,messages.sendforchat post-message,chats.leaveforconversations leave,chats.archiveforconversations archive,messages.unpinforpins remove,reactions.removeforreactions remove. Any other delete asks forslack.delete. Eleven GETs that send, share or publish (views publish,files remote-share…) count as writes: a read-only profile refuses them, and they are never sent twice. The 15 methods that take only a form and the four that answer with a token or a secret link are left out, each with its reason inslk api showand API coverage.
Changed — may break callers
- Commands Slack cannot do are gone from help, the commands page and MCP.
chats links show|reset,chats requests,chats admins,chats folders,account sessions,contacts block|unblockandmessages forwardrefused when typed; cli-core 0.730.0 now hides them and the groups left empty. - The command is
slk, withwcat-slkbeside it, notslack: Slack's own developer CLI installs asslack. The MCP tools areslk_read,slk_writeandslk_tools_search.
Fixed
messages list --afterandmessages contextin a busy chat read a few pages, not every message since. The window after the point is halved while it holds too many to read, so 50,000 messages in a day cost 10 calls, not 51.- A missing scope carries the shared reason
oauth.scope-missing, so a refused server search says what to add. slk session startprints its steps with headings, and the app's long link as one short link in a terminal that shows links (GNOME Terminal, iTerm2, kitty, WezTerm, Windows Terminal, VS Code;FORCE_HYPERLINK=1for another). Elsewhere it prints the full address beside the words.- Signing in no longer needs help.
slk session startprints the steps to the token before it asks: why an app of your own, the link that makes it, where Install to Workspace and the User OAuth Token (xoxp-…) are, and what to do when only an administrator may install apps.slk <profile> setup, WireCat Desktop and the README show the same steps. - The sign-in ask names
slk. It said the manifest "slack" gives. slk inboxanswers within a command's 30 seconds: it asks DMs for 20 seconds at most, then says how many it counted, where 40 DMs at Slack's pace took two minutes and the command timed out with nothing.- A server search stops when cli-core's bound ends it.
search.messagescalls take the search's own stop signal, so a slow search no longer spends Slack's pace after its answer is given. - The agent skill names
slk help. It saidslack help. - A stopped
messages synckeeps the thread replies it read. Replies come one thread at a time, and cli-core 0.733.0 saves each thread as it arrives, so a sync killed in a chat with many threads loses at most the thread it was reading.