arein

Telegram CLI

AI 智能体v0.1.0
作者:arein更新于 2026-05-18tg@clawhub_arein/tg
工具调用#Telegram

据 AlphaMoat 统计,截至 2026-10,Telegram CLI 累计下载 7,393 次、获 2 个星标,按累计下载量在本次参与排名的 10,914 个 AI 技能中排名第 3,791 位,在「AI 智能体」分类(1,632 个)中排名第 508 位。

列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。

累计下载
7,393
星标
2
全站下载量排名
#3,791
全站前 35% · 「AI 智能体」前 32%
平台累计下载星标评论
ClawHub ↗5,33912
SkillHub ↗7,3932—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

涵盖收件箱、聊天搜索、成员查询、发送与回复,并支持 JSON 输出。首次认证需要 Telegram API 凭证;聊天名可能部分匹配,发送前应确认收件人与内容。

资料发布于 2026-10-27

可以用来做什么

  • 查看 Telegram 对话并起草回复

什么时候用

  • 已有认证 Telegram 账号可用时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

查找相关聊天并起草回复,发送前展示准确收件人与正文。

月度数据趋势

累计下载7,393
3,4515,5687,6852026-03 · 累计下载 3,7432026-05 · 累计下载 4,3812026-06 · 累计下载 4,5582026-07 · 累计下载 4,8702026-08 · 累计下载 5,0432026-09 · 累计下载 5,3052026-10 · 累计下载 7,39326-0326-0926-10
星标2
1222026-03 · 星标 12026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 22026-09 · 星标 22026-10 · 星标 226-0326-0926-10

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-107,393—2
2026-095,305—2
2026-085,043+3.6%2
2026-074,870+6.8%1
2026-064,558+4.0%1
2026-054,381—1
2026-033,743—1

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.7 KB · ClawHub v0.1.0
---
name: tg
description: 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.
---

# Telegram CLI

Fast Telegram CLI for reading, searching, and sending messages.

## When to Use
展开全部(共 111 行)

Use this skill when the user:
- Asks to check Telegram messages or inbox
- Wants to search Telegram for a topic/keyword
- Wants to send a Telegram message to someone
- Asks about a Telegram group, contact, or chat
- Wants to see unread messages
- Needs to look up group members or admins

## Install

```bash
npm install -g @cyberdrk/tg
```

Or from source:
```bash
cd ~/Code/cyberdrk305/telegram && npm install && npm run build && npm link
```

## Authentication

First-time setup requires API credentials from https://my.telegram.org/apps

```bash
tg auth
```

## Commands

### Reading
```bash
tg inbox                               # Unread messages summary
tg chats                               # List all chats
tg read "ChatName" -n 50               # Read last 50 messages
tg read "ChatName" --since "1h"        # Messages from last hour
tg read @username -n 20                # Read DM with user
tg search "query" --chat "ChatName"    # Search within chat
tg search "query" --all                # Search all chats
```

### Writing
```bash
tg send @username "message"            # Send DM
tg send "GroupName" "message"          # Send to group
tg reply "ChatName" 12345 "response"   # Reply to message ID
```

### Contacts & Groups
```bash
tg contact @username                   # Get contact info
tg members "GroupName"                 # List group members
tg admins "GroupName"                  # List admins only
tg groups --admin                      # Groups where you're admin
```

### Status
```bash
tg whoami                              # Show logged-in account
tg check                               # Verify session
```

## Output Formats

All commands support `--json` for structured output suitable for processing:

```bash
tg inbox --json                        # JSON format
tg read "Chat" --json                  # JSON with messages array
tg chats --json                        # JSON with chat list
```

## Examples

Check inbox:
```bash
tg inbox
```

Read recent messages from a chat:
```bash
tg read "MetaDAO Community" -n 20
```

Search for a topic:
```bash
tg search "futarchy" --chat "MetaDAO"
```

Send a message:
```bash
tg send @username "Hello, checking in!"
```

## Notes

- Chat names can be partial matches (e.g., "MetaDAO" matches "MetaDAO Community")
- Usernames must start with @ (e.g., @username)
- Messages are returned in reverse chronological order (newest first)
- The `--since` flag accepts formats like "1h", "30m", "7d"

「AI 智能体」分类下的热门技能

arein 的其他技能

相关榜单

看看同类产品的完整排名:

数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。