Skip to content
PluginStats

@chat-adapter/slack weekly downloads statistics

By chat-adapter (14 listings) · npm · AI SDKs

Slack adapter for Chat SDK — webhooks, Block Kit cards, OAuth, slash commands, and AI streaming

View on npm Fresh · Oct 18, 2026

@chat-adapter/slack has 672,066 recorded weekly downloads on npm, a decrease of 12.9% over the past 30 days, ranking #242 of 2,322 tracked listings.

Weekly downloads
672,066
Official API · Oct 18, 2026
7-day growth
-38.2%
-415K weekly downloads
30-day growth
-12.9%
-99.6K weekly downloads
90-day growth
+11.4%
+68.9K weekly downloads
Rank
#242
Among tracked npm listings

About @chat-adapter/slack

Slack adapter for Chat SDK

@chat-adapter/slack

npm package: @chat-adapter/slack

Agent Stack MIT License

Slack adapter for Chat SDK. Configure single-workspace or multi-workspace OAuth deployments.

Documentation: chat-sdk.dev/adapters/official/slack · Guides: vercel.com/kb/chat-sdk

Installation

pnpm add @chat-adapter/slack

Scaffold with the CLI

To scaffold a new Slack bot with this adapter preselected:

npx create-chat-sdk@latest my-bot --adapter slack memory

Visit the adapters directory to see other available official and vendor-official adapters.

Quick start

For managed credentials and webhook verification, see Vercel Connect.

For bots deployed to a single Slack workspace. The adapter auto-detects SLACK_BOT_TOKEN and SLACK_SIGNING_SECRET from environment variables:

import { Chat } from "chat";
import { createSlackAdapter } from "@chat-adapter/slack";

const bot = new Chat({
  userName: "mybot",
  adapters: {
    slack: createSlackAdapter(),
  },
});

bot.onNewMention(async (thread, message) => {
  await thread.post("Hello from Slack!");
});

Configuration

All options are auto-detected from environment variables when not provided. You can call createSlackAdapter() with no arguments if the env vars are set.

OptionRequiredDescription
botTokenNoBot token (xoxb-...) or a function returning one (sync or async) for rotation/lazy fetch. Auto-detected from SLACK_BOT_TOKEN
signingSecretNo*Signing secret for webhook verification. Auto-detected from SLACK_SIGNING_SECRET
webhookVerifierNo*Custom verifier (request, body) => unknown | Promise<unknown> used in place of signingSecret. Returning a string substitutes the verified body for downstream parsing
modeNoConnection mode: "webhook" (default) or "socket"
appTokenNo**App-level token (xapp-...) for socket mode. Auto-detected from SLACK_APP_TOKEN
socketForwardingSecretNoShared secret for authenticating forwarded socket events. Auto-detected from SLACK_SOCKET_FORWARDING_SECRET, falls back to appToken
clientIdNoApp client ID for multi-workspace OAuth. Auto-detected from SLACK_CLIENT_ID
clientSecretNoApp client secret for multi-workspace OAuth. Auto-detected from SLACK_CLIENT_SECRET
encryptionKeyNoAES-256-GCM key for encrypting stored tokens. Auto-detected from SLACK_ENCRYPTION_KEY
installationKeyPrefixNoPrefix for the state key used to store workspace installations. Defaults to slack:installation. The full key is {prefix}:{teamId} (or {prefix}:{enterpriseId} for Enterprise Grid org-wide installs)
installationProviderNoExternal installation lookup { getInstallation(installationId, isEnterpriseInstall) => Promise<SlackInstallation | null> }. When set, bypasses the internal state adapter for token resolution on incoming webhooks. Read-only — manage your own writes externally
apiUrlNoOverride the Slack Web API base URL (e.g. for GovSlack or a self-hosted gateway). Auto-detected from SLACK_API_URL
fetchNoFetch for response URLs and Socket Mode webhook forwarding; defaults to global fetch
fileTransportNoGuarded file download transport; custom transports own connection/DNS policy
webClientOptionsNoOptions forwarded to Slack WebClient instances, excluding slackApiUrl. Supports retryConfig, per-request timeout, and rejectRateLimitedCalls; agent also configures Socket Mode, tls only its HTTP calls
loggerNoLogger instance (defaults to ConsoleLogger("info"))

*signingSecret is required for webhook mode — either via config, SLACK_SIGNING_SECRET env var, or a webhookVerifier. **appToken is required for socket mode — either via config or SLACK_APP_TOKEN env var.

Authentication

Vercel Connect

Use Vercel Connect to source the bot token at runtime instead of storing one. The connectSlackAdapter() helper from @vercel/connect/chat wires both a botToken resolver and a webhookVerifier for Connect trigger-forwarded webhooks:

import { createSlackAdapter } from "@chat-adapter/slack";
import { connectSlackAdapter } from "@vercel/connect/chat";

createSlackAdapter({
  ...connectSlackAdapter("slack/acme-slack"),
});

This is equivalent to passing a botToken resolver that calls getToken and a webhookVerifier that validates the Vercel OIDC token Connect attaches. Omit signingSecret / SLACK_SIGNING_SECRET when using it.

Single-workspace mode

Provide SLACK_BOT_TOKEN and SLACK_SIGNING_SECRET as shown in Quick start.

Token rotation

botToken accepts a function returning a string or Promise<string> — the resolver is invoked per API call, so it composes with Slack token rotation (12-hour TTL) or lazy fetch from a secret manager:

createSlackAdapter({
  botToken: async () => await secrets.get("slack-bot-token"),
});

If the resolver is expensive (e.g. a vault round-trip), implement caching inside the resolver itself.

Custom webhook verification…

Description from the npm listing.

  • chat
  • chat-sdk
  • chatbot
  • slack
  • slack-bot
  • bot
  • adapter
  • block-kit
  • messaging
  • ai-agent
  • ai-sdk
  • vercel

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@chat-adapter/slack weekly downloads on npm, last 90 days: 672,066 weekly downloads as of Oct 18, 2026, +11.4% over 90 days.@chat-adapter/slackWeekly downloads on npm · Last 90 days672,066downloads / week+11.4% over 90 days0200K400K600K800K1M1.2M1.4M1.6MJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@chat-adapter/slack weekly downloads on npm, last 90 days: 672,066 weekly downloads as of Oct 18, 2026, +11.4% over 90 days.

7/30/90-day growth

@chat-adapter/slack weekly downloads growth on npm: -38.2% over 7 days, -12.9% over 30 days, +11.4% over 90 days.@chat-adapter/slackWeekly downloads growth on npm672,066downloads / week now7-day growth-415,048 weekly downloads-38.2%30-day growth-99,636 weekly downloads-12.9%90-day growth+68,907 weekly downloads+11.4%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@chat-adapter/slack weekly downloads growth on npm: -38.2% over 7 days, -12.9% over 30 days, +11.4% over 90 days.

Ranking history

@chat-adapter/slack npm ranking history: currently #242 (by weekly downloads).@chat-adapter/slacknpm ranking · by weekly downloads · Last 90 days#242current rank#240#245#250#255#260#265Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
@chat-adapter/slack npm ranking history: currently #242 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,162 shown · page 13, #2 (overall #242)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs259 listings · 13 pages · page 1, #3 (overall #3)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (122)
Recent weekly downloads observations for @chat-adapter/slack
Date (UTC)Weekly downloadsChange vs. previous
672,066+172K
500,066-124.8K
624,869+5.8K
619,067-231.2K
850,254-225K
1,075,2540
1,075,254-11.9K
1,087,114-14.2K
1,101,297+2.3K
1,098,999-112
1,099,111+3K
1,096,069-1.7K
1,097,795-255.8K
1,353,560—

Similar npm AI SDKs plugins

All 20 @chat-adapter/slack alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@chat-adapter/slack. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.