chat-sdk

Unify bot development across Slack, Teams, Discord, and Telegram platforms.

3|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/rauell1/safaricharge --skill chat-sdk-rauell1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chat-sdk
Source: https://github.com/rauell1/safaricharge/tree/main/.agents/skills/chat-sdk
Command: npx skills add https://github.com/rauell1/safaricharge --skill chat-sdk-rauell1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the complexity of building separate bots for each messaging platform by giving you one unified way to design, route, and maintain chat automation across many channels.

Core Features & Use Cases

  • Multi-platform bot architecture: Build once and deploy to Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, and WhatsApp with shared logic.
  • Conversation primitives: Work with chats, threads, messages, reactions, slash commands, cards, and modals through a consistent abstraction.
  • Streaming and state management: Support AI-powered replies, durable thread state, deduplication, and adapter-specific webhook handling.
  • Use case: Create a support bot that listens for mentions in Slack, replies in threads, opens modals for approvals, and reuses the same core logic for Discord and Telegram.

Quick Start

Ask the assistant to use the chat-sdk skill to design a multi-platform chat bot with shared event handling, adapter setup, streaming replies, and webhook wiring.

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, Discord, and Microsoft Teams?

To build a single chatbot across Slack, Discord, and Teams, you use an adapter-based architecture that abstracts platform-specific logic into shared conversation primitives like threads, messages, and slash commands. This lets you write core bot logic once and deploy it everywhere.

Can I handle slash commands and webhook routing for multiple messaging platforms with one codebase?

Yes, you can handle slash commands and webhook routing for multiple messaging platforms with one codebase by using adapter-specific webhook handlers. These handlers normalize incoming events from Slack, Telegram, and Discord into a unified format for your bot to process.

What is the best way to manage conversation state and streaming replies in multi-platform chatbots?

The best way to manage conversation state and streaming replies in multi-platform chatbots is through state persistence and message abstractions. This approach maintains durable thread state and supports AI-powered streaming responses uniformly across all connected chat platforms.

Does this unified bot approach support interactive cards and modals for Google Chat and WhatsApp?

Yes, this unified bot approach supports interactive cards and modals for Google Chat, WhatsApp, and other platforms. It maps platform-specific UI components to consistent conversation abstractions, allowing your bot to open approval modals or send rich cards without duplicating logic.

How do I route direct messages and mentions uniformly across platforms like GitHub and Linear?

You route direct messages and mentions uniformly across platforms like GitHub and Linear by leveraging adapter-based event handling. The system normalizes incoming mentions and direct messages into a shared format, enabling your bot to trigger the same core workflows regardless of the source platform.