tg
Telegram CLI for reading, searching, and sending messages. Use when the user asks about Telegram messages, wants to check inbox, search chats, send messages, or look up contacts and groups.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/arein/tgWhat This Skill Does
The Telegram CLI skill acts as a robust interface for interacting with the Telegram messaging platform directly through the OpenClaw AI agent. It allows users to automate communication, retrieve historical message data, search across multiple chats, and manage group information without needing to manually open the Telegram app. By leveraging this tool, the agent can parse messages, summarize unread conversations, and execute commands to send responses, making it an essential utility for users who rely on Telegram for their daily professional or personal communications.
Installation
To install the skill, you have two primary options. You can use the global npm package: npm install -g @cyberdrk/tg. Alternatively, for contributors, you can clone the source repository: cd ~/Code/cyberdrk305/telegram && npm install && npm run build && npm link. Once installed, you must authenticate by running tg auth and providing the necessary API credentials obtained from your developer dashboard at my.telegram.org.
Use Cases
This skill is designed for high-efficiency communication tasks. It is ideal for users who need to monitor multiple group chats, track unread notifications, or search through vast chat histories for specific keywords. It works exceptionally well in automated workflows where the AI agent is tasked with summarizing daily group discussions, identifying urgent mentions, or interacting with specific users via direct message. It also serves as a diagnostic tool for managing group memberships and administrative tasks.
Example Prompts
- "OpenClaw, check my Telegram inbox and summarize any unread messages from the MetaDAO group."
- "Search for the keyword 'futarchy' in my recent chats and tell me what the latest discussion has been about."
- "Send a message to @username saying that I am currently unavailable and will respond to them later this afternoon."
Tips & Limitations
- Partial Matching: The CLI supports partial matching for chat names, so searching for 'MetaDAO' will return relevant results even if the group is named 'MetaDAO Community'.
- JSON Output: For advanced users or building additional automations, append the
--jsonflag to any command to receive machine-readable data. - Authentication: Ensure your API credentials are kept secure, as they provide full read/write access to your Telegram account.
- Time Sensitivity: The
--sinceflag is highly useful for narrowing down noise; use it to filter messages from the 'last 1h' or 'last 7d' to keep the context window manageable for the AI.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-arein-tg": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
onchain
CLI for crypto portfolio tracking, market data, and CEX history. Use when the user asks about crypto prices, wallet balances, portfolio values, Coinbase/Binance holdings, or Polymarket predictions.
gram
Instagram CLI for viewing feeds, posts, profiles, and engagement via cookies.
onchain
CLI for crypto portfolio tracking, market data, and CEX history. Use when the user asks about crypto prices, wallet balances, portfolio values, Coinbase/Binance holdings, or Polymarket predictions.
concierge
Find accommodation contact details and run AI-assisted booking calls
travel-concierge
Find contact details for accommodation listings (Airbnb, Booking.com, VRBO, Expedia)