Skip to main content

opencorvus-telegram-channel-config

Guide official Telegram bot setup for OpenCorvus, collect the bot token from the user, and write it into OpenCorvus after the user provides it. Use when tasks involve BotFather token retrieval, privacy mode decisions, env wiring, or Telegram runtime verification.

소스 정보

저장소
yangheng95/opencorvus-archive
최근 소스 활동
2026년 4월 2일 14:18
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
opencorvus-telegram-channel-config
description
Guide official Telegram bot setup for OpenCorvus, collect the bot token from the user, and write it into OpenCorvus after the user provides it. Use when tasks involve BotFather token retrieval, privacy mode decisions, env wiring, or Telegram runtime verification.
# OpenCorvus Telegram Channel Config ## Overview Guide the user through the official Telegram flow, stop for every BotFather or chat-admin action, and apply values to OpenCorvus only after the user pastes them. ## Workflow 1. Confirm mode. - Default to overlay-guided setup in `Channel Config`. - Offer text-guided fallback that writes to `packages/channel-runtime/.env`. - Process one credential or chat setting at a time and wait for explicit confirmation after each manual step. 2. Load references. - Read `packages/opencorvus/src/skill/builtin/channel/opencorvus-channel-config-wizard/references/channel-matrix.md`. - Use only the `Telegram` section and the official Telegram URLs listed there. 3. Guide provider-side setup. - Ask the user to open `@BotFather`, create or open the bot, and copy the HTTP API token. - Ask the user whether the bot must work in groups. - If group support is required, guide the user through Telegram privacy-mode choice before testing. - Ask the user to add the bot to the target private chat or group before validation. 4. Apply OpenCorvus config. - When the user pastes `TELEGRAM_BOT_TOKEN`, write it immediately instead of asking them to edit files themselves. - Overlay mode: set `TELEGRAM_BOT_TOKEN`, then click `Save Config`. - Text fallback: update `packages/channel-runtime/.env` and keep unrelated keys unchanged. - Redact the token in summaries and confirmations. 5. Verify runtime. - Confirm `packages/channel-runtime/src/main.ts` registers `TelegramAdapter`. - Confirm `packages/channel-runtime/src/adapters/telegram.ts` still uses long polling. - Run `bun run --cwd packages/channel-runtime --no-env-file --env-file .env src/main.ts`. - Send one text message and confirm one reply. - If audio support is required, test one voice note and one audio file. 6. Troubleshoot. - If no events arrive in groups, re-check privacy mode and bot membership. - If replies fail, re-check the token and target chat permissions. - If media handling fails, inspect Telegram file download errors. ## Guardrails - Do not claim full automation for Telegram login or BotFather actions. - Do not output real tokens. - Do not suggest webhook-only setup for OpenCorvus unless the user explicitly asks for webhook mode. - Keep edits minimal and localized to overlay env values or `packages/channel-runtime/.env` unless the user asks for code changes. ## Output Format 1. Mode and current provider step. 2. Required official page and exact manual action. 3. Values received and env keys updated. 4. Verification result. 5. Next blocker or completion status.
GitHub에서 보기