Agent skill · software engineering · vercel
chat-sdk
Build multi-platform chat bots with Chat SDK (`chat` npm package). Use when developers want to scaffold a bot with create-chat-sdk, build a Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, or WhatsApp bot, handle mentions, direct messages, subscribed threads, reactions, slash commands, cards, modals, files, or AI streaming, set up webhook routes or multi-adapter bots, send rich cards or streamed AI responses to chat platforms, or build a custom adapter or state adapter.
Why this skill is useful
Provides specific commands and patterns for building chat bots across multiple platforms, which the AI wouldn't reliably generate on its own.
What it needs
Requires chat installed locally. About 4k tokens when loaded. Last updated 2026-08-06. 2,269 stars on the source repository.
What this skill does
Chat SDK Unified TypeScript SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, Telegram, GitHub, Linear, WhatsApp, and more. Write your bot logic once, deploy everywhere. Scaffold a new project Use create-chat-sdk to scaffold a basic Next.js bot project without prompts. Run npx create-chat-sdk --help to see the available options and how the CLI works. Start with Chat SDK documentation When Chat SDK is installed in a user's project, inspect the published docs that ship in nodemodules/chat/docs/, the resources in nodemodules/chat/resources/, and the available open source templates in nodemodules/chat/resources/templates.json. If those paths do not exist, the chat package is not installed in the project yet. The user can install it with npm i chat. You can also find the docs on the Chat SDK website and in the Vercel knowledge base. Available resources <!-- RESOURCES:START --> Guides nodemodules/chat/resources/guides/how-to-build-an-ai-agent-for-slack-with-chat-sdk-and-ai-sdk.md — Build a Slack AI agent using Chat SDK, AI SDK's ToolLoopAgent, and Vercel AI Gateway. Covers project setup, tool definitions, streaming responses, deployment to Vercel, and scaling tool selection with toolpick. nodemodules/chat/resources/guides/human-in-the-loop-with-chat-sdk-and-workflow-sdk.md — Pause durable workflows on Slack approval cards using Chat SDK and Workflow SDK. Uses createWebhook to suspend workflows until a button click, with patterns for multi-stage approvals, timeouts via durable sleep, and approver validation. nodemodules/chat/resources/guides/liveblocks-chat-sdk-ai-sdk.md — Build an AI agent that replies to @-mentions in Liveblocks comment threads with streamed responses and tool calling. Uses Chat SDK, the Liveblocks adapter, AI SDK's ToolLoopAgent, and Redis for thread subscriptions and distributed locking. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills vercel/chat--d91209