# Chat SDK

> Chat SDK is an open-source agent skill for developer tools. Guides an agent through building multi-platform chat bots with the Chat SDK package. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ScaleDockHQ/better-supabase/tree/main/.agents/skills/chat-sdk
- **Repository:** https://github.com/scaledockhq/better-supabase
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** chat-sdk
- **Collection:** https://github.com/ScaleDockHQ/better-supabase
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/chat-sdk)
- [License: MIT](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/chat-sdk)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [M365 agents ts](https://ai-powered.com/skills/m365-agents-ts): M365 agents ts is an open-source agent skill for developer tools.
- [Copilot SDK](https://ai-powered.com/skills/copilot-sdk): Copilot SDK is an open-source agent skill for developer tools.
- [Agents SDK](https://ai-powered.com/skills/agents-sdk): Agents SDK is an open-source agent skill for developer tools.
- [Slack to teams](https://ai-powered.com/skills/slack-to-teams): Slack to teams is an open-source agent skill for communication.
- [Teams app developer](https://ai-powered.com/skills/teams-app-developer): Teams app developer is an open-source agent skill for communication.
- [Computesdk](https://ai-powered.com/skills/computesdk): Computesdk is an open-source agent skill for developer tools.
- [Developing genkit js](https://ai-powered.com/skills/developing-genkit-js): Developing genkit js is an open-source agent skill for developer tools.
- [Sandbox CLI sandbox](https://ai-powered.com/skills/sandbox-cli-sandbox): Sandbox CLI sandbox is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/chat-sdk
