/telegram-operator:bot-clonefrom telegram-operator
Clones an authorized Telegram bot into a working replica by crawling, inventorying, building, and verifying every command, screen, keyboard, callback, state, media, and Mini App. Proves parity against the original.
Ships in telegram-operator. 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.
Turn an authorized Telegram bot into a running clone that matches it screen for screen. This skill is the whole pipeline: harvest, capture, crawl, blueprint, build, verify. telegram-bot-reconstruction stops at an observed behavior contract and independent specification; this skill continues through a working implementation and a signed parity ledger. Use telegram-format-reconstruction for any entity or custom emoji detail that needs deeper fidelity work, and telegram-access-audit for rights questions.
Templates for every artifact below are in references/clone-blueprint.md. Fill them as you go; a phase is done only when its artifact is complete.
Settle these before the first message to the target:
UNPROBED and stop there.get_bot_info for name, username, about text, description and profile media. Save exact strings.get_bot_commands for the command menu, then repeat per scope and language the account can reach. A menu entry is not proof of a handler, and a handler can exist without a menu entry./start, /help and each listed command once with an approved, harmless input. Also send /start with a deep-link payload only if the user supplied one.menu, observed, both or hidden-candidate.For every message the bot produces, capture it as data, not as a screenshot-style paraphrase:
inspect_message or inspect_messages for the raw text, entities with UTF-16 offsets and lengths, reply markup, media kind, edit history and sender.read_rich_message when the message uses blocks beyond plain entities (tables, expandable quotes, code blocks).inspect_buttons and list_inline_buttons for the keyboard (Phase 3 covers how to record it).inspect_custom_emoji for each custom emoji ID, preview_custom_emoji to see what it looks like, and download_rich_media for photos, documents, stickers and animations. Keep IDs as strings.Store the result in the Exact Copy table and keep the raw JSON for each message under a fixtures folder, with private data redacted.
Walk the bot as a graph. Start from /start and treat every distinct screen as a node and every action as an edge.
press_inline_button (always inspect first and use button_index, expect_text and a fresh press_token), press_reply_button for reply keyboards, send_message for typed input, open_mini_app for web app buttons. Use wait_for_settled_message after each action so edits and follow-up messages are captured, not only the first reply.Produce the full blueprint from references/clone-blueprint.md before writing any clone code:
UNKNOWN.Implement from the blueprint, not from memory:
Where the original's behavior was only partly observed, build the observed part, leave a clear TODO(unprobed) marker with the ledger ID, and tell the user.
MATCH, DIFF-FIXED, DIFF-ACCEPTED (with the owner's reason), UNPROBED or BLOCKED. Nothing is MATCH without evidence.DIFF. The owner signs off the ledger; the clone is not called complete before that.Stop and ask when a step needs an unapproved purchase, an irreversible action, a credential you were not given, a third-party account, or when the target's terms or the owner's wishes forbid cloning.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/telegram-access-auditReview Telegram account, channel or group access and settings read-only, with evidence and visibility gaps. Use for administrators, permissions, privacy, invite/join settings, logged-in devices or configuration review; recommend changes without automatically applying them./telegram-backup-restoreCreate and verify authorized Telegram content backups and rehearse restoration with explicit fidelity limits. Use for chat exports, media integrity checks, backup validation or recovery rehearsal, not exporting login credentials or claiming content archives restore secret-chat protocol state./telegram-bot-reconstructionnpx claudepluginhub kiarosama/telegram-mcp --plugin telegram-operatorOther plugins' skills for the same job