← Back to Skills Marketplace
Create Agent + Telegram Bot
by
liangzhiyu
· GitHub ↗
· v1.0.0
· MIT-0
264
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install create-agent-telegram
Description
创建新 OpenAgent Agent 并绑定 Telegram Bot
README (SKILL.md)
创建 Agent + Telegram Bot
用途
自动化创建新的 OpenClaw agent 并绑定到 Telegram 机器人。
步骤
1. 获取 Bot Token
- 找 @BotFather 创建新机器人,获取 token
2. 添加 Bot 到配置
openclaw config set "channels.telegram.accounts.\x3Cbot名>.botToken" "\x3Ctoken>"
openclaw config set "channels.telegram.accounts.\x3Cbot名>.dmPolicy" "pairing"
3. 创建新 Agent
openclaw agents add \x3CagentID> --non-interactive --workspace /root/.openclaw/workspace-\x3CagentID>
4. 绑定 Bot 到 Agent
openclaw agents bind --agent \x3CagentID> --bind telegram:\x3Cbot名>
5. 重启 Gateway
openclaw gateway restart
参数说明
| 参数 | 说明 | 示例 |
|---|---|---|
| bot名 | Telegram bot 账户 ID | judge |
| token | BotFather 给的 token | 8764559332:xxx |
| agentID | 新 agent 的 ID | judge |
验证
openclaw agents bindings
openclaw gateway status
完整示例
# 添加 bot
openclaw config set "channels.telegram.accounts.judge.botToken" "8764559332:AAGxxx"
openclaw config set "channels.telegram.accounts.judge.dmPolicy" "pairing"
# 创建 agent
openclaw agents add judge --non-interactive --workspace /root/.openclaw/workspace-judge
# 绑定
openclaw agents bind --agent judge --bind telegram:judge
# 重启
openclaw gateway restart
Usage Guidance
This skill is instruction-only and does what it says: it tells you how to add a Telegram bot token to OpenClaw config, create an agent, bind the bot, and restart the gateway. Before running the commands: 1) ensure the openclaw CLI is installed and reachable (metadata did not declare this dependency); 2) consider using a non-root workspace path if you don't want to write into /root/.openclaw (the example uses /root); 3) back up your OpenClaw config before changing it because the commands will store the bot token and may overwrite settings; 4) be aware that restarting the gateway will affect service availability and requires appropriate privileges; 5) if you prefer not to run these commands automatically, perform them manually so you can verify each step and the token you supply.
Capability Analysis
Type: OpenClaw Skill
Name: create-agent-telegram
Version: 1.0.0
The skill bundle provides legitimate instructions for automating the setup of a Telegram bot integration within the OpenClaw ecosystem. It uses standard 'openclaw' CLI commands in SKILL.md to configure bot tokens, create agent workspaces, and bind communication channels, with no evidence of data exfiltration, obfuscation, or malicious intent.
Capability Assessment
Purpose & Capability
The SKILL.md clearly describes creating an OpenClaw/OpenAgent agent and binding a Telegram bot using the openclaw CLI. That purpose justifies setting a bot token in config, adding an agent, binding it, and restarting the gateway. However, the registry metadata lists no required binaries even though the instructions require the openclaw CLI; this metadata omission is inconsistent and should be fixed.
Instruction Scope
The instructions are specific and limited to the stated task: obtain a BotFather token, write it to openclaw config, add an agent, bind the Telegram account, and restart the gateway. They do not instruct reading unrelated files or exfiltrating data. Note: the instructions write credentials (bot token) into OpenClaw config and restart gateway — both are expected for this operation but are impactful actions.
Install Mechanism
There is no install spec (instruction-only), so nothing will be downloaded or written by the skill itself. This is lower risk. The skill assumes the openclaw CLI is present on the host.
Credentials
No environment variables or external credentials are requested by the registry metadata. The use of a Telegram bot token is appropriate and is provided explicitly in the commands (not implicitly requested via environment vars). Ensure you trust the destination config path where you store the token.
Persistence & Privilege
always is false and the skill doesn't request persistent/dormant privileges in metadata. However, the commands modify OpenClaw configuration and restart the gateway — operations that typically require elevated privileges and will affect the running service. That system-level impact is expected for the stated task but should be considered before running.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install create-agent-telegram - After installation, invoke the skill by name or use
/create-agent-telegram - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
初始版本
Metadata
Frequently Asked Questions
What is Create Agent + Telegram Bot?
创建新 OpenAgent Agent 并绑定 Telegram Bot. It is an AI Agent Skill for Claude Code / OpenClaw, with 264 downloads so far.
How do I install Create Agent + Telegram Bot?
Run "/install create-agent-telegram" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Create Agent + Telegram Bot free?
Yes, Create Agent + Telegram Bot is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Create Agent + Telegram Bot support?
Create Agent + Telegram Bot is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Create Agent + Telegram Bot?
It is built and maintained by liangzhiyu (@liangzhiyu); the current version is v1.0.0.
More Skills