
Chat Sdk
Install this skill when you want one Next.js or Vercel codebase to power Slack, Teams, Discord, Telegram, and similar chat bots with shared threads, cards, and webhook routes.
Install
npx skills add https://github.com/vercel-labs/vercel-plugin --skill chat-sdkWhat is this skill?
- Single Chat SDK codebase for Slack, Telegram, Microsoft Teams, Discord, Google Chat, GitHub, and Linear bots
- Covers Chat class, adapters, threads, messages, cards, modals, streaming, and state management
- Path-pattern triggers for `app/api/chat/**`, platform webhooks, and `lib/bot/**` layouts
- Official AI SDK UI chatbot docs and Vercel ai-chatbot repo listed as reference metadata
- Webhook setup guidance across multiple enterprise and social chat surfaces
Adoption & trust: 292 installs on skills.sh; 187 GitHub stars; 2/3 security scanners passed (skills.sh audits).
Recommended Skills
Journey fit
Multi-platform bot adapters, webhook handlers, and Chat SDK wiring are implemented while building product integrations, before you rely on them in production traffic. Integrations is the canonical shelf because the skill centers on platform adapters, webhook path patterns, and unified bot APIs rather than generic frontend UI work.
Common Questions / FAQ
Is Chat Sdk safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Chat Sdk
name: chat-sdk description: Vercel Chat SDK expert guidance. Use when building multi-platform chat bots — Slack, Telegram, Microsoft Teams, Discord, Google Chat, GitHub, Linear — with a single codebase. Covers the Chat class, adapters, threads, messages, cards, modals, streaming, state management, and webhook setup. metadata: priority: 8 docs: - "https://sdk.vercel.ai/docs/ai-sdk-ui/chatbot" - "https://github.com/vercel/ai-chatbot" sitemap: "https://sdk.vercel.ai/sitemap.xml" pathPatterns: - "app/api/chat/**" - "app/api/chat-bot/**" - "app/api/bot/**" - "app/api/slack/**" - "app/api/teams/**" - "app/api/discord/**" - "app/api/gchat/**" - "app/api/telegram/**" - "app/api/github-bot/**" - "app/api/linear-bot/**" - "app/api/webhooks/slack/**" - "app/api/webhooks/teams/**" - "app/api/webhooks/discord/**" - "app/api/webhooks/gchat/**" - "app/api/webhooks/telegram/**" - "app/api/webhooks/github/**" - "app/api/webhooks/linear/**" - "src/app/api/chat/**" - "src/app/api/chat-bot/**" - "src/app/api/bot/**" - "src/app/api/slack/**" - "src/app/api/teams/**" - "src/app/api/discord/**" - "src/app/api/gchat/**" - "src/app/api/telegram/**" - "lib/bot.*" - "lib/bot/**" - "src/lib/bot.*" - "src/lib/bot/**" - "lib/chat-bot/**" - "src/lib/chat-bot/**" - "bot/**" - "pages/api/bot.*" - "pages/api/bot/**" - "src/pages/api/bot.*" - "src/pages/api/bot/**" - "tests/**/bot*" - "test/**/bot*" - "fixtures/replay/**" - "apps/*/app/api/bot/**" - "apps/*/app/api/slack/**" - "apps/*/app/api/teams/**" - "apps/*/app/api/discord/**" - "apps/*/lib/bot/**" - "apps/*/src/lib/bot/**" importPatterns: - "chat" - "@chat-adapter/*" bashPatterns: - '\bnpm\s+(install|i|add)\s+[^\n]*\bchat\b' - '\bpnpm\s+(install|i|add)\s+[^\n]*\bchat\b' - '\bbun\s+(install|i|add)\s+[^\n]*\bchat\b' - '\byarn\s+add\s+[^\n]*\bchat\b' - '\bnpm\s+(install|i|add)\s+[^\n]*@chat-adapter/' - '\bpnpm\s+(install|i|add)\s+[^\n]*@chat-adapter/' - '\bbun\s+(install|i|add)\s+[^\n]*@chat-adapter/' - '\byarn\s+add\s+[^\n]*@chat-adapter/' - '\bnpm\s+(install|i|add)\s+[^\n]*@chat-adapter/telegram' - '\bpnpm\s+(install|i|add)\s+[^\n]*@chat-adapter/telegram' - '\bbun\s+(install|i|add)\s+[^\n]*@chat-adapter/telegram' - '\byarn\s+add\s+[^\n]*@chat-adapter/telegram' promptSignals: phrases: - "chat sdk" - "chat bot" - "chatbot" - "conversational interface" - "slack bot" - "telegram bot" - "discord bot" - "teams bot" allOf: - [bot, platform] - [bot, multi] anyOf: - "onNewMention" - "onSubscribedMessage" - "chat adapter" - "cross-platform bot" noneOf: - "useChat" minScore: 6 retrieval: aliases: - chat ui - chatbot - conversation interface - messaging component intents: - build chatbot - add chat interface - create messaging ui - implement chat feature entities: - useChat - Message - ChatUI - StreamingMessage - chat-sdk examples: - build a chatbot interface - add chat to my app - create a messaging component chainTo: - pattern: 'from\s+[''""]openai[''""]' targetSkill: ai-sdk message: 'Direct OpenAI SDK import in chat bot — loading AI SDK guidance for unified provider abstraction and streaming.' - pattern: 'from\s+[''\"](slack-bolt|@slack/bolt|@slack/web-api)[''"]|require\s*\(\s*[''\"](slack-bolt|@slack/bolt|@slack/web-api)[''"]|new\s+App\s*\(\s*\{\s*token' targetSkill: chat-sdk message: '@slack/bolt or @slack/web-api detected — use the Chat SDK with @chat-adapter/slack instead for a unified multi-platform bot that works across Slack, Teams, Discord, Telegram, and more.' - pattern: 'from\s+[''\"](discord\.js|discord-api-types|telegram-bot-api|telegraf|