← 返回 Skills 市场
arekqq

Telegram Group Chat Setup

作者 arekqq · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1755
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install tg-groupchat-setup
功能描述
Configure a MoltBot agent to participate in a Telegram group chat. Automates adding the group to the allowlist, setting mention patterns, and configuring sender permissions — all via a single gateway config patch. Use when the user wants to set up their bot in a Telegram group, enable cross-bot communication, or configure group mention gating.
安全使用建议
This skill appears to do what it claims, but review these points before installing or running it: 1) It reads your MoltBot config (default $HOME/.clawdbot/moltbot.json or CLAWDBOT_CONFIG_PATH) to extract the Telegram bot token — ensure you trust the skill and back up your config. 2) The included script uses curl and python3 even though the skill metadata doesn't list required binaries; make sure those tools are available and run the script under an account with appropriate permissions. 3) The script invokes curl with the token in the URL (https://api.telegram.org/bot<TOKEN>/getMe) which can expose the token to other local users via the process list; consider running it in a safe environment or modifying it to use a POST with token in headers or use a socket-based API. 4) The SKILL.md relies on a 'gateway' CLI to get/patch config and restart the gateway — confirm the exact commands and behavior on your system, and review merge logic before applying patches to avoid accidental overwrites. 5) There is no upstream homepage or publisher information — if you need a higher trust level, ask the author for provenance or a signed release. If you want, I can: (a) produce a safer version of the script that avoids exposing the token on the process list, (b) draft a checklist of commands to run manually, or (c) walk through the exact config patch merge steps to safely apply changes.
功能分析
Type: OpenClaw Skill Name: tg-groupchat-setup Version: 1.0.0 The skill is classified as suspicious due to its use of high-risk capabilities, including reading sensitive credentials (Telegram bot token) from the agent's configuration file (`$HOME/.clawdbot/moltbot.json`) via `scripts/detect_bot_info.sh` and making external network calls to `https://api.telegram.org`. Additionally, the `SKILL.md` explicitly instructs the AI agent to access and modify its own core configuration using `gateway action: "config.get"` and `gateway action: "config.patch"`. While these actions are plausibly aligned with the stated purpose of configuring a Telegram bot, they represent powerful capabilities that could be misused, lacking the clear benign safety of a 'benign' classification, but without explicit evidence of malicious intent like exfiltration to unauthorized endpoints.
能力评估
Purpose & Capability
The skill's name/description match what it actually does: detect bot identity, build mention patterns, and patch the gateway config. Reading the gateway config to find a Telegram bot token and calling api.telegram.org/getMe is expected for auto-detection.
Instruction Scope
SKILL.md instructs reading the gateway config and calling Telegram's API (expected). However the runtime instructions and included script assume availability of curl and python3 even though required binaries were not declared. The script reads a local config file (CLAWDBOT_CONFIG_PATH or $HOME/.clawdbot/moltbot.json) and uses that token — this is necessary for the task but is sensitive behavior and should be documented to the user.
Install Mechanism
Instruction-only skill with a small helper script; there is no download or installation step and no remote install URLs. This is low-risk from an install perspective.
Credentials
The skill reads a Telegram bot token from the local MoltBot config file — this is proportionate to its purpose. It does not request unrelated credentials or environment variables. Caveat: the script will embed the token into an HTTP URL passed to curl, which can expose the token to other local users via the process list; the skill also implicitly relies on CLAWDBOT_CONFIG_PATH behavior which is not documented in SKILL.md.
Persistence & Privilege
always:false and no special persistence is requested. The skill patches the gateway config (expected for this purpose) but does not attempt to modify other skills or system-wide settings outside the gateway config.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install tg-groupchat-setup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /tg-groupchat-setup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Automates Telegram group chat configuration for MoltBot agents. - Adds a Telegram group to the gateway allowlist with `requireMention: true` - Configures which users can trigger the bot in the group via `groupAllowFrom` - Fetches the bot’s name and @username from the Telegram Bot API - Sets up mention patterns so the bot responds only when addressed by name or @username - Merges configuration cleanly without overwriting existing allowed users or mention patterns - Restarts the gateway and sends a confirmation message upon completion
元数据
Slug tg-groupchat-setup
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Telegram Group Chat Setup 是什么?

Configure a MoltBot agent to participate in a Telegram group chat. Automates adding the group to the allowlist, setting mention patterns, and configuring sender permissions — all via a single gateway config patch. Use when the user wants to set up their bot in a Telegram group, enable cross-bot communication, or configure group mention gating. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1755 次。

如何安装 Telegram Group Chat Setup?

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

Telegram Group Chat Setup 是免费的吗?

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

Telegram Group Chat Setup 支持哪些平台?

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

谁开发了 Telegram Group Chat Setup?

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

💬 留言讨论