Chat SDK is a TypeScript software development kit for creating chat bots that work across services such as Slack, Microsoft Teams, Google Chat, Discord, Telegram, and WhatsApp. It lets developers write bot behavior once while using adapters for different messaging platforms, with support for events, interactive cards, modals, commands, files, and streamed AI responses. The catalogue includes skills and instructions for working with the SDK.
Borrowing it
Nothing to install: this file belongs to vercel/chat. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/vercel/chat/main/.agents/skills/add-adapter/SKILL.mdgit clone --depth 1 https://github.com/vercel/chatWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/vercel/chat/add-adapter)<a href="https://agentmods.dev/skills/vercel/chat/add-adapter"><img src="https://agentmods.dev/badge/skills/vercel/chat/add-adapter/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/vercel/chat/add-adapter"><img src="https://agentmods.dev/badge/skills/vercel/chat/add-adapter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk warn
- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00108 | $0.01678 |
| Opus 5.5 | $0.00043 | $0.00671 |
| Sonnet 5.5 | $0.00022 | $0.00336 |
| Haiku 4.5 | $0.00011 | $0.00168 |
Grade A, and why
add-adapter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add a catalog adapter (vendor-official or community)
Use this to list a third-party adapter in the Chat SDK catalog and docs. It is not for building a first-party packages/adapter-* package.
Required: load the technical-writer skill (../technical-writer/SKILL.md) before writing any prose: the docs page, frontmatter tagline and description, the changeset, commit messages, and the PR description. Follow its editorial standards alongside the sourcing rules below.
Gather the source — never invent details
Ask the user for:
- Their adapter's GitHub repository URL.
- Their docs or README.
Read both. Everything you write into the catalog and docs must come directly from those sources or from the user. Do not assume or guess any information:
packageName— read it from the repo'spackage.json, verbatim.- Factory export (e.g.
createFooAdapter) — read it from the package's exports/source. Do not guess it from the display name. type(platformorstate), env vars, and the feature matrix — base these on what the code and README actually document.- Install and usage snippets — take them from the README; do not write example code the adapter may not support.
If the repo or README does not make something clear, stop and ask the user rather than filling it in. When in doubt, ask.
Choose the slug (kebab-case) and confirm it is not already taken: ls apps/docs/content/adapters/*/.
Pick the tier
- community — listed in the docs. A
CommunityAdapterentry in@chat-adapter/catalog(listing metadata and capabilities only), no scaffold spec. - vendor-official — a maintained/blessed adapter. A full
CatalogAdapterentry with setup metadata (factory export, peer deps, env vars), a matchingcreate-chat-sdkscaffold-spec entry, and a changeset. Frontmatter addsvendorOfficial: trueandauthor.
Files to change
<tier> is vendor-official or community.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago Changed 6294e1e3f7ba
- 16d ago Changed · +3 tokens per session c5000b0332ac
- 23d ago Changed · +2 lines 0fa6a986a7e1
- 25d ago Changed · +2 lines · -4 tokens per session 533b0c0ff936
- 1mo ago First seen · 74 lines · 109 tokens per session scan A 1bc53abef088
add-adapter is a skill published in the GitHub repository vercel/chat (2,421 stars, last pushed yesterday), licensed MIT. It adds 108 tokens to every session and 1,678 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
remindme
⏰ simple Telegram reminders for OpenClaw. cron, zero dependencies.
slack-channels
A tool for managing Slack channels, which are shared conversation spaces for teams. It looks up user IDs before inviting people or changing channel settings.
slack-messages
A tool for managing Slack messages, which are posts in team conversation channels. It supports editing, pinning, and reactions using channel IDs and message timestamps.
lark-group-admin
An administration tool for existing Lark group chats, covering settings, members, and administrators.
lark
A Feishu workplace messaging skill for looking up users, managing group chats, handling administrators, and uploading files. Feishu is a workplace collaboration platform similar to Slack or Microsoft Teams.
slack-users
A lookup tool for Slack user profiles using real Slack user IDs.