A secure, read-only command-line interface for Telegram that utilizes the MTProto protocol to fetch messages, media, and chat data without Bot API limitations.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install tg-mtproto-cli
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install tg-mtproto-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The tg-cli skill is a specialized technical tool designed for high-performance interaction with Telegram via the MTProto protocol. Unlike standard bot-based solutions, this skill allows users to access Telegram data as a regular user, providing deeper access to chat histories, media, and account metadata while maintaining a strict read-only architecture.
Integrating this tool into Openclaw Skills enables developers to automate complex data extraction tasks, archive communication logs, and manage multiple Telegram sessions directly from the terminal. It prioritizes security by using system keychains for credential storage and ensures that no write operations are ever performed on the Telegram account, making it a safe choice for research and automation.
To integrate this capability into your Openclaw Skills environment, you must install the required binaries and authenticate your account:
npm install -g tg-mtproto-cli
# Optional: Install jq for advanced JSON filtering
brew install jq
Once installed, run the interactive authentication command:
tg auth
You will need your API credentials from my.telegram.org to complete the setup.
The skill produces structured data primarily in JSON format. The core message object includes the following fields:
| Property | Type | Description |
|---|---|---|
id |
Number | Unique identifier for the message |
chatId |
Number | Numeric ID (negative for groups/channels) |
senderName |
String | Name of the message author |
text |
String | Content of the message |
media |
Object | Metadata regarding attachments (type, size, mimeType) |
date |
String | ISO 8601 formatted timestamp |
Local session data is stored in ~/.tg-mtproto-cli/sessions/ using SQLite database files.
Loading
A secure command-line tool for generating and editing high-quality images using the xAI Grok API models.

A command-line interface for monitoring Anthropic Admin API usage and spend directly from your terminal.

A secure macOS command-line tool for auditing Anthropic Admin API usage and token costs with Keychain integration.

A comprehensive command-line interface for managing multiple CalDAV calendar accounts with secure OS keychain integration and JSON output support.

An AI-powered project management assistant that automates planning, risk assessment, and performance tracking using professional PMP methodologies.

A high-performance AI player skill for MOPO Texas Hold'em using ABC strategy baselines and real-time state management.








































