chat-sdk

Develop multi-platform chat bots using TypeScript and Chat SDK.

Updated Dec 12, 2025
One-click install
npx skills add https://github.com/global-os/gproxy --skill chat-sdk-global-os
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chat-sdk
Source: https://github.com/global-os/gproxy/tree/main/.agents/skills/chat-sdk
Command: npx skills add https://github.com/global-os/gproxy --skill chat-sdk-global-os

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires chat, @chat-adapter/slack, @chat-adapter/teams, @chat-adapter/gchat, @chat-adapter/discord, @chat-adapter/telegram, @chat-adapter/github, @chat-adapter/linear, @chat-adapter/whatsapp, @chat-adapter/state-redis, @chat-adapter/state-ioredis, @chat-adapter/state-pg, @chat-adapter/state-memory, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill solves the problem of building multi-platform chat bots across various platforms like Slack, Telegram, Microsoft Teams, Discord, Google Chat, GitHub, Linear, and WhatsApp, using a single codebase.

Core Features & Use Cases

  • Cross-Platform Support: Build chat bots for multiple platforms with a single codebase.
  • Chat Class & Adapters: Utilize the Chat class and platform-specific adapters for various chat platforms.
  • State Management: Implement state management for subscriptions, locks, dedupe, and thread state.
  • Use Cases: Suitable for developing chat bots that integrate with different messaging platforms, automate conversations, handle mentions, direct messages, and more.

Quick Start

Use the chat-sdk skill to create a Slack bot that listens for @mentions and responds.

Frequently Asked Questions about chat-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a multi-platform chat bot that works across Slack, Teams, and Discord with a single codebase?

You can build a multi-platform chat bot using TypeScript and the Chat SDK library with platform-specific adapters. This approach unifies bot logic for Slack, Teams, Discord, Telegram, and WhatsApp, allowing a single codebase to handle messages across all platforms.

What is the best way to manage state for a cross-platform chat bot?

State management for cross-platform chat bots is handled through dedicated adapters like state-redis, state-ioredis, state-pg, and state-memory. These adapters manage subscriptions, locks, dedupe, and thread state directly within the Chat SDK architecture.

Does this Chat SDK support GitHub, Linear, and WhatsApp integrations for automated messaging?

Yes, the Chat SDK supports GitHub, Linear, and WhatsApp through dedicated chat adapters. It enables automated conversations, handles mentions, direct messages, and integrates webhook setup for these specific platforms.

Can I use TypeScript to develop a Telegram bot that listens for direct messages and mentions?

Yes, you can develop a Telegram bot using TypeScript and the Chat SDK. The SDK utilizes the Chat class and the chat-adapter-telegram to listen for mentions and direct messages while maintaining unified deployment logic.

What are the limitations of using a single codebase for multi-platform messaging bots?

While a single codebase unifies bot logic across platforms, you must still install the Chat SDK and individual platform adapters like chat-adapter-slack or chat-adapter-discord. Platform-specific webhook setup and deployment configurations are also required for each target messaging service.

How do I set up webhooks for a Slack bot using the Chat SDK?

To set up webhooks for a Slack bot, you use the Chat SDK with the @chat-adapter/slack adapter. The SDK provides webhook setup capabilities and unified bot logic to listen for @mentions and respond directly within Slack.