Skip to content
Skill

Chat SDK

Guides an agent through building multi-platform chat bots with the Chat SDK package

Chat SDK is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
5
Last commit
License
MIT
Listing updated

Similar skills

About Chat SDK

This skill helps an agent scaffold and build chat bots with the Chat SDK TypeScript package, which lets one bot codebase run on many chat platforms such as Slack, Microsoft Teams, Discord, Telegram and GitHub. It points the agent to a project scaffolding CLI, to docs and example guides shipped inside the installed package, and to a catalog of platform adapters and their capabilities.

The agent is directed to check the chat package's bundled docs, guides and template list when it is installed in a project, and to tell the user to install it when it is missing. It covers patterns such as webhook routes, multi-adapter setups, streamed AI replies, cards and custom adapters, with worked examples for AI agents, approval workflows and deploy bots.

Using it requires Node.js and the chat npm package, and a bot account or app credentials for each chat platform targeted. The skill itself ships a single SKILL.md with no scripts.

When your agent uses it

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (7 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the better-supabase plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ScaleDockHQ/better-supabase
/plugin install better-supabase@better-supabase

Or copy only this skill to ~/.claude/skills/chat-sdk:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/chat-sdk &&
cp -R "$tmp/.agents/skills/chat-sdk" ~/.claude/skills/chat-sdk &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/chat-sdk inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/chat-sdk to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/chat-sdk &&
cp -R "$tmp/.agents/skills/chat-sdk" ~/.agents/skills/chat-sdk &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/chat-sdk inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/chat-sdk to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/chat-sdk &&
cp -R "$tmp/.agents/skills/chat-sdk" ~/.cursor/skills/chat-sdk &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/chat-sdk inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ScaleDockHQ/better-supabase.git --path .agents/skills/chat-sdk

Or copy the folder to ~/.gemini/skills/chat-sdk yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/chat-sdk:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/chat-sdk &&
cp -R "$tmp/.agents/skills/chat-sdk" ~/.copilot/skills/chat-sdk &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/chat-sdk inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git

Then copy better-supabase/.agents/skills/chat-sdk into your agent's skills folder as chat-sdk. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Project scaffolding
Points the agent to the create-chat-sdk CLI for generating a basic Next.js bot project.
Bundled documentation lookup
Directs the agent to the docs, guides and templates that ship inside the installed chat package.
Adapter capability catalog
Explains how to query supported platforms, required environment variables and features such as streaming or modals.
Multi-platform bot patterns
Covers mentions, direct messages, threads, reactions, slash commands and webhook routing across platforms.
AI streaming and cards
Describes sending rich cards, modals and streamed AI responses to chat platforms.
Custom adapter guidance
Covers building custom platform or state adapters when no existing adapter fits.

Good for

  • Scaffold a new Next.js chat bot that runs on Slack and Discord
  • Add a mention handler and streamed AI replies to an existing bot
  • Build an approval card flow in Slack with interactive buttons
  • Set up webhook routes for a Teams and Google Chat bot
  • Write a custom adapter for a chat platform not yet supported

Chat SDK FAQ

How do I get started with Chat SDK?

Run npx create-chat-sdk to scaffold a basic Next.js bot project, or install the chat package with npm i chat if it is not yet in your project.

Where does the agent find documentation?

When the chat package is installed, the agent inspects the docs, resources and templates.json inside node_modules/chat, and the online docs are at chat-sdk.dev/docs.

Which chat platforms are covered?

The skill mentions Slack, Microsoft Teams, Google Chat, Discord, Telegram, GitHub, Linear and WhatsApp, and refers to the adapter catalog for the current full list.

How do I install Chat SDK in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/chat-sdk to use it in all your projects, or to .claude/skills/chat-sdk in one project. Or install the better-supabase plugin, which includes it: /plugin marketplace add ScaleDockHQ/better-supabase, then /plugin install better-supabase@better-supabase.

Does Chat SDK run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Chat SDK?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Chat SDK?

The closest alternatives to Chat SDK are M365 agents ts, Copilot SDK, Agents SDK, Slack to teams and Teams app developer.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ScaleDockHQ/better-supabase

  1. Apply the CommonMark 0.31.2 spec when parsing or rendering Markdown

    • Open source
    • 5 GitHub stars
    • Files and documents
  2. Publish Agent Cards and run agent-to-agent calls over the A2A 1.0 protocol

    • Open source
    • 5 GitHub stars
    • Developer tools
  3. Lets an agent stream runs, tool calls and shared state to user-facing apps over AG-UI 1.0

    • Open source
    • 5 GitHub stars
    • Developer tools
  4. Lets an AI agent drive Chrome or Chromium through a fast browser automation CLI

    • Open source
    • 5 GitHub stars
    • Browser automation
  5. Guides an agent to write, review and validate SKILL.md skills against the Agent Skills

    • Open source
    • 5 GitHub stars
    • Developer tools
  6. Write, place, migrate and review AGENTS.md instruction files for coding agents

    • Open source
    • 5 GitHub stars
    • Developer tools