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 lobehub

Guides an AI assistant in building multi-platform chat bots with the chat TypeScript SDK. It covers Slack, Teams, Google Chat, Discord, GitHub, and Linear, so developers can write bot logic once.

  • Score 83
  • 86k stars
  • NOASSERTION
  • 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/lobehub/lobehub /tmp/lobehub && mkdir -p ~/.claude/skills && cp -r /tmp/lobehub/.agents/skills/chat-sdk ~/.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 skill that guides an AI assistant through building chat bots with the chat TypeScript SDK. The SDK targets Slack, Teams, Google Chat, Discord, GitHub, and Linear, and the stated goal is to write bot logic once and deploy it everywhere. The skill tells the assistant to read the docs and type definitions bundled in node_modules/chat before writing code.

The guidance covers event handlers for @-mentions, subscribed threads, slash commands, reactions, and button actions. It also covers streaming responses from the AI SDK, JSX interactive cards, and Slack modals. State can be persisted in Redis for production or kept in memory for development. It is aimed at developers building multi-platform bots in TypeScript.

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

What it can do

  • Mention and thread handlersHandles bot @-mentions in new threads and messages in subscribed threads.
  • Slash commandsResponds to slash command invocations through onSlashCommand.
  • Reaction and action handlersReacts to emoji reactions and button clicks or dropdown selections.
  • Streaming responsesPosts any AsyncIterable<string>, such as AI SDK textStream, to a thread.
  • JSX cardsBuilds interactive cards with Card, Button, Actions, Select and related components.
  • Slack modalsBuilds form dialogs, which the source says work with Slack only.
  • Webhook setupExposes a webhook handler per platform through bot.webhooks for common HTTP frameworks.
  • Pluggable stateStores state with Redis for production or memory for development.

What you need

  • Slack bot token and signing secret for the Slack adapter
  • Redis URL for production state
  • TypeScript project with the chat package installed

Try asking

  • Set up a Slack bot that replies when mentioned in a new thread
  • Add a streaming AI reply to my chat bot using the AI SDK
  • Build a JSX card with Approve and Reject buttons for my bot

Good to know

  • Modals are documented for Slack only
  • The chat package is an external SDK pinned in package.json, not versioned in this repo

Security check

A

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

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

Inside the skill

  • SKILL.md6 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 platforms does Chat SDK support?

The skill lists Slack, Teams, Google Chat, Discord, GitHub, and Linear. The package table also includes Telegram and in-repo adapters for Feishu, iMessage via BlueBubbles, LINE, QQ, and WeChat.

Can the bot stream AI responses?

Yes. You pass an AsyncIterable<string> to thread.post(), and the source shows this working with the AI SDK textStream.

Where is bot state stored?

State is pluggable. The source recommends Redis for production and memory for development.

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 NOASSERTION licence. The service it connects to may have its own pricing.

Is chat-sdk safe to use?

It scores 83 of 100. Grades: maintenance A, licence F, 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.