tg-hub SKILL.md skillA
tg-hub from openminis/minisskills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add openminis/minisskills/tg-hub@git:20260801.3cb01cePins git:20260801.3cb01ce in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- openminis/minisskills
- Path
tg-hub/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260801.3cb01ce, committed Aug 1, 2026
- First version recorded
- Mar 11, 2026
- Size
- 9,196 bytes
- Repository stars
- 593
- License
- MIT
A skill for reading and writing Telegram data with Python and UV. It depends only on Telethon and uses a local-first architecture: messages are synced to SQLite and then queried offline. On first use, you must log in from the terminal with a phone number verification code. After that, the session is persisted and you do not need to log in again. Supports syncing group and channel messages locally, keyword search, multi-keyword filtering, today's messages, recent messages, speaker rankings…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# tg-hub
> **Based on**: [jackwener/tg-cli](https://github.com/jackwener/tg-cli) (Apache-2.0)
>
> This skill simplifies the original repository as follows:
> - Removed the `click` / `rich` / `python-dotenv` / `pyyaml` dependencies
> - Kept only `telethon` as a third-party dependency
> - Removed the CLI layer and encapsulated all functionality as a synchronous Python API
> - Changed the default session/db path to `/var/minis/workspace/tg-hub/`
> - Changed configuration to read environment variables directly, with no `.env` file required
---
## Architecture: Local-First
```
Telegram MTProto (telethon)
↓ sync / refresh (incremental)
Local SQLite ~/.tg-hub/messages.db
↓ search / today / recent / filter (offline)
Structured data
```
- **Read operations** (search/today/recent): query the local SQLite database, with **no network access**, and respond in milliseconds
- **Write operations** (sync/refresh): connect to Telegram to fetch new messages and write them incrementally to SQLite
- Session file: `~/.tg-hub/tg_hub.session`
---
## File Structure
```
/var/minis/skills/tg-hub/
├── SKILL.md
├── pyproject.toml # telethon only
└── scripts/
├── __init__.py
…Read the whole file at its exact version.
How to install
mdr add openminis/minisskills/tg-hub@sha256:72f3045a3fb7ec8dThe line at the top of this page pins the label git:20260801.3cb01ce, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_wyqcpxsex5yyf4o5)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Mar 11, 2026 and Aug 1, 2026, about one every 48 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260801.3cb01ce latest | 2026-08-01 | 3cb01ce | 9,196 B | A | view · diff |
| git:20260312.ddf1646 | 2026-03-12 | ddf1646 | 8,059 B | A | view · diff |
| git:20260311.26b1998 | 2026-03-11 | 26b1998 | 6,312 B | A | view · diff |
| git:20260311.4e74748 | 2026-03-11 | 4e74748 | 6,366 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9196 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
openminis/minisskills · 593 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_wyqcpxsex5yyf4o5 GET https://markdownregistry.com/api/v1/resolve?ref=openminis/minisskills/tg-hub GET https://markdownregistry.com/api/v1/blob/72f3045a3fb7ec8dc473e1a8ec3b8b2cd0fa342d4afcc2ca0c1bcb2ce8a5d119
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.