/telegram-operator:telegram-backup-restorefrom telegram-operator
Creates and verifies Telegram chat backups with integrity checks, and rehearses restoration. Useful for chat exports, media validation, and recovery rehearsal.
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.
Confirm account/chat, dates, format, every media choice, size cap, destination, retention and restore intent. Discover schemas and roots with get_file_roots_status. export_chat_history choices belong to the operator; do not guess them. A broad backup request never includes session strings, auth keys, bot tokens or secret registries. Personal content stays in approved private storage, not this plugin, public repository or unapproved external destination.
Read verification.md. Settings are dated read-only evidence, not guaranteed restore input. Secret-chat integration is deferred in the Rust migration. If the connected server actually exposes secret_chat_status after the owner supplies the separate Rust backend, check it for secret chats: device-local history can be missing, and protocol capabilities differ. Content export is not crypto custody/account restoration. Never copy live protocol stores or restore stale counters; stopped-service crypto backup is separate authorized work.
Call export_chat_history with explicit choices. Keep its original job_id; monitor export_status under a deadline. Running, failed, cancelled and done differ. A job ID/partial folder is not a successful backup. Cancel only the owned job within the approved budget; preserve partial diagnostics. Do not overwrite a verified backup. After disconnect inspect the existing job before launching another.
Validate output paths within approved roots. Inspect bounded JSON/HTML, message counts and selected media inventory. Every referenced retained file must exist inside the archive; reject traversal/links. Hash files and record size, relative path, exporter version, scope and UTC verification in a private manifest. No body or credential logging. Hashes detect changes, not proof of server completeness.
Open representative actual exported text/media to verify readability/decoding and compare authorized source observations. Excluded/oversize/protected items are gaps. Synthetic media is not real-file proof. Treat export HTML as untrusted; do not run embedded code with unrestricted network/filesystem. Empty selected range differs from an incomplete scan returning nothing.
Verify hashes before restore; do not execute bundled scripts. Obtain destination/ posting approval and dry-run. Use the migration workflow for receipts, topics, replies, albums and unknown-outcome handling. An archive is not a documented history import API: select actual supported posting tools.
Start with an approved representative item, verify readback, continue within budget. Explain changed IDs/dates/authorship and unsupported rich blocks/media, subscriptions/crypto state before writes. No clearing the destination or replacing account stores to manufacture success. Restore timeout means unconfirmed, not retry.
Report original job/status, selected scope, totals, inventory/hash manifest, missing/skipped files and readable/restore cases. Distinguish backup created, integrity verified, restore rehearsed and restore untested. No real restore approval means restoration remains explicitly untested, not fully recovered.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kiarosama/telegram-mcp --plugin telegram-operator6 skills in this plugin
/bot-cloneClone an authorized Telegram bot end to end into a working, runnable replica. Use when asked to clone, copy, replicate or rebuild a bot with every command, screen, exact text, entity and premium custom emoji, inline, glass or reply keyboard, callback, pagination, multi-step state, media, validation and error branch, admin versus user flow, and Mini App, then prove parity side by side against the original. Crawls, inventories, builds and verifies; for a behavior contract or clean-room spec alone, use telegram-bot-reconstruction./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./Other plugins' skills for the same job