← 返回 Skills 市场
liangzhiyu

Create Agent + Telegram Bot

作者 liangzhiyu · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
264
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install create-agent-telegram
功能描述
创建新 OpenAgent Agent 并绑定 Telegram Bot
使用说明 (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
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install create-agent-telegram
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /create-agent-telegram 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
初始版本
元数据
Slug create-agent-telegram
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Create Agent + Telegram Bot 是什么?

创建新 OpenAgent Agent 并绑定 Telegram Bot. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 264 次。

如何安装 Create Agent + Telegram Bot?

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

Create Agent + Telegram Bot 是免费的吗?

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

Create Agent + Telegram Bot 支持哪些平台?

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

谁开发了 Create Agent + Telegram Bot?

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

💬 留言讨论