Skip to main content

caspian-connect-telegram

Connect Caspian Telegram for OpenCode, enable telegram in caspian.json channels, and tell the user to restart. Use when linking a Telegram bot or running /caspian:connect-telegram.

소스 정보

저장소
TryCaspian/caspian-sdk
최근 소스 활동
2026년 7월 25일 12:40
감지된 SKILL.md 언어
영어
스타
973
포크
138

설치 방법

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

소스 파일 검토

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

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
caspian-connect-telegram
description
Connect Caspian Telegram for OpenCode, enable telegram in caspian.json channels, and tell the user to restart. Use when linking a Telegram bot or running /caspian:connect-telegram.
license
Apache-2.0
compatibility
opencode
metadata
{"alias":"caspian:ConnectTelegram","channel":"caspian"}
# Caspian connect Telegram Connect a Telegram bot to Caspian and enable `telegram` in the plugin admit list (`channels` in `~/.config/opencode/caspian.json`). Without `telegram` in `channels`, Telegram events are rejected at admit (blast-radius wall). ## When to use - User asks to connect Telegram / BotFather / Telegram bot - User runs `/caspian:connect-telegram` or `/caspian-connect-telegram` ## Prerequisites (token) Bot token must exist in **one** of (prefer file over chat): 1. `TELEGRAM_BOT_TOKEN` in the environment 2. Project `.env` → `TELEGRAM_BOT_TOKEN=...` 3. `~/.config/opencode/caspian.env` → `TELEGRAM_BOT_TOKEN=...` Do **not** store the token in `caspian.json`. Prefer not pasting the token into chat. ## How 1. Call **`caspian_connections`** to see if Telegram is already linked and whether `telegram` is already in plugin channels. 2. Call **`caspian_connect_telegram`**. 3. If the tool asks for a token, instruct the user to create a bot with @BotFather, write `TELEGRAM_BOT_TOKEN=...` into `.env` or `caspian.env`, then re-run the command. Do not invent a token. 4. On success, present connection id / channels. If **RESTART REQUIRED**, say: > Restart OpenCode (quit and relaunch) so admit loads > `"channels": ["email", "telegram"]` (or your updated list). Until then, > Telegram messages are still rejected. 5. After restart, Telegram inbound should flow into OpenCode like email.
GitHub에서 보기