/telegram-bot-ui:telegram-bot-ui [start|audit|improve|fix|build|post|widget|mini-app|emoji|agent-bot|map|lookup] [what]from Telegram Bot UI
Designs, audits, builds and operates Telegram bot UI: messages, keyboards, menus, Mini Apps, payments, webhooks, channel posts, premium emoji, and streaming AI replies. Includes offline Bot API catalog.
Ships in Telegram Bot UI. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Everything a Telegram bot shows, sends and reacts to, and the server side those features need: screens, products, payments, channel posts, HTML widgets, Mini Apps, premium emoji and an agent's own bot. Verified against Bot API 10.5 (2026-11-22). A regular message has no CSS: its interface is text, formatting, keyboards, chat chrome (commands, menu button, deep links) and the transitions between states. Only HTML widgets and Mini Apps have a layout of their own.
py -3 <skill>/scripts/tgui.py context --root <project> (python3 outside Windows;
<skill> is this file's folder, <project> the user's bot repository). It
prints the bot's facts, saved findings, queued Studio requests and signals such as
NO_CONTEXT or CONTEXT_STALE. Don't rerun it or re-audit what the findings hold. Without Python, read
bot-ui/context/*.json if present, else say "no saved context yet" and go on./telegram-bot-ui audit,
$telegram-bot-ui audit, "telegram-bot-ui: audit") or the row whose Sounds like matches
the request. Two rows fit: ask once, in one line. No request at all: start.commands/<verb>.md. It names the reference
sections to read; read nothing else up front.bot-ui/, read references/floor.md.tgui.py check changed --root <project>, and a
Next step line.| Verb | Sounds like | Does |
|---|---|---|
start | no request at all; "what can you do here"; "что ты умеешь"; "що ти вмієш" | suggests the 2-3 best next steps for this project; runs nothing |
audit | "review this bot"; "why is it confusing"; "проверь бота"; "перевір бота" | maps the screens, ranks real defects, saves them as findings; read-only for code |
improve | "make it nicer / premium / cleaner"; "it looks cheap"; "сделай бота красивее"; "зроби меню бота зручнішим" | changes existing screens: wording, keyboards, flows, feedback, polish, redesign |
fix | "can't parse entities"; "old buttons stopped working"; "кнопки не работают"; "кнопки не працюють" | reproduces and fixes one Telegram-facing defect |
build | "build me a bot for"; "a shop with Stars"; "сделай бота для"; "зроби бота для" | a product or feature from the example library, payments included |
post | "post this to our channel"; "a weekly digest"; "опубликуй в канал"; "опублікуй анонс у канал" | channel posts and mailings: preview, approve, publish once |
widget | "an interactive card in the message"; "make a widget"; "интерактивная карточка в сообщении"; "зроби інтерактивну картку замовлення" | an HTML widget in a message, with its server handler |
mini-app | "build a Mini App"; "restyle our Mini App"; "сделай мини-апп"; "зроби міні-застосунок" | a Mini App: decide, build or restyle, version gates, initData security |
emoji | "use premium emoji"; "custom emoji on the buttons"; "премиум-эмодзи"; "преміум-емодзі на кнопках" | one premium emoji pack where eligible; a mosaic pack from a video |
agent-bot | "message me when the build is done"; "ask me to approve in Telegram"; "напиши мне в Telegram, когда сборка закончится"; "хочу, щоб агент писав мені в Telegram, коли збірка готова" | the agent's own bot: notify, ask, approve, secured |
map | "bot-ui"; "open the Studio"; "карта экранов"; "карта екранів бота" | the bot-ui/ map and Studio requests, with revision checks |
lookup | "does the Bot API have"; "what are sendPoll's parameters"; "есть ли в Bot API"; "чи є в Bot API кнопки іншого кольору" | Bot API and Telegram.WebApp answers from the offline catalogs; skill health |
Say in plain language what you are doing.
In: any Telegram surface a user sees, taps or receives, and the server code behind it: update
routing, callback and widget state, payments driven by Telegram's payment updates, retries, SDK
gaps, Mini Apps. Out: other messengers, userbots and MTProto clients, Telegram Ads, hosting, CI,
general databases and migrations, accounting outside Telegram's payment updates, auth unrelated
to Telegram login or initData, scraping, analytics pipelines, Microsoft .rtf.
callback_data, deep links, URLs, payloads, handler routing,
localization keys and screen ids stay; if one must change, update every handler in the same
change.custom_emoji_id that the catalog
(tgui.py lookup show <Symbol>) and the installed SDK don't confirm. Say "Bot API 10.5 has no
such field" instead.Rules per surface (widgets, custom emoji, payments, update delivery, topics, Mini Apps), buttons,
feedback and the definition of done: references/floor.md.
Inline keyboard ≠ reply keyboard ≠ Rich Message buttons · style is primary, success or
danger (link also on Rich callback buttons) · icon_custom_emoji_id ≠ file_id · Rich Text ≠ Microsoft RTF; Rich Markdown ≠
MarkdownV2; Rich HTML ≠ HTML parse mode ≠ widget HTML · draft ≠ ephemeral message · editing ≠
resending · widget ≠ Mini App.
tgui.py check, test. No audit, no redesign.build or improve at whole-bot scale.End every reply that changed or found something with one line in the user's language: what you
would do next and why, from tgui.py next ("Next: tidy the checkout screens, two P1 findings
open. Say 'go' or name another"). Never start it without the user's go.
One offline entry point, standard library only, no bot token:
py -3 <skill>/scripts/tgui.py <group> ...; --help on every group. Exit codes: 0 ok,
1 findings, 2 usage, 3 revision conflict, 4 refused. Groups: context, next, doctor,
findings, requests, check, lookup, webapp, examples, profile, map, post,
emoji, mosaic, widget, miniapp, data, patterns, commands, agent, hook, mcp, sync.
Online only: sync, emoji library, pack import. Run them; don't read their source. Libraries: examples/
(tgkit for Python and TS, SDK adapters). No Python: each playbook has a Without scripts path.
commands/ playbooks → references/ (each opens with a summary, long ones with a contents
list; all in references/INDEX.md) → recipes/ via tgui.py examples → data/ via
tgui.py lookup and webapp. Trust: official Telegram docs → changelog → SDK docs → SDK
source → issues → articles; the catalog is a dated snapshot, doctor says when to refresh it.
LICENSE (opens in a new tab)agents/openai.yaml (opens in a new tab)commands/agent-bot.md (opens in a new tab)commands/audit.md (opens in a new tab)commands/build.md (opens in a new tab)commands/emoji.md (opens in a new tab)commands/fix.md (opens in a new tab)commands/improve.md (opens in a new tab)commands/index.json (opens in a new tab)commands/lookup.md (opens in a new tab)commands/map.md (opens in a new tab)commands/mini-app.md (opens in a new tab)commands/post.md (opens in a new tab)commands/start.md (opens in a new tab)commands/widget.md (opens in a new tab)data/bot-api/agent-notes/bot-settings.json (opens in a new tab)data/bot-api/agent-notes/business.json (opens in a new tab)data/bot-api/agent-notes/chat-admin.json (opens in a new tab)data/bot-api/agent-notes/chat-info.json (opens in a new tab)data/bot-api/agent-notes/editing.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub hlibsuslov/telegram-bot-ui --plugin telegram-bot-uiOther plugins' skills for the same job