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.
npx agentmods add skills/smixs/iva-agent/telegram-userbotnpx skills add smixs/iva-agent --skill telegram-userbotgit clone --depth 1 https://github.com/smixs/iva-agentWrote 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.
[](https://agentmods.dev/skills/smixs/iva-agent/telegram-userbot)<a href="https://agentmods.dev/skills/smixs/iva-agent/telegram-userbot"><img src="https://agentmods.dev/badge/skills/smixs/iva-agent/telegram-userbot.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00144 | $0.01232 |
| Opus 5 | $0.00072 | $0.00616 |
| Sonnet 5 | $0.00029 | $0.00246 |
| Haiku 4.5 | $0.00014 | $0.00123 |
Grade A, and why
telegram-userbot 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
telegram-userbot
Доступ к личному Telegram-аккаунту владельца (Telethon, MTProto) — отдельный аккаунт-человек,
НЕ бот, через которого ты сейчас общаешься. Всё делается ТОБОЙ прямо в этом чате: настройку ты
проводишь сам (через bash-тул на хосте), а работу — через MCP-тулы
connection__telegram-userbot__<tool> (ищи их через connection_search).
Пользователь только пишет в чат — терминал он не трогает.
⚠️ Сначала — предупреди и получи согласие
Автоматизация личного аккаунта нарушает ToS Telegram и может привести к бану аккаунта (особенно отправка). Одной фразой скажи владельцу, что это на его страх и риск и что безопаснее всего только чтение. Продолжай, только если он согласился.
Шаг 1. Подключён ли аккаунт?
Вызови login_status.
connected→ всё готово, переходи к работе (Шаг 4).not_connected→ нужен онбординг (Шаг 3), но сперва проверь, поднят ли прокси (Шаг 2).- Если сам вызов падает (сервер недоступен) → прокси ещё не установлен, иди в Шаг 2.
Шаг 2. Поднять прокси (первый раз, делаешь ты через bash)
Прокси — opt-in Python-сервис; при первом подключении подними его сам.
- Проверь:
iva userbot status. - Нужны
api_id/api_hashс my.telegram.org. Проведи владельца: «Открой https://my.telegram.org → API development tools → создай приложение (название любое, платформа Desktop) → пришли мне api_id и api_hash». Дождись, пока он пришлёт оба в чат. - Запиши ключи (через stdin, БЕЗ утечки в список процессов):
iva userbot creds <<'CREDS' <api_id> <api_hash> CREDS - Подними прокси (сборка venv может занять ~1–2 мин — ставь
timeoutMs≥ 300000):
Команда соберёт окружение, создаст токен и запустит сервис. iva перезапускать НЕ нужно. Еслиiva userbot setupivaне найден — запусти из каталога установки:node bin/iva.mjs userbot setup.
Шаг 3. Онбординг по QR (в чате)
- Вызови
qr_login_start. Сервер отрисует QR и сам пришлёт его картинкой в этот чат. (Если сразу после setup вызов не прошёл — прокси ещё поднимается, повтори через несколько секунд.) - Скажи владельцу: открой приложение Telegram того аккаунта, который подключаешь → Настройки → Устройства → Подключить устройство → отсканируй QR.
- Опрашивай
qr_login_statusраз в несколько секунд:authorized→ готово.password_needed→ включена двухфакторка. Попроси у владельца пароль и передай вqr_login_password. Предупреди: пароль пройдёт через чат — пусть сменит его потом, если переживает. Не логируй и не повторяй пароль в ответах.waiting→ ещё не отсканировал, подожди.expired/error→ начни заново сqr_login_start, объясни причину.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 6d ago First seen · 80 lines · 144 tokens per session scan A 5a36359580ee
telegram-userbot is a skill published in the GitHub repository smixs/iva-agent (201 stars, last pushed yesterday), licensed MIT. It adds 144 tokens to every session and 1,232 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
release-notes
Draft concise release notes.
himalaya
Himalaya v2 CLI for reading and managing email through IMAP, JMAP, Gmail, Microsoft Graph, Maildir, M2dir, and SMTP send operations.
slacrawl
Archive and search Slack workspace messages, threads, and channels via the slacrawl CLI. Supports API sync, Slack export ZIP import, local desktop cache import, and full-text search.
birdclaw
Local-first Twitter/X workspace for archiving, searching, and triaging tweets, DMs, likes, bookmarks, and mentions. Includes a web UI for inbox triage and AI scoring.
apple-reminders
Manage Apple Reminders via remindctl CLI (list, add, complete, delete).
imsg
Use imsg to read and send iMessage/SMS via macOS Messages.app.