snowclaw channel

Manage messaging channels the agent can reach — Slack, Telegram, Discord. Channel credentials become individual Snowflake secrets, and network rules for each channel's hosts are auto-detected.

Supported channels

ChannelAuthNotes
SlackBot token + app tokenSocket mode — no public webhook needed
TelegramBot token + user IDAllowlist-based via allowFrom
DiscordBot tokenOptional guild-based filtering

list

snowclaw channel list

Shows configured channels, their IDs, and the credentials each one expects. Credentials themselves live in .env (values are not printed).

add

snowclaw channel add

Interactive wizard:

  1. Pick a channel type (Slack, Telegram, or Discord).
  2. Enter credentials — the wizard marks each as either a secret (goes to .env and Snowflake SECRET) or inline (goes directly into openclaw.json).
  3. Fill in any extra config (e.g. Telegram allowFrom user ID, Discord guild allowlist).
  4. The CLI auto-detects required network rules for that channel (e.g. api.telegram.org:443) and offers to apply them.

After adding, the CLI nudges you to redeploy so SPCS picks up the new secrets and network rules.

edit

snowclaw channel edit <name>

Re-opens the credential prompts for an existing channel. Use this to rotate tokens or update an inline config value.

remove

snowclaw channel remove <name>

Removes a channel from openclaw.json, clears its .env entries, and (optionally) drops the associated Snowflake SECRET objects. Network rules tied only to the removed channel can be dropped via snowclaw network remove.