slack-cli

slack-cli is a skill for Claude Code, Codex from slack-samples/bolt-ts-starter-template. It costs 83 tokens per session (2,783 once invoked), scanned C, a copy of slack-cli, MIT.

A terminal tool for creating, running, deploying, and managing Slack apps. Slack is a team messaging service, and a Slack app is a program that adds features to it.

In plain words
What is it for?
Use it to log in, switch workspaces, run an app locally, deploy it, edit its manifest, call API methods, and search Slack developer docs.
Why use it?
It keeps common Slack app tasks in one command-line workflow instead of requiring repeated work in web pages. It also provides commands for calling Slack's web API and searching developer documentation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool; installed under .agents/ (shared by several agents).

Good fit Use it to log in, switch workspaces, run an app locally, deploy it, edit its manifest, call API methods, and search Slack developer docs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/slack-samples/bolt-ts-starter-template/slack-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add slack-samples/bolt-ts-starter-template --skill slack-cli
Clone the repo
git clone --depth 1 https://github.com/slack-samples/bolt-ts-starter-template

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for slack-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/slack-samples/bolt-ts-starter-template/slack-cli/github.svg)](https://agentmods.dev/skills/slack-samples/bolt-ts-starter-template/slack-cli)
Your own site
<a href="https://agentmods.dev/skills/slack-samples/bolt-ts-starter-template/slack-cli"><img src="https://agentmods.dev/badge/skills/slack-samples/bolt-ts-starter-template/slack-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for slack-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/slack-samples/bolt-ts-starter-template/slack-cli"><img src="https://agentmods.dev/badge/skills/slack-samples/bolt-ts-starter-template/slack-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,783 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.02783
Opus 5.5 $0.00033 $0.01113
Sonnet 5.5 $0.00017 $0.00557
Haiku 4.5 $0.00008 $0.00278

Measured yesterday against content hash f7bb1ad9844a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

slack-cli scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://downloads.slack-edge.com/slack-cli/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://downloads.slack-edge.com/slack-cli/install.sh | bash
Origin

This is a copy

92% identical to slack-cli — 26 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/slack-cli/SKILL.md · 254 lines

How it starts

The opening of the file, as written. The whole thing — 254 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Slack CLI

Use the Slack CLI to create, run, and manage Slack apps — including calling Web API methods directly and searching Slack developer documentation from the terminal.

For initial setup (sandbox creation, project scaffolding from templates), use the create-slack-app skill instead.


Step 1: Detect the Slack CLI

Resolve the path to the public Slack CLI before running any other command. We refer to the resolved value as SLACK_CMD — substitute it everywhere below. Try 1a → 1b → 1c in order; do not skip ahead.

1a. Standard install path (preferred — no verification needed)

The official install scripts place the binary at a fixed per-user path. If the file exists, use it directly: only the install script writes to that path.

  • macOS / Linux: ~/.slack/bin/slack
  • Windows: %USERPROFILE%\AppData\Local\slack-cli\bin\slack.exe (or %USERPROFILE%\.slack-cli\bin\slack.exe as a fallback)

POSIX shell:

[ -x "$HOME/.slack/bin/slack" ] && echo "$HOME/.slack/bin/slack"

PowerShell:

$p = "$env:USERPROFILE\AppData\Local\slack-cli\bin\slack.exe"
if (Test-Path $p) { $p } elseif (Test-Path "$env:USERPROFILE\.slack-cli\bin\slack.exe") { "$env:USERPROFILE\.slack-cli\bin\slack.exe" }

If a path is returned, set SLACK_CMD to that absolute path and proceed to Step 2. Do not also run _fingerprint.

1b. slack on PATH (verify with fingerprint)

If 1a found nothing, try slack on PATH:

slack _fingerprint 2>/dev/null

If it outputs d41d8cd98f00b204e9800998ecf8427e, set SLACK_CMD=slack and proceed.

1c. Ask about an alias, or install

If 1b fails or returns a different value, ask the developer using AskUserQuestion:

  • "The slack command on your system doesn't appear to be the public Slack CLI. Do you have it installed under a different name or alias?"
  • Options: "Yes, it's aliased as..." (let them provide the alias), "No, I need to install it"
  • If they provide an alias, verify it with <alias> _fingerprint 2>/dev/null and set SLACK_CMD=<alias>.
  • If they need to install it, run:

Read the full file on GitHub · 254 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 254 lines · 83 tokens per session scan C f7bb1ad9844a

Subscribe to this mod's changes

slack-cli is a skill published in the GitHub repository slack-samples/bolt-ts-starter-template (65 stars, last pushed yesterday), licensed MIT. It adds 83 tokens to every session and 2,783 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). It is 92% identical to slack-cli, differing in 26 lines, and is treated as a copy.

Related

slack-cli compared with skills from other repositories

slack-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
slack-clislack-samples/bolt-ts-starter-templateSkill65yesterdayMITC83Claude Code, Codex
mcp-tool-developersickn33/agentic-awesome-skillsSkill50ktodayMITA38Claude Code
mem0-oss-to-platformmem0ai/mem0Skill69kyesterdayApache-2.0A217Claude Code, Codex
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.2kyesterdayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.0ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill630todayMITA105Claude Code, Codex