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 skills add squadcodercom/squadcoder --skill telegram-bot-buildergit clone --depth 1 https://github.com/squadcodercom/squadcoderWrote 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/squadcodercom/squadcoder/telegram-bot-builder)<a href="https://agentmods.dev/skills/squadcodercom/squadcoder/telegram-bot-builder"><img src="https://agentmods.dev/badge/skills/squadcodercom/squadcoder/telegram-bot-builder/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/squadcodercom/squadcoder/telegram-bot-builder"><img src="https://agentmods.dev/badge/skills/squadcodercom/squadcoder/telegram-bot-builder.svg" alt="Reviewed on agentmods" width="80" 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.00131 | $0.09790 |
| Opus 5.5 | $0.00052 | $0.03916 |
| Sonnet 5.5 | $0.00026 | $0.01958 |
| Haiku 4.5 | $0.00013 | $0.00979 |
Grade A, and why
telegram-bot-builder 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 2mo 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 — 1,044 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Telegram Bot Builder
Build production-ready Telegram bots for the Israeli market using grammY, Telegraf, or python-telegram-bot. Covers Bot API v10.0 (April 2026), webhooks vs polling, inline keyboards, Hebrew/RTL text, Telegram Stars + Gifts payments, Mini Apps 2.0, Bot Business mode, Managed Bots, and serverless deployment.
Problem
Building Telegram bots for Israeli users involves several challenges that agents consistently get wrong:
- Framework choice confusion - grammY, Telegraf, and python-telegram-bot have different Bot API version support, plugin ecosystems, and deployment models. Agents often mix their APIs or suggest deprecated patterns.
- Webhook vs polling misconfiguration - Agents default to polling (good for development) but fail to set up webhooks correctly for production, missing port restrictions (443, 80, 88, 8443 only), SSL requirements, and secret token verification.
- Hebrew/RTL text corruption - Bidirectional text mixing Hebrew and English (common in Israeli bots) breaks in inline keyboards, callback data, and formatted messages. Agents ignore Unicode control characters and text direction markers.
- Payment integration gaps - Telegram Stars (the in-app currency) has specific invoice creation flows that differ from traditional payment providers. Agents often generate code for deprecated payment APIs.
- Mini App data exchange - The communication protocol between a Telegram Mini App (WebApp) and the bot uses
web_app_dataevents, not regular messages. Agents frequently implement this incorrectly.
Framework Selection
Choose your framework based on your runtime, deployment target, and Bot API version needs:
| Feature | grammY v1.42.0 | Telegraf v4.16.3 | python-telegram-bot v22.7 |
|---|---|---|---|
| Language | TypeScript/JS | TypeScript/JS | Python 3.10+ |
| Bot API version | Latest (v10.0) | v7.1 | v10.0 |
| Install | npm install grammy |
npm install telegraf |
pip install python-telegram-bot |
| Plugin ecosystem | Rich (sessions, menus, conversations, i18n) | Moderate (scenes, sessions) | Extensions (JobQueue, persistence) |
| Serverless support | Vercel, CF Workers, Deno Deploy, Supabase Edge, Fly.io | Express/Fastify/Lambda adapters | ASGI adapters, manual webhook handlers |
| Middleware model | Composer-based (like Koa) | Composer-based (like Koa) | Handler groups with filters |
| Long polling | bot.start() |
bot.launch() |
application.run_polling() |
| Webhook mode | webhookCallback() adapter |
bot.launch({ webhook }) or createWebhook() |
application.run_webhook() |
| TypeScript types | First-class, auto-generated | Good, manual maintenance | N/A (Python type hints) |
| Recommended for | New projects, serverless, latest API features | Existing Express/Fastify apps | Python shops, data/ML pipelines |
What ships with it
9 files 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.
- 2mo ago First seen · 1,044 lines · 131 tokens per session scan A c87eb6da20e5
telegram-bot-builder is a skill published in the GitHub repository squadcodercom/squadcoder (12 stars, last pushed 5mo ago), licensed MIT. It adds 131 tokens to every session and 9,790 once invoked, about $0.0005 per session on Opus 5.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-09-03.
telegram-bot-builder compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| telegram-bot-buildersquadcodercom/squadcoder | Skill | 12 | 5mo ago | MIT | A | 131 | Claude Code, Codex |
| hatch3r-api-spechatch3r/hatch3r | Skill | 26 | 2mo ago | MIT | A | 29 | Claude Code |
| hatch3r-scalability-verifyhatch3r/hatch3r | Skill | 26 | 2mo ago | MIT | A | 51 | Claude Code |
| hatch3r-cli-jqhatch3r/hatch3r | Skill | 26 | 2mo ago | MIT | B | 44 | Claude Code |
| backend-patternsJSK9999/ai-nexus | Skill | 19 | 8mo ago | Apache-2.0 | A | 31 | Claude Code, Codex |
| wikipediax-cmd/x-cmd | Skill | 4.8k | 8d ago | Apache-2.0 | A | 49 | Claude Code, Codex |
| cvex-cmd/x-cmd | Skill | 4.8k | 8d ago | Apache-2.0 | A | 49 | Claude Code, Codex |