Agent skill · steipete

configure-channel

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

What it needs

About 2k tokens when loaded.

What this skill does

Configure a channel Never print or persist secret values; channel tokens enter config only as SecretRefs, or through the in-session connectchannel 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 Confirm the exact config path before writing — key names differ per channel (channels.telegram.botToken, channels.discord.token, ...): 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 probe 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): 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. Multi-field changes in one validated write: In-session alternative: call the connectchannel 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 doctor --lint can exit 1 for findings: read the report and continue the remaining checks. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills steipete/configure-channel

View the source on GitHub

Browse the @skills marketplace