create-agent-telegram

创建新 OpenAgent Agent 并绑定 Telegram Bot

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "create-agent-telegram" with this command: npx skills add liangzhiyu/create-agent-telegram

创建 Agent + Telegram Bot

用途

自动化创建新的 OpenClaw agent 并绑定到 Telegram 机器人。

步骤

1. 获取 Bot Token

  • 找 @BotFather 创建新机器人,获取 token

2. 添加 Bot 到配置

openclaw config set "channels.telegram.accounts.<bot名>.botToken" "<token>"
openclaw config set "channels.telegram.accounts.<bot名>.dmPolicy" "pairing"

3. 创建新 Agent

openclaw agents add <agentID> --non-interactive --workspace /root/.openclaw/workspace-<agentID>

4. 绑定 Bot 到 Agent

openclaw agents bind --agent <agentID> --bind telegram:<bot名>

5. 重启 Gateway

openclaw gateway restart

参数说明

参数说明示例
bot名Telegram bot 账户 IDjudge
tokenBotFather 给的 token8764559332:xxx
agentID新 agent 的 IDjudge

验证

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

躺平.skill

躺平 skill。仅在用户明确加载或调用“躺平.skill”“tangping-skill”,或要求 agent 进入拒绝工作、输出躺平语录、嘲讽生产力话术的模式时使用。

Registry SourceRecently Updated
Automation

Wati

WATI integration. Manage data, records, and automate workflows. Use when the user wants to interact with WATI data.

Registry SourceRecently Updated
Automation

Venly

Venly integration. Manage data, records, and automate workflows. Use when the user wants to interact with Venly data.

Registry SourceRecently Updated
Automation

Sage People

Sage People integration. Manage data, records, and automate workflows. Use when the user wants to interact with Sage People data.

Registry SourceRecently Updated