Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

chat-sdk

Skill by vercel

Builds multi-platform chat bots with the Chat SDK (chat npm package) for Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear and WhatsApp. Aimed at developers who want to write bot logic once and deploy it across chat platforms.

  • Score 90
  • 2.5k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install chat-sdk

Built from the published package, never by AI.

git clone --depth 1 https://github.com/vercel/chat /tmp/chat && mkdir -p ~/.claude/skills && cp -r /tmp/chat/skills/chat ~/.claude/skills/chat-sdk

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install chat-sdk in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Chat SDK is a unified TypeScript SDK, distributed as the chat npm package, for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, Telegram, GitHub, Linear, WhatsApp, and more. This skill guides an AI assistant through scaffolding a bot with create-chat-sdk, which sets up a basic Next.js project without prompts. It also points the assistant to the docs, guides, and templates that ship in node_modules/chat once the package is installed.

The skill covers mentions, direct messages, subscribed threads, reactions, slash commands, cards, modals, files, AI streaming, webhook routes, and multi-adapter bots. It also references the @chat-adapter/catalog package, a zero-dependency static catalog of official, vendor-official, and community adapters. It is aimed at developers who build bots for chat platforms, including those who write custom adapters or state adapters.

Written from the project's SKILL.md and checked against it.

What it can do

  • Scaffold a bot projectScaffolds a basic Next.js bot project with create-chat-sdk without prompts.
  • Build platform botsCovers bots for Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear and WhatsApp.
  • Handle chat eventsCovers mentions, direct messages, subscribed threads, reactions and slash commands.
  • Send rich responsesCovers cards, modals, files and streamed AI responses to chat platforms.
  • Configure webhooks and adaptersCovers webhook routes, multi-adapter bots, and custom adapter or state adapter builds.
  • Check adapter capabilitiesUses @chat-adapter/catalog to list adapters and check support for streaming or modals.
  • Reference guides and templatesPoints to bundled guides, such as a Slack AI agent and approval workflows, and open source templates.

What you need

  • The chat npm package (npm i chat)
  • create-chat-sdk for scaffolding a new project
  • Next.js for the basic scaffolded bot project

Try asking

  • Scaffold a new Slack bot project with create-chat-sdk
  • Show me how to add slash commands and cards to my Chat SDK bot
  • Which Chat SDK adapters support streaming or modals?

Good to know

  • The bundled docs, guides and templates exist only after the chat package is installed.
  • The current adapter list is kept in the external Chat SDK llms.txt file.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/chat/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to chat-sdk

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

chat-sdk: common questions

Which chat platforms does Chat SDK support?

The source names Slack, Microsoft Teams, Google Chat, Discord, Telegram, GitHub, Linear and WhatsApp, and says more are supported. The current official, vendor-official and community adapters are listed in the Chat SDK llms.txt file.

Where can I find the Chat SDK documentation?

Docs ship in node_modules/chat/docs once the package is installed. They are also available on the Chat SDK website at chat-sdk.dev/docs and in the Vercel knowledge base.

Are there starter templates for Chat SDK bots?

Yes. The source lists templates such as Community Agent, Knowledge Agent, Durable iMessage Agent and Caltext, and says they are listed in node_modules/chat/resources/templates.json.

How do I install chat-sdk?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is chat-sdk free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is chat-sdk safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to chat-sdk?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

chat-sdk Install

Add to stack

Loading.