← 返回 Skills 市场
youziyouzishu

Telegram Telethon CLI

作者 youziyouzishu · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
114
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install telegram-telethon
功能描述
Manage Telegram via tgctl-telethon CLI (Python/Telethon) - send/forward/edit/delete/pin messages, search, list chats/members, join/leave groups, kick/invite...
安全使用建议
Do not install this package yet. The installer references a 'tgctl' script that is not included in the package — without that file you cannot verify what will run. Before proceeding, ask the publisher for the missing tgctl source (or a trusted upstream repository) and review it for network endpoints and sensitive operations. Confirm the registry metadata is updated to declare the required TELEGRAM_API_ID and TELEGRAM_API_HASH and the session path (~/.tgctl-telethon/). If you must test, run the installer in an isolated environment (container or disposable VM), inspect the created wrapper and the tgctl script, and verify that network calls go only to Telegram's official endpoints. Remember: this tool performs account-level actions (send/delete/kick/etc.), so a malicious or tampered tgctl could operate as your Telegram user — only install if you can review the executable source or trust the package origin.
功能分析
Type: OpenClaw Skill Name: telegram-telethon Version: 1.0.0 The telegram-telethon skill bundle provides a legitimate interface for managing Telegram accounts via the Telethon library. The install.sh script follows standard practices by creating a Python virtual environment and installing the official 'telethon' package. The SKILL.md documentation includes helpful security guidance, such as instructing the agent to avoid sending authentication codes over Telegram and requiring user-provided API credentials. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
SKILL.md describes a Telethon-based tgctl CLI that requires TELEGRAM_API_ID and TELEGRAM_API_HASH and creates local session files. The registry metadata, however, declares no required env vars or config paths. The install script expects a local 'tgctl' script to be bundled, but that script is not present in the manifest. This inconsistency (missing executable and omitted env vars) does not align with the claimed purpose.
Instruction Scope
The runtime instructions are narrow and appropriate for a user-account Telegram CLI: install, set TELEGRAM_API_ID/HASH, login interactively, and store sessions locally. The SKILL.md does not instruct the agent to read unrelated system files or send data to unexpected endpoints. However, because the actual 'tgctl' implementation is not included, we cannot verify that its runtime behavior stays within the documented scope.
Install Mechanism
The included installer is a local shell script that creates a per-user venv and pip-installs Telethon (from PyPI), then writes a wrapper into ~/.local/bin. Installing Telethon via pip is expected for a Python tool. There is no external arbitrary binary download. Risk is moderate because pip install executes code from PyPI and the main tool ('tgctl') referenced by the installer is missing from the package.
Credentials
The SKILL.md requires TELEGRAM_API_ID and TELEGRAM_API_HASH and stores sessions under ~/.tgctl-telethon/, but the skill metadata lists zero required env vars and no config paths. Declaring no primary credential while the CLI needs API credentials is a clear mismatch. The env access requested by the instructions (API_ID/HASH, session files) is reasonable for the stated functionality, but the registry/package should declare them.
Persistence & Privilege
The skill does not request always: true and does not modify other skills or system-wide configs. The installer writes files under the user's home (~/.local/bin, ~/.tgctl-telethon-venv, and session directory), which is normal for a per-user CLI tool.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install telegram-telethon
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /telegram-telethon 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Python/Telethon-based Telegram CLI with 35 commands
元数据
Slug telegram-telethon
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Telegram Telethon CLI 是什么?

Manage Telegram via tgctl-telethon CLI (Python/Telethon) - send/forward/edit/delete/pin messages, search, list chats/members, join/leave groups, kick/invite... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 114 次。

如何安装 Telegram Telethon CLI?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install telegram-telethon」即可一键安装,无需额外配置。

Telegram Telethon CLI 是免费的吗?

是的,Telegram Telethon CLI 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Telegram Telethon CLI 支持哪些平台?

Telegram Telethon CLI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Telegram Telethon CLI?

由 youziyouzishu(@youziyouzishu)开发并维护,当前版本 v1.0.0。

💬 留言讨论