telegram-workflow

telegram-workflow is a skill for Claude Code from Uri6407/claudegram. It costs 97 tokens per session (2,819 once invoked), scanned A, a copy of telegram-workflow, MIT.

Rules for using a personal Telegram account through claudegram, a connection that works as the account owner rather than as a bot. It covers reading chats, searching messages, drafting replies, and managing conversations and groups.

In plain words
What is it for?
Use it to read or search Telegram chats, prepare or send messages after confirmation, manage dialogs and groups, download media, or perform other supported account actions.
Why use it?
It adds safety checks around actions that could send messages, delete content, change read status, or affect other participants.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

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/uri6407/claudegram/telegram-workflow
Any agent
npx skills add Uri6407/claudegram --skill telegram-workflow
Clone the repo
git clone --depth 1 https://github.com/Uri6407/claudegram

Made for: Claude Code.

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 telegram-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/uri6407/claudegram/telegram-workflow.svg)](https://agentmods.dev/skills/uri6407/claudegram/telegram-workflow)
Your own site
<a href="https://agentmods.dev/skills/uri6407/claudegram/telegram-workflow"><img src="https://agentmods.dev/badge/skills/uri6407/claudegram/telegram-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,819 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.1 $0.00097 $0.02819
Opus 5 $0.00048 $0.01409
Sonnet 5 $0.00019 $0.00564
Haiku 4.5 $0.00010 $0.00282

Measured 5d ago against content hash 856c9bdb91f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

telegram-workflow scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to telegram-workflow — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/telegram-workflow/SKILL.md · 173 lines

How it starts

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

Работа с Telegram через claudegram

MCP-сервер claudegram даёт доступ к личному аккаунту пользователя через MTProto (не бот). 58 типизированных tools, разбитых по категориям.

Базовые принципы безопасности

  1. Никогда не отправляй сообщения без явного подтверждения. Намерение «составить черновик» ≠ намерение отправить. Покажи проект текста и жди слов вроде «отправь / шли / да».
  2. delete_message(revoke=True) — необратимо. Дефолт False (только у себя). Hook guard-delete требует подтверждения. Не передавай True без явного запроса юзера.
  3. Не помечай прочитанным автоматически. mark_read — только по явной просьбе. Иначе пользователь потеряет визуальные индикаторы непрочитанного.
  4. Деструктивные операции на чатах: kick_participant, ban_participant, delete_dialog, leave_chat, terminate_authorization, block_userвсегда показывай action + entity и жди "да".
  5. Markdown в send_message/edit_message. Если в тексте есть *, _, [, ], ~, \``, и это **не** разметка — передай parse_mode="none"`, иначе Telegram упадёт с ParseMode-error.
  6. Сессия — это пароль. Файл *.session в ${CLAUDE_PLUGIN_DATA} даёт полный доступ к аккаунту. Никогда не предлагай пересылать его, копировать в чат, коммитить.
  7. invoke_raw — крайний инструмент. Используй только если нет high-level tool. Можешь случайно изменить состояние аккаунта или нарваться на flood-wait.

Каталог инструментов

Все имена под префиксом mcp__plugin_claudegram_claudegram__. Сгруппированы по модулям.

Identity / Account (server/tools/identity/account.py)

Tool Назначение
get_me Кто я залогинен
get_authorizations Список активных сессий аккаунта (другие устройства)
terminate_authorization Завершить чужую сессию (по hash)
update_profile Изменить имя/фамилию/био
set_online Online/offline статус

Messaging (server/tools/messaging/{messages,history,pins,reactions}.py)

Tool Назначение
send_message Отправить (parse_mode, reply_to, silent, link_preview, schedule_unix)
edit_message Отредактировать своё
delete_message Удалить (revoke=False default)
forward_message Переслать (silent, drop_author)
get_history Последние N (offset_id, min_id, from_user, reverse)
search_messages Поиск по тексту (chat, from_user)
mark_read Прочитано (max_id, clear_mentions)
pin_message Закрепить (notify, pm_oneside)
unpin_message Открепить одно или все
react_message Поставить эмодзи-реакцию ("" чтобы снять)
send_dice 🎲/🎯/🏀/⚽/🎰/🎳

Read the full file on GitHub · 173 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 · 173 lines · 97 tokens per session scan A 856c9bdb91f4

Subscribe to this mod's changes

telegram-workflow is a skill published in the GitHub repository Uri6407/claudegram (2 stars, last pushed 2d ago), licensed MIT. It adds 97 tokens to every session and 2,819 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to telegram-workflow, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

imap-smtp-email

Read and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Works with any IMAP/SMTP server including Gmail, Outlook, 163.com, vip.163.com, 126.com, vip.126.com, 188.com, and vip.188.com.

netease-youdao/LobsterAI · 82 tokens

meeting-notes

Use when the user asks to capture, structure, or summarize meeting notes / call notes / 1:1 discussion / standup notes. Produces a standard template with attendees, agenda, decisions, action items (owner + deadline), and open questions.

shiwenwen/hope-agent · 55 tokens

ha-settings

Manage Hope Agent application settings through conversation. Use when the user wants to view or change any app configuration: theme, language, enhanced focus indicators, proxy, temperature, notifications, tool timeout, context compaction, automatic session titles, web search, GitHub issue reporting, memory, embedding…

shiwenwen/hope-agent · 214 tokens

youdaonote

有道云笔记官方 skill,支持笔记 CRUD(创建/读取/更新/删除)、待办管理、网页剪藏、笔记搜索、文件夹管理等基础操作。如需构建知识库或 Wiki,请使用 youdaonote-llm-wiki skill 而非本 skill。.

netease-youdao/LobsterAI · 70 tokens

cron-mastery

Master OpenClaw's timing systems. Use for scheduling reliable reminders, setting up periodic maintenance (janitor jobs), and understanding when to use Cron vs Heartbeat for time-sensitive tasks.

xyva-yuangui/XyvaClaw · 41 tokens

system-control

Control and monitor macOS system functions. Use when the user asks about system info (CPU, memory, disk, battery), app management (launch/quit apps, window list), notifications, clipboard operations, volume/brightness control, or any OS-level task on macOS.

xyva-yuangui/XyvaClaw · 58 tokens