configure-channel
Fungsinya
Skill ini memberi agent AI langkah demi langkah untuk menghubungkan channel chat ke OpenClaw dan memastikan channel itu berfungsi. Skill ini ditujukan bagi orang yang ingin OpenClaw berkomunikasi lewat aplikasi pesan.
Kapan dipakai
- βSaat Anda ingin menghubungkan OpenClaw ke aplikasi chat seperti Telegram.
- βKetika Anda perlu memeriksa status terkini channel chat OpenClaw Anda.
- βKetika Anda ingin mengubah siapa saja yang boleh mengirim pesan ke bot OpenClaw tanpa membuka akses secara tidak sengaja.
Link skill
https://github.com/openclaw/openclaw/blob/main/custodian-skills/configure-channel/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBantu saya menghubungkan bot OpenClaw ke Telegram dan pastikan ia membalas pesan saya.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini memeriksa channel mana yang sudah diatur, lalu menambahkan token bot sebagai referensi yang aman, bukan sebagai teks biasa. Skill ini diakhiri dengan memastikan channel berfungsi melalui pesan sungguhan.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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)
Pertanyaan umum
Apakah token bot saya akan disimpan sebagai teks biasa?
Tidak. Token disimpan sebagai referensi ke variabel lingkungan atau file aman, sehingga rahasianya sendiri tidak ditulis ke dalam konfigurasi.
Bisakah skill ini mengubah siapa yang boleh mengirim pesan ke bot?
Skill ini mempertahankan pengaturan akses yang sudah disetujui kecuali Anda setuju untuk mengubahnya, dan tidak memperluas akses hanya untuk lolos pemeriksaan.
Aplikasi chat apa saja yang didukung?
Skill ini mencakup beberapa aplikasi chat, termasuk Telegram dan Discord, dan masing-masing memiliki pengaturannya sendiri.
Detail
Deskripsi asli dari pembuat
Configure and prove a chat channel with non-interactive one-liners; secrets only as SecretRefs.
repo: openclaw/openclaw
Popularitas
- Bintang GitHub
- 394k
- Peringkat
- #11
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
discord-user-post
394kMemungkinkan agent Anda mengirim pesan yang sudah Anda setujui ke Discord atas nama Anda, lewat aplikasi desktop Discord, setelah channel tujuannya dipastikan.
discrawl
394kMemungkinkan agent Anda mencari dan merangkum arsip pesan Discord lokal yang tersimpan, memeriksa seberapa baru arsipnya, dan membaca pesan langsung.
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
graincrawl
394kMemungkinkan agent Anda mencari catatan dan transkrip rapat Granola yang tersimpan, memeriksa seberapa baru datanya, dan menghitungnya dalam periode tertentu.
Skill serupa
to-questionnaire
310kMengubah pertanyaan yang tidak bisa Anda jawab sendiri menjadi kuesioner tertulis untuk diisi orang lain, lewat email atau dalam rapat.
email-ops
280kMemungkinkan agent mengelola email, merapikan kotak masuk, dan memverifikasi pengiriman. Membantu memastikan pesan penting terkirim dan terlacak.
messages-ops
280kMembantu agent Anda membaca pesan dan kode verifikasi. Berguna untuk memeriksa percakapan sebelum membalas atau membuktikan pesan mana yang sudah dibaca.