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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
✓
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.
How to Use
Make sure OpenClaw is installed (local or Docker)
Run the install command in chat: /install tg-groupchat-setup
After installation, invoke the skill by name or use /tg-groupchat-setup
Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Slugtg-groupchat-setup
Version1.0.0
License—
All-time Installs0
Active Installs0
Total Versions1
Frequently Asked Questions
What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 1755 downloads so far.
How do I install Telegram Group Chat Setup?
Run "/install tg-groupchat-setup" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Telegram Group Chat Setup free?
Yes, Telegram Group Chat Setup is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Telegram Group Chat Setup support?
Telegram Group Chat Setup is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Telegram Group Chat Setup?
It is built and maintained by arekqq (@arekqq); the current version is v1.0.0.