← 返回 Skills 市场
arein

Telegram CLI

作者 arein · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
3832
总下载
1
收藏
20
当前安装
1
版本数
在 OpenClaw 中安装
/install 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.
安全使用建议
Before installing or running this skill: 1) Verify the npm package @cyberdrk/tg on the npm registry and its upstream repository (review source code, maintainers, recent publish times, and issues). 2) Prefer installing from a inspected source (clone the GitHub repo, review package.json and any postinstall scripts) rather than blindly running 'npm install -g'. 3) Be aware the tool will store session/config in ~/.config/tg/ — confirm the encryption/storage claims and back up/remove sensitive files if needed. 4) Only provide Telegram api_id/api_hash from https://my.telegram.org/apps and avoid sharing your phone/SMS codes. 5) If you want stronger assurance, ask the publisher for a homepage/repo link or request a signed release; otherwise treat this as unverified third-party software and proceed with caution.
功能分析
Type: OpenClaw Skill Name: tg Version: 0.1.0 The skill bundle describes a Telegram CLI tool. The `SKILL.md` and `README.md` files provide clear instructions for installation, authentication, and usage, all consistent with the stated purpose of managing Telegram messages and contacts. There is no evidence of prompt injection attempts against the AI agent, unauthorized data exfiltration, malicious execution, persistence mechanisms, or obfuscation. The authentication process requires user-provided API credentials, and configuration is stored in a standard location (`~/.config/tg/`), with session data noted as encrypted. All described actions are directly related to the legitimate function of a Telegram client.
能力评估
Purpose & Capability
Name/description, commands in SKILL.md, and README all consistently describe a Telegram CLI (read, search, send messages, list contacts/groups). Requesting Telegram API credentials (my.telegram.org) is expected for this purpose.
Instruction Scope
Runtime instructions are limited to installing the CLI, running 'tg auth' to authenticate, and using explicit read/write/search commands. The SKILL.md does not instruct the agent to read unrelated files, environment variables, or to exfiltrate data to third-party endpoints beyond Telegram's API.
Install Mechanism
The skill is instruction-only but tells the user/agent to run 'npm install -g @cyberdrk/tg' (or build from source). Installing an npm package is a normal install path for such a CLI, but it carries moderate risk because postinstall scripts or the package code could execute arbitrary actions. The package owner/source is not declared in the registry metadata (source/homepage unknown), so the package's provenance and publish-time integrity are unclear.
Credentials
The README and SKILL.md correctly require Telegram API credentials (api_id/api_hash) — proportional and expected. However, registry metadata declared no config paths while the README says configuration and encrypted session data are stored in ~/.config/tg/ (config.json + session). This is a minor mismatch: the tool will read/write local session files even though those paths weren't declared in metadata.
Persistence & Privilege
always is false (normal). The README suggests optionally symlinking SKILL.md into ~/.claude/skills to register the skill with a local Claude agent — this modifies the user's agent skills directory but is an explicit user action. No evidence the skill requests permanent elevated privileges or alters other skills automatically.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install tg
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /tg 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Version 0.1.0
元数据
Slug tg
版本 0.1.0
许可证
累计安装 20
当前安装数 20
历史版本数 1
常见问题

Telegram CLI 是什么?

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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3832 次。

如何安装 Telegram CLI?

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

Telegram CLI 是免费的吗?

是的,Telegram CLI 完全免费(开源免费),可自由下载、安装和使用。

Telegram CLI 支持哪些平台?

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

谁开发了 Telegram CLI?

由 arein(@arein)开发并维护,当前版本 v0.1.0。

💬 留言讨论