Agent skill

Caspian Connect Telegram

by TryCaspian in TryCaspian/caspian-sdk

Connect Caspian Telegram for OpenCode, enable telegram in caspian.json channels, and tell the user to restart.

Apache-2.0Auto-check: notesProductivity & Automation

Install Caspian Connect Telegram

skills CLI
$ npx skills add TryCaspian/caspian-sdk --skill caspian-connect-telegram -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TryCaspian/caspian-sdk caspian-connect-telegram --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TryCaspian/caspian-sdk.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/opencode/src/skills/caspian-connect-telegram .claude/skills/caspian-connect-telegram && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
caspian-connect-telegram
GitHub stars
973
Token cost
~446 tokens
SKILL.md length
185 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
Apache-2.0

At a glance

Connect Caspian Telegram for OpenCode, enable telegram in caspian.json channels, and tell the user to restart.

  • Works in 3 steps: TELEGRAM_BOT_TOKEN in the environment → Project .env → TELEGRAM_BOT_TOKEN=... → ~/.config/opencode/caspian.env →…
  • Linking a Telegram bot
  • SKILL.md covers When to use, Prerequisites (token) and How
  • Needs TELEGRAM_BOT_TOKEN

What it does

Caspian Connect Telegram is an agent skill from TryCaspian/caspian-sdk. 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.

Its SKILL.md is about 450 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: opencode

It sits in Productivity & Automation, covering Messaging and chat bots and Chatbots and conversational support. It works with Telegram. The repository describes itself as: Agent communication SDK. The open-source agent communication layer for AI agents — email, WhatsApp, Slack, Discord, Telegram, SMS. Python & TypeScript. The licence is Apache-2.0.

When your agent uses it

  • Linking a Telegram bot
  • Running /caspian:connect-telegram

Example prompts

  • “/caspian-connect-telegram”

Requirements

  • A credential in TELEGRAM_BOT_TOKEN
  • Compatibility (from SKILL.md): opencode

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. TELEGRAM_BOT_TOKEN in the environment
  2. Project .env → TELEGRAM_BOT_TOKEN=...
  3. ~/.config/opencode/caspian.env → TELEGRAM_BOT_TOKEN=...

What it can do on your machine

Read from SKILL.md and the folder at commit 718a96d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • TELEGRAM_BOT_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    opencode

    From compatibility in the SKILL.md frontmatter.

Context cost

Caspian Connect Telegram loads about 446 tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 185 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~446

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:30
    2. Project `.env` → `TELEGRAM_BOT_TOKEN=...`
  • NoteMentions a .env fileSKILL.md:41
    er, write `TELEGRAM_BOT_TOKEN=...` into `.env` or `caspian.env`, then

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from TryCaspian/caspian-sdk at commit 718a96d, republished under its Apache-2.0 licence (© TryCaspian). 185 words, ~446 tokens.

Download SKILL.mdSave it as .claude/skills/caspian-connect-telegram/SKILL.md (or your agent's skills folder).
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.
compatibility
opencode
license
Apache-2.0
metadata.alias
caspian:ConnectTelegram
metadata.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.

© TryCaspian, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in packages/opencode/src/skills/caspian-connect-telegram of TryCaspian/caspian-sdk.

Open the folder on GitHubat commit 718a96d

Compare with similar skills

Caspian Connect Telegram next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Caspian Connect Telegram compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Caspian Connect Telegram this skillTryCaspian/caspian-sdk973—~446Automated safety check: NotesApache-2.0
Telegramolasunkanmi-SE/codebuddy141—~817Automated safety check: PassMIT
Telegram BotOpenClaudia/openclaudia-skills713—~6kAutomated safety check: NotesMIT
Telegram Channel Setupanthropics/claude-plugins-official38k1 repos~1.1kAutomated safety check: NotesApache-2.0
Chat SDKdatabuddy-analytics/Databuddy1.2k—~2.6kAutomated safety check: PassAGPL-3.0
Telegrambubbuild/bub1.7k—~2.2kAutomated safety check: PassApache-2.0

Similar skills

  • Telegram

    olasunkanmi-SE/codebuddy

    Send Telegram messages, files, and interact with Telegram bots via the telegram-send CLI tool.

    141 GitHub stars~817 tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed
  • Telegram Bot

    OpenClaudia/openclaudia-skills

    Send messages, images, and marketing content to Telegram channels and groups via Bot API.

    713 GitHub stars~6k tokensUpdated 21 days ago
    Productivity & AutomationAuto-check: notes
  • Telegram Channel Setup

    anthropics/claude-plugins-official

    Official

    Saves a Telegram bot token for the Telegram channel plugin and reviews who may message the bot, steering the policy toward a fixed allowlist.

    38k GitHub starsUsed in 1 repo~1.1k tokens
    Productivity & AutomationAuto-check: notes
  • Chat SDK

    databuddy-analytics/Databuddy

    Build multi-platform chat bots with Chat SDK (chat npm package).

    1.2k GitHub stars~2.6k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Telegram

    bubbuild/bub

    Telegram Bot skill for sending and editing Telegram messages via Bot API.

    1.7k GitHub stars~2.2k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Pytdbot

    pytdbot/client

    Write Telegram bots and userbots with Pytdbot (async TDLib wrapper with high-level helpers; not the Telegram Bot API).

    137 GitHub stars~4.3k tokensUpdated 11 days ago
    Productivity & AutomationAuto-check passed

More from TryCaspian/caspian-sdk

All 8 skills in this repo
  • Caspian Toast Test

    TryCaspian/caspian-sdk

    Dummy skill to test OpenCode TUI toast UI (and optional system notification) via caspiantesttoast.

    973 GitHub stars~267 tokensUpdated 1 mo ago
    Auto-check passed
  • Caspian Connect Email

    TryCaspian/caspian-sdk

    Connect Caspian email for OpenCode: ensure credentials (sandbox or dashboard API key), write caspian.env, connect inbox, enable email in caspian.json.

    973 GitHub stars~566 tokensUpdated 1 mo ago
    Auto-check: notes
  • Taste

    TryCaspian/caspian-sdk

    Domain-first store/port design for any codebase: product-shaped APIs, swappable backends, schema at boundaries, one vocabulary catalog (derive don’t re-author), no infrastructure names on the domain…

    973 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Caspian Connect Discord

    TryCaspian/caspian-sdk

    Connect Caspian Discord for OpenCode (install OAuth or BYO bot token), enable discord in caspian.json channels, and tell the user to restart.

    973 GitHub stars~376 tokensUpdated 1 mo ago
    Auto-check: notes
  • Caspian Discord

    TryCaspian/caspian-sdk

    Post a Discord message via Caspian to a channel snowflake id.

    973 GitHub stars~323 tokensUpdated 1 mo ago
    Auto-check passed
  • Caspian Inbox

    TryCaspian/caspian-sdk

    Caspian Inbox (caspian:Inbox) — list agent email and other configured channel conversations/messages.

    973 GitHub stars~347 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Caspian Connect Telegram

What does Caspian Connect Telegram do?

Connect Caspian Telegram for OpenCode, enable telegram in caspian.json channels, and tell the user to restart. Caspian Connect Telegram is an agent skill from TryCaspian/caspian-sdk.json channels, and tell the user to restart.

When should I use Caspian Connect Telegram?

Caspian Connect Telegram fits situations like: linking a Telegram bot; running /caspian:connect-telegram.

How do I install Caspian Connect Telegram in Claude Code?

Run `npx skills add TryCaspian/caspian-sdk --skill caspian-connect-telegram -a claude-code`. Or copy the skill folder (packages/opencode/src/skills/caspian-connect-telegram in TryCaspian/caspian-sdk) into .claude/skills/caspian-connect-telegram in your project. Claude Code loads it when a task matches its description.

How do I install Caspian Connect Telegram in Codex?

Run `npx skills add TryCaspian/caspian-sdk --skill caspian-connect-telegram -a codex`. Or copy the skill folder (packages/opencode/src/skills/caspian-connect-telegram in TryCaspian/caspian-sdk) into .agents/skills/caspian-connect-telegram in your project. Codex loads it when a task matches its description.

Can I use Caspian Connect Telegram in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TryCaspian/caspian-sdk --skill caspian-connect-telegram -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/caspian-connect-telegram, .gemini/skills/caspian-connect-telegram, .github/skills/caspian-connect-telegram and .opencode/skills/caspian-connect-telegram in your project.

What does Caspian Connect Telegram need to run?

Going by SKILL.md and its folder, Caspian Connect Telegram needs credentials named TELEGRAM_BOT_TOKEN. Our summary lists: A credential in TELEGRAM_BOT_TOKEN. Compatibility (from SKILL.md): opencode.

Does Caspian Connect Telegram access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Caspian Connect Telegram safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Caspian Connect Telegram use?

Caspian Connect Telegram is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Caspian Connect Telegram use?

About 446 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Caspian Connect Telegram?

Skills that share tags, products or a category with Caspian Connect Telegram: Telegram (olasunkanmi-SE/codebuddy, 141 stars), Telegram Bot (OpenClaudia/openclaudia-skills, 713 stars), Telegram Channel Setup (anthropics/claude-plugins-official, 38k stars) and Chat SDK (databuddy-analytics/Databuddy, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Caspian Connect Telegram?

TryCaspian (a GitHub organization) maintains it in TryCaspian/caspian-sdk, which has 973 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on August 25, 2026.

Source: TryCaspian/caspian-sdk on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.