slack-cli
Skill by slackapi
Lets an AI assistant run the Slack CLI to create, run, and manage Slack apps from the terminal. It covers login, local runs, manifest checks, Web API calls, and Slack docs search. Built for developers who use the slack command.
Install slack-cli
Built from the published package, never by AI.
git clone --depth 1 https://github.com/slackapi/slack-cli /tmp/slack-cli && mkdir -p ~/.claude/skills && cp -r /tmp/slack-cli/cmd/skill ~/.claude/skills/slack-cliRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/slackapi/slack-cli /tmp/slack-cli && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/slack-cli/cmd/skill ~/.gemini/antigravity-cli/skills/slack-cliAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The slack-cli skill tells an AI assistant how to use the Slack CLI, the slack command, to create, run, and manage a Slack app from the terminal. It covers logging in with slack login, switching workspaces, running an app locally with slack run, validating the app manifest, calling Web API methods with slack api, and searching Slack developer docs with slack docs search.
The skill first finds the public Slack CLI, checking the standard install path before the PATH. It tells the assistant to run --help before using a command it has not used in the session. Login runs without a browser: the developer sends a /slackauthticket command in the target workspace and returns a challenge code. The skill is aimed at developers who work with the Slack CLI. Initial sandbox setup is handled by a separate create-slack-app skill.
Written from the project's SKILL.md and checked against it.
What it can do
- Detect the Slack CLIFinds the public Slack CLI at the standard install path, then on PATH, and offers to install it if needed.
- Command discoveryRuns slack help and command --help before using a command not yet used in the session.
- Documentation searchSearches Slack developer documentation from the terminal with slack docs search.
- Web API callsCalls Slack Web API methods with slack api using positional key=value parameters.
- Workspace loginWalks through slack login with a ticket and challenge code to authenticate a new team.
- Local runsStarts slack run in the background for the app or team target.
- Manifest validationRuns slack manifest validate before deploying or when app configuration seems wrong.
- Other command groupsLooks up subcommands for trigger, datastore, env, collaborator, external-auth, and deploy.
What you need
- Slack CLI installed, using the official install script
- A Slack workspace the developer belongs to
- Ability to paste a slash command into a Slack message box
- Terminal access on macOS, Linux, or Windows
Try asking
- Log me in to a new Slack workspace with the Slack CLI
- Search Slack docs for the scopes needed by chat.postMessage
- Validate my Slack app manifest before I deploy
Good to know
- Works with the public Slack CLI only.
- Initial sandbox setup and project scaffolding use the create-slack-app skill.
- Interactive commands such as slack trigger create must be run by the developer in a new terminal.
- Login tickets are single-use and time-limited, so an expired ticket needs a fresh login.
Security check
C- Downloads a script from the internet and runs itIn
cmd/skill/SKILL.md:curl -fsSL https://downloads.slack-edge.com/slack-cli/install.sh | bash
Checked automatically: cmd/skill/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to slack-cli
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
slack-cli: common questions
How does Slack CLI login work with an AI assistant?
The assistant runs slack login --no-prompt to get a ticket. The developer sends the /slackauthticket command in the workspace, and the challenge code Slack shows completes login with slack login --ticket and --challenge.
What is the difference between slack run and slack deploy?
slack run runs the app locally for development. slack deploy deploys to Slack's hosted infrastructure, unless .slack/hooks.json defines a deploy hook.
Does this skill create a new Slack app from scratch?
Not directly. The source says initial setup, such as sandbox creation and project scaffolding from templates, should use the create-slack-app skill.
How do I install slack-cli?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is slack-cli free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is slack-cli safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality B. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to slack-cli?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
