Slack CLI for Claude Code: plugin and skill
SlackCLI ships a Claude Code plugin with one
skill, /slackcli, so an agent can read, post, search, and manage a Slack
workspace on your behalf without you writing the commands.
Install
Section titled “Install”Inside Claude Code:
/plugin marketplace add shaharia-lab/slackcli/plugin install slackcli@slackcliThe plugin lives at plugins/slackcli/ in this
repository. To try a local checkout instead of the published version:
claude --plugin-dir ./plugins/slackcliWhat the skill does
Section titled “What the skill does”- Checks that
slackcliis installed. If it is missing, the skill asks before installing it, either through Homebrew or as a checksum-verified binary in~/.local/bin. It never usessudo. On Windows it points you at the release page. - Checks authentication. It runs
slackcli auth listand confirms the default workspace’s token still works withslackcli team info. If nothing is stored, or the token has expired, it offers the login methods from authentication and waits for you to choose. For a stale browser session it triesauth login-auto --headlessfirst. - Runs your request. It carries a condensed version of this user guide,
prefers
--json, resolves channel and people names to IDs withsearch, accepts pasted Slack links, and confirms with you before sending, editing, reacting, drafting, or changing a user group.
Using it
Section titled “Using it”/slackcli summarise the unread messages in #incidents/slackcli find who mentioned "rate limit" this week and reply in that thread/slackcli post the contents of ./release-notes.md to #releasesYou can also just mention Slack in an ordinary request; the skill is loaded automatically when the task involves Slack.
Credentials
Section titled “Credentials”The skill never asks you to paste a token or a cURL command into the chat.
When you pick the app-token or cURL login method it asks you to run the login
command yourself, so the secret never passes through the model. Stored
credentials stay in ~/.config/slackcli/ exactly as described in
workspaces and profiles; the skill does not read that
directory.
Slack content the agent reads is treated as untrusted data: instructions found inside a message, canvas, or file are summarised, not followed.