chat-sdk

Build a single TypeScript bot interface for Slack, Teams, Discord, and Telegram workflows.

1|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/arthtyagi/onloop --skill chat-sdk-arthtyagi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chat-sdk
Source: https://github.com/arthtyagi/onloop/tree/main/.agents/skills/chat-sdk
Command: npx skills add https://github.com/arthtyagi/onloop --skill chat-sdk-arthtyagi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Chat SDK removes the complexity of building separate bot implementations for each chat platform by giving you one TypeScript API for conversations, events, and rich interactions.

Core Features & Use Cases

  • Multi-platform bot logic: Write one bot and run it across Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, and WhatsApp.
  • Event-driven automation: Handle mentions, direct messages, subscribed threads, reactions, slash commands, actions, modals, cards, files, and assistant-style workflows.
  • Durable integrations: Connect platform adapters, state storage, webhooks, and streaming responses to build reliable production bots.
  • Use case: A support bot can answer channel mentions, open a direct-message follow-up, stream an AI response, and persist thread state without rewriting the logic for each platform.

Quick Start

Use the chat-sdk skill to design a multi-platform bot that handles mentions, webhooks, and streamed AI replies with durable state.

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 single chatbot that works across Slack, Teams, and Discord?

You can build a cross-platform chatbot by using a unified TypeScript API that abstracts platform-specific events. This chat SDK handles messages and rich interactions, allowing you to write your bot logic once and deploy it across Slack, Teams, Discord, and other networks.

Can I handle slash commands, cards, and modals with a unified bot interface?

Yes, a unified bot interface supports event-driven automation for slash commands, cards, modals, and reactions. The chat SDK maps these rich interactions into a single API, enabling consistent bot behavior across Slack, Google Chat, Telegram, and WhatsApp.

What's the best way to manage webhook routing for multi-platform chatbots?

Managing webhook routing for multi-platform chatbots requires durable adapter wiring and persistent state management. This chat SDK provides the necessary infrastructure to route platform webhooks reliably, ensuring your bot processes events and maintains thread state without data loss.

Does this TypeScript chat SDK support streaming AI responses in direct messages?

Yes, this TypeScript chat SDK supports streaming-safe response handling for AI replies in direct messages. It allows your bot to stream responses back to users across connected platforms while maintaining durable state throughout the conversation thread.

Why do I need adapter wiring for cross-platform messaging automation?

Adapter wiring is required for cross-platform messaging automation to translate platform-specific events into a common interface. Without adapters, you would need to build and maintain separate webhook handlers and event logic for Slack, Teams, Discord, and Telegram independently.

How to persist thread state when deploying bots across multiple messaging networks?

To persist thread state across multiple messaging networks, you need a bot interface with durable state management. This chat SDK handles state persistence natively, allowing your bot to track conversation context and thread history reliably across Slack, WhatsApp, and other platforms.