add-telegram

add-telegram is a skill for Claude Code, Codex from sliamh11/Deus. It costs 41 tokens per session (1,967 once invoked), scanned A, original, MIT.

A setup skill that adds Telegram as a messaging channel for the Deus agent. Telegram can run alongside or replace WhatsApp, and it can be configured to trigger actions, receive notifications, or both.

In plain words
What is it for?
Use it to connect Deus to Telegram, configure how messages are handled, and verify the resulting channel.
Why use it?
It removes the need to build and register the Telegram connection manually. It also guides bot-token setup and builds the local Telegram channel packages.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/sliamh11/deus/add-telegram
Any agent
npx skills add sliamh11/Deus --skill add-telegram
Clone the repo
git clone --depth 1 https://github.com/sliamh11/Deus

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-telegram

README.md
[![agentmods](https://agentmods.dev/badge/skills/sliamh11/deus/add-telegram.svg)](https://agentmods.dev/skills/sliamh11/deus/add-telegram)
Your own site
<a href="https://agentmods.dev/skills/sliamh11/deus/add-telegram"><img src="https://agentmods.dev/badge/skills/sliamh11/deus/add-telegram.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,967 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00041 $0.01967
Opus 5 $0.00020 $0.00983
Sonnet 5 $0.00008 $0.00393
Haiku 4.5 $0.00004 $0.00197

Measured 5d ago against content hash 38185d0c89d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

add-telegram scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Verify token: `curl -s "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/getMe"`
.claude/skills/add-telegram/SKILL.md · 237 lines

How it starts

The opening of the file, as written. The whole thing — 237 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Add Telegram Channel

This skill adds Telegram support to Deus, then walks through interactive setup.

IMPORTANT: Do NOT add git remotes, fetch from external repos, or install npm packages from the public registry during this skill. All channel code is already in the repo under packages/ and src/channels/.

Phase 1: Pre-flight

Check if already applied

Check if Telegram is already configured. If TELEGRAM_BOT_TOKEN exists in .env, skip to Phase 4 (Registration) or Phase 5 (Verify).

Ask the user

Use AskUserQuestion to collect configuration:

AskUserQuestion: Do you have a Telegram bot token, or do you need to create one?

If they have one, collect it now. If not, we'll create one in Phase 3.

Phase 2: Build Local Packages

The Telegram channel is a local MCP server in packages/. Build the packages in order (core first, then telegram):

cd packages/mcp-channel-core && npm install && npm run build && cd ../..
cd packages/mcp-telegram && npm install && npm run build && cd ../..

Validate

npm run build

Build must be clean before proceeding.

Phase 3: Setup

Create Telegram Bot (if needed)

If the user doesn't have a bot token, tell them:

I need you to create a Telegram bot:

  1. Open Telegram and search for @BotFather
  2. Send /newbot and follow prompts:
    • Bot name: Something friendly (e.g., "Deus Assistant")
    • Bot username: Must end with "bot" (e.g., "andy_ai_bot")
  3. Copy the bot token (looks like 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11)

Wait for the user to provide the token.

Configure environment

Add to .env:

TELEGRAM_BOT_TOKEN=<their-token>

Channels auto-enable when their credentials are present — no extra configuration needed.

Sync to container environment:

mkdir -p data/env && cp .env data/env/env

The container reads environment from data/env/env, not .env directly.

Disable Group Privacy (for group chats)

Tell the user:

Read the full file on GitHub · 237 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 237 lines · 41 tokens per session scan A 38185d0c89d6

Subscribe to this mod's changes

add-telegram is a skill published in the GitHub repository sliamh11/Deus (51 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 1,967 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.