Community코딩 & 개발github.com

채널 구성

비대화형 원라이너로 채팅 채널을 구성하고 증명하며, 비밀 값은 SecretRef로만 처리합니다.

채널 구성란 무엇인가요?

이 스킬은 OpenClaw 에이전트가 텔레그램, 디스코드 등 채팅 채널을 안전하게 구성하고 테스트할 수 있도록 설계되었습니다. 비밀 값(예: 봇 토큰)을 절대 로그나 설정 파일에 평문으로 출력하거나 저장하지 않고, SecretRef 또는 `connect_channel` 내장 흐름을 통해 마스킹된 프롬프트로 입력받습니다. 설정 변경은 사전 승인을 받은 후에만 수행하며, 접근 권한(allowlist, dmPolicy, groupPolicy)을 무단으로 확장하지 않도록 주의합니다. 채널 구성이 완료되면 실제 테스트 메시지를 전송하여 배달 결과를 확인하고, 모든 변경 사항을 투명하게 보고합니다. 이 스킬은 터미널 기반의 OpenClaw CLI를 사용하며, Claude Code, Cursor, Codex 등 모든 도구에서 동일하게 작동합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/custodian-skills/configure-channel

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

채널 구성하기

비밀 값을 출력하거나 저장하지 마십시오. 채널 토큰은 SecretRef로만 설정에 입력되거나, 운영자가 마스킹된 프롬프트에 비밀을 입력하는 세션 내 connect_channel 흐름을 통해 입력됩니다. 디스크의 설정 파일을 직접 편집하지 마십시오. 모든 실행은 관찰 가능한 Prove 결과 또는 증명할 수 없는 이유에 대한 정확한 설명으로 끝나야 합니다.

수집

openclaw channels list --all
openclaw channels status
openclaw config get channels --json        # 첫 설정 전에는 "Config path not found"가 정상입니다

쓰기 전에 정확한 설정 경로를 확인하십시오. 키 이름은 채널마다 다릅니다 (channels.telegram.botToken, channels.discord.token, ...):

openclaw config schema --json | jq '.properties.channels.properties.telegram'

변경

쓰기 전에 운영자와 의도한 계정 및 접근 변경 사항을 확인하십시오. 명시적으로 승인되지 않은 경우 기존의 승인된 allowlist 항목, dmPolicy, groupPolicy를 유지하십시오. 검사를 통과시키기 위해 접근 권한을 확장하지 마십시오.

권장 셸 경로 — 게이트웨이 프로세스의 환경 변수 또는 0600 파일에 토큰을 준비하고 SecretRef로 연결합니다 (Telegram 예시):

openclaw config set channels.telegram.botToken --ref-provider default --ref-source env --ref-id TELEGRAM_BOT_TOKEN

봇이 연결되고 DM 정책이 pairing인 경우, 운영자에게 DM을 보내도록 요청하십시오. 페어링 응답에서 Your Telegram user id를 읽거나, openclaw logs --follow를 실행하여 해당 발신자의 telegram pairing request 항목에서 senderUserId를 읽으십시오. 캡처한 후에는 따라오기를 중단하고, 관련 없는 로그는 비공개로 유지하십시오. 현재 정책이 이 흐름을 허용하지 않는 경우, 이미 확인된 ID를 사용하거나 발견 차단기를 보고하십시오. 접근 권한을 확장하지 마십시오.

전화번호, 사용자 이름, 채팅/그룹 ID, 봇 ID가 아닌 Telegram 사용자 ID(숫자)를 사용하십시오. 이 단일 사용자 예시에서 123456789는 자리 표시자입니다. 확인되고 승인된 사용자 ID로 바꾸고, 승인된 다른 항목은 유지하십시오.

openclaw config set channels.telegram.allowFrom '["123456789"]' --strict-json

한 번의 검증된 쓰기로 여러 필드 변경:

openclaw config patch --stdin <<'JSON'
{ channels: { telegram: { enabled: true, groupPolicy: "allowlist" } } }
JSON

세션 내 대안: 채널 ID와 함께 connect_channel 도구 액션을 호출하십시오. 운영자는 마스킹된 프롬프트에 토큰을 입력하며, 채팅에 표시되지 않습니다. openclaw channels add --token <값> 사용을 피하십시오. 이 명령은 argv와 프로세스 목록에 비밀을 노출합니다.

복구

openclaw doctor --lint
openclaw channels status --probe

doctor --lint는 결과를 찾기 위해 종료 코드 1을 반환할 수 있습니다. 보고서를 읽고 나머지 검사를 계속하십시오. 일반 doctor 및 doctor --non-interactive는 설정/상태를 변경할 수 있습니다. 승인 전 진단에 사용하지 마십시오. 명시적 승인 후에만 openclaw doctor --fix --non-interactive를 적용하고, 그 다음 상태를 다시 확인하십시오.

증명

실제로 레이블이 지정된 테스트 메시지를 하나 보내고 명령 결과에서 배달을 확인하십시오 (먼저 --dry-run으로 페이로드를 검사):

openclaw message send --channel telegram --target <chatId> --message "OpenClaw 채널 테스트 — 무시해 주세요" --dry-run
openclaw message send --channel telegram --target <chatId> --message "OpenClaw 채널 테스트 — 무시해 주세요"

전송이 실패하면 자격 증명을 노출하지 않고 정확한 계정, 권한, 대상, 또는 네트워크 차단기를 보고하십시오.

보고

변경된 채널과 계정, 기록된 정확한 설정 경로(값은 제외), 테스트 대상, 관찰된 배달 결과를 명시하십시오. 남아 있는 운영자 작업을 나열하십시오.

추가 참고: https://docs.openclaw.ai/channels/telegram (다른 채널에 해당하는 페이지도 동일)

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

관련 스킬