telegram-bot-builder

telegram-bot-builder is a skill for Claude Code, Codex from squadcodercom/squadcoder. It costs 131 tokens per session (9,790 once invoked), scanned A, original, MIT.

A guide to building Telegram bots with JavaScript or Python bot frameworks. It covers messages, commands, buttons, webhooks, Hebrew and right-to-left text, Telegram payments, Mini Apps, and deployment.

In plain words
What is it for?
Use it to create Telegram bots, handle commands and button actions, receive updates through webhooks, support Hebrew users, add Telegram payments, and deploy the bot.
Why use it?
It helps avoid framework mismatches, incorrectly configured production webhooks, broken Hebrew text direction, and missing payment details.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create Telegram bots, handle commands and button actions, receive updates through webhooks, support Hebrew users, add Telegram payments, and deploy the bot.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/squadcodercom/squadcoder/telegram-bot-builder
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.

Any agent
npx skills add squadcodercom/squadcoder --skill telegram-bot-builder
Clone the repo
git clone --depth 1 https://github.com/squadcodercom/squadcoder

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 telegram-bot-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/squadcodercom/squadcoder/telegram-bot-builder/github.svg)](https://agentmods.dev/skills/squadcodercom/squadcoder/telegram-bot-builder)
Your own site
<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.

agentmods 80×15 button for telegram-bot-builder

Your own site · 80×15
<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>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,790 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.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

Measured 1mo ago against content hash c87eb6da20e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-06, from the pricing page.

Security

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 1mo 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.

.squadcoder/skills/telegram-bot-builder/SKILL.md · 1,044 lines

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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Mini App data exchange - The communication protocol between a Telegram Mini App (WebApp) and the bot uses web_app_data events, 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

Read the full file on GitHub · 1,044 lines

Files

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.

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. 1mo ago First seen · 1,044 lines · 131 tokens per session scan A c87eb6da20e5

Subscribe to this mod's changes

telegram-bot-builder is a skill published in the GitHub repository squadcodercom/squadcoder (12 stars, last pushed 3mo 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.

Related

Other skills, from other repositories

printing-press-amend

Amend a published CLI from one of two input sources: (1) dogfood mode mines the active Claude Code session transcript for friction (missing flags, hand- rolled API payloads, silent-null returns); (2) direct-input mode accepts user-supplied asks (rename a command, add commands or feeds, fix a named bug, optionally…

mvanhorn/cli-printing-press · 222 tokens

opensrc

Fetch dependency source code to give AI agents deeper implementation context. Use when the agent needs to understand how a library works internally, read source code for a package, fetch implementation details for a dependency, or explore how an npm/PyPI/crates.io package is built. Triggers include "fetch source for"…

vercel-labs/opensrc · 103 tokens

printing-press

Set up a new integration, connector, or CLI binding for any API. Wrap or generate a ship-ready Go CLI from an OpenAPI, HAR, or Postman spec via the lean research -> generate -> build -> shipcheck loop. Use when the user says build a CLI, wrap this API, set up a new integration, add a connector, integrate with a…

mvanhorn/cli-printing-press · 86 tokens

lap

LAP CLI -- compile, search, and manage API specs for AI agents. Use when working with API specifications (OpenAPI, GraphQL, AsyncAPI, Protobuf, Postman), compiling specs to LAP format, searching the LAP registry, generating skills from API specs, or publishing APIs. Commands: init, compile, search, get, skill…

Lap-Platform/LAP · 89 tokens

backend-development

Backend API design, database architecture, microservices patterns, and test-driven development. Use for designing APIs, database schemas, or backend system architecture.

MoizIbnYousaf/Ai-Agent-Skills · 32 tokens

binance-spot-openapi-skill

Operate Binance Spot market, account, and order APIs through UXC with a curated OpenAPI schema, Binance query signing, and separate mainnet/testnet link flows.

holon-run/uxc · 42 tokens