configure-channel
Что он делает
Он дает ИИ-агенту пошаговые команды для подключения чат-канала к OpenClaw и проверки его работы. Он нужен тем, кто хочет, чтобы OpenClaw общался через мессенджер.
Когда использовать
- ✓Когда хотите подключить OpenClaw к чат-приложению, например Telegram.
- ✓Когда нужно проверить текущее состояние ваших чат-каналов OpenClaw.
- ✓Когда хотите изменить, кто может писать вашему боту OpenClaw, и не открыть доступ случайно.
Ссылка на скилл
https://github.com/openclaw/openclaw/blob/main/custodian-skills/configure-channel/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Помогите подключить моего бота OpenClaw к Telegram и проверить, что он отвечает мне.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл проверяет, какие каналы уже настроены, затем добавляет токен бота как защищенную ссылку, а не открытым текстом. В конце он подтверждает работу канала настоящим сообщением.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Configure a channel
Never print or persist secret values; channel tokens enter config only as SecretRefs, or through the in-session connect_channel flow where the operator types the secret into a masked prompt. Never hand-edit config files on disk. Every run ends with the observable Prove result or an exact explanation of why it could not be proven.
Gather
openclaw channels list --all
openclaw channels status
openclaw config get channels --json # "Config path not found" is normal before first setup
Confirm the exact config path before writing — key names differ per channel (channels.telegram.botToken, channels.discord.token, ...):
openclaw config schema --json | jq '.properties.channels.properties.telegram'
Mutate
Confirm the intended account and access changes with the operator before writing. Preserve existing approved allowlist entries, dmPolicy, and groupPolicy unless their replacement or change is explicitly approved; never broaden access to make a check pass.
Preferred shell path — token staged as an env var on the gateway process or in a 0600 file, wired as a SecretRef (Telegram example):
openclaw config set channels.telegram.botToken --ref-provider default --ref-source env --ref-id TELEGRAM_BOT_TOKEN
With the bot connected and DM policy pairing, ask the operator to DM it. Read Your Telegram user id in the pairing reply, or run openclaw logs --follow and read senderUserId in that sender's telegram pairing request entry. Stop following once captured; keep unrelated logs private. If the current policy prevents this flow, use an already verified ID or report the discovery blocker; do not broaden access.
Use the numeric Telegram user ID, not a phone number, username, chat/group ID, or bot ID. In this single-user example, 123456789 is a placeholder: replace it with the verified, approved user ID and retain any other approved entries.
openclaw config set channels.telegram.allowFrom '["123456789"]' --strict-json
Multi-field changes in one validated write:
openclaw config patch --stdin <<'JSON'
{ channels: { telegram: { enabled: true, groupPolicy: "allowlist" } } }
JSON
In-session alternative: call the connect_channel tool action with the channel id — the operator enters the token in a masked prompt, never in chat. Avoid openclaw channels add --token <value>: it puts the secret in argv and process listings.
Repair
openclaw doctor --lint
openclaw channels status --probe
doctor --lint can exit 1 for findings: read the report and continue the remaining checks. Ordinary doctor and doctor --non-interactive can write config/state; do not use them for diagnosis before approval. Apply openclaw doctor --fix --non-interactive only after explicit approval, then re-check status.
Prove
Send one real, clearly labeled test message and confirm delivery from the command result (use --dry-run first to inspect the payload):
openclaw message send --channel telegram --target <chatId> --message "OpenClaw channel test — please ignore" --dry-run
openclaw message send --channel telegram --target <chatId> --message "OpenClaw channel test — please ignore"
If sending fails, report the exact account, permission, destination, or network blocker without exposing credentials.
Report
State the channel and account changed, the exact config paths written (never values), the test destination, and the observed delivery result. List any remaining operator action.
Further reference: https://docs.openclaw.ai/channels/telegram (and the matching page for other channels)
Частые вопросы
Будет ли токен бота сохранен открытым текстом?
Нет. Токен сохраняется как ссылка на переменную окружения или защищенный файл, поэтому сам секрет не записывается в конфигурацию.
Может ли он изменить, кто имеет право писать боту?
Он сохраняет существующие одобренные настройки доступа, если вы не согласитесь на изменение, и не расширяет доступ только ради проверки.
Какие чат-приложения он поддерживает?
Он поддерживает несколько чат-приложений, включая Telegram и Discord, и у каждого из них свои настройки.
Подробности
Оригинальное описание автора
Configure and prove a chat channel with non-interactive one-liners; secrets only as SecretRefs.
repo: openclaw/openclaw
Популярность
- Звёзды на GitHub
- 394k
- Место в рейтинге
- #11
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
discord-user-post
394kПозволяет агенту отправить одобренное вами сообщение в Discord от вашего имени через настольное приложение, после проверки точного канала.
discrawl
394kПозволяет агенту искать и кратко пересказывать сохраненный локальный архив сообщений Discord, проверять его свежесть и читать личные сообщения.
gitcrawl
394kПозволяет агенту искать в сохраненном архиве задач и запросов на слияние GitHub, объединять дубликаты и проверять их текущий статус на GitHub.
graincrawl
394kПозволяет агенту искать в сохраненных заметках и расшифровках встреч Granola, проверять их свежесть и считать за период.
Похожие скиллы
to-questionnaire
310kПревращает вопрос, на который вы не можете ответить сами, в письменную анкету, которую заполнит другой человек по электронной почте или на встрече.
email-ops
280kАгент управляет почтой: упорядочивает входящие и проверяет отправку, чтобы важные письма уходили и отслеживались.
messages-ops
280kПомогает агенту читать сообщения и коды подтверждения, чтобы проверить переписку перед ответом или подтвердить, какое сообщение было видно.