Zum Inhalt springen
Skillpedia
E-Mail & Nachrichten394k · #11

configure-channel

Was er macht

Er gibt einem KI-Agenten Schritt-für-Schritt-Befehle, um einen Chat-Kanal mit OpenClaw zu verbinden und die Funktion zu bestätigen. Er ist für Menschen gedacht, die OpenClaw über eine Messaging-App sprechen lassen wollen.

Wann du ihn nutzt

  • ✓Wenn du OpenClaw mit einer Chat-App wie Telegram verbinden willst.
  • ✓Wenn du den aktuellen Status deiner OpenClaw-Chat-Kanäle prüfen musst.
  • ✓Wenn du ändern willst, wer deinem OpenClaw-Bot schreiben darf, ohne den Zugang versehentlich zu öffnen.

Link zum Skill

https://github.com/openclaw/openclaw/blob/main/custodian-skills/configure-channel/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/openclaw/openclaw/blob/main/custodian-skills/configure-channel/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Hilf mir, meinen OpenClaw-Bot mit Telegram zu verbinden, und prüfe, ob er mir antwortet.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Skill prüft, welche Kanäle schon eingerichtet sind, und fügt dann den Bot-Token als sicheren Verweis hinzu statt im Klartext. Zum Schluss bestätigt er, dass der Kanal mit einer echten Nachricht funktioniert.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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)

Häufige Fragen

Wird mein Bot-Token im Klartext gespeichert?

Nein. Das Token wird als Verweis auf eine Umgebungsvariable oder eine sichere Datei gespeichert, sodass das Geheimnis selbst nicht in die Konfiguration geschrieben wird.

Kann er ändern, wer dem Bot schreiben darf?

Er behält bestehende freigegebene Zugangseinstellungen bei, außer du stimmst einer Änderung zu, und er erweitert den Zugang nicht, nur um eine Prüfung zu bestehen.

Welche Chat-Apps werden unterstützt?

Er unterstützt mehrere Chat-Apps, darunter Telegram und Discord. Jede hat eigene Einstellungen.

Details

Originalbeschreibung des Autors

Configure and prove a chat channel with non-interactive one-liners; secrets only as SecretRefs.

repo: openclaw/openclaw

Beliebtheit

GitHub-Sterne
394k
Platz im Ranking
#11
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills