Channels

From ModalityDance/PalmClaw · View interactive version

Channels is an AI agent skill from the GitHub repository ModalityDance/PalmClaw. Configure per-session remote channels (Telegram/Discord/Slack/Feishu/Email/WeCom), then verify inbound/outbound routing and processing visibility.

How to use this skill

Skill file

Channels

Use this skill when users ask to connect Telegram/Discord/Slack/Feishu/Email/WeCom channels, bind a session to a remote channel, or debug channel routing.

Policy

Telegram Setup

  1. Open target session settings from sidebar.
  2. Set Channel = Telegram.
  3. Paste Telegram Bot Token.
  4. Ask user to send one message to the bot in Telegram.
  5. Tap Detect Chats.
  6. Select a detected chat.
  7. Save.

Manual chat ID entry is optional fallback only.

Discord Setup

  1. Open target session settings from sidebar.
  2. Set Channel = Discord.
  3. Paste Discord Bot Token.
  4. Invite bot to server and send one message in target channel.
  5. Paste Discord Channel ID and save.

Tip: Enable Discord Developer Mode, then right-click target channel and copy ID.

If server-channel message text appears empty, enable Message Content Intent for the bot in Discord Developer Portal.

Slack Setup

  1. Open target session settings from sidebar.
  2. Set Channel = Slack.
  3. Fill Slack App Token (xapp...).
  4. Fill Slack Bot Token (xoxb...).
  5. Fill Target Channel ID (usually starts with C, G, or D).
  6. Choose Response Mode:
  1. Optional: fill Allowed User IDs allow-list.
  2. Save.

Slack app prerequisites:

Feishu Setup

  1. Open target session settings from sidebar.
  2. Set Channel = Feishu.
  3. Fill Feishu App ID and Feishu App Secret, then save once in PalmClaw.
  4. In Feishu Open Platform:
  1. Publish the app, open it in Feishu, and confirm/save the Long Connection configuration while PalmClaw is running.
  2. Send one message to the bot from Feishu.
  3. Re-open session settings and tap Detect Chats.
  4. Select the detected conversation:
  1. Optional: add Allowed Open IDs.
  2. Save again if you changed the detected target.

Encrypt Key and Verification Token are optional for Long Connection mode and can stay blank unless your app setup requires them.

If outbound works but inbound does not, re-check the receive permission, im.message.receive_v1, the publish/open step, and the Long Connection confirmation step.

Email Setup

  1. Open target session settings from sidebar.
  2. Set Channel = Email.
  3. Turn Consent Granted on.
  4. Fill IMAP settings:
  1. Fill SMTP settings:
  1. Optional: disable Auto Reply if the mailbox should only ingest mail and not answer automatically.
  2. Save once so mailbox polling can start.
  3. Send one email to the bot mailbox from the target sender address.
  4. Tap Detect Senders.
  5. Select the detected sender address.
  6. Save again if you changed the detected target.

Recommended Gmail defaults:

WeCom Setup

  1. Open target session settings from sidebar.
  2. Set Channel = WeCom.
  3. Fill WeCom Bot ID and WeCom Secret.
  4. Save once so the long connection can start.
  5. Open the bot in WeCom and send one message.
  6. Tap Detect Chats.
  7. Select the detected conversation.
  8. Optional: add Allowed User IDs.
  9. Save again if you changed the detected target.

Binding note:

Expected Runtime Behavior

Quick Verification

Recovery

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.