What problem does it solve? Reading and searching Telegram group or channel history programmatically normally requires repeated live API calls, which are slow, rate-limited, and impossible offline. This Skill syncs messages incrementally into a local SQLite database so keyword search, filtering, and statistics run offline in milliseconds. ## Core Features & Use Cases - Local-first message sync: Incrementally sync groups and channels via Telethon (MTProto) into SQLite, with throttling, jitter, and flood-wait handling to respect Telegram rate limits. - Offline queries: Keyword and regex search, multi-keyword OR filters, today's messages, recent-hours windows, top senders, and timeline statistics, all served from the local database. - Use Case: You monitor several Telegram communities for job postings. Run a daily refresh, then filter messages for "hiring,remote,freelance" over the last 24 hours and review top senders, all without reconnecting to Telegram. ## Quick Start Ask the assistant to sync your Telegram groups with tg-hub and then search the local database for a keyword from the last 48 hours.