跳到正文
TakoAPI
返回技能列表

create-agent-with-telegram-group

由 sheetaa 提供

Web & Frontend Development
369下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Create a new OpenClaw agent and bind it to a dedicated Telegram group with workspace ~/claw-<agent-name>.

描述

该技能的功能

Creates a new OpenClaw agent and binds it to a dedicated Telegram group with an isolated workspace at ~/claw-<agent-name>. Provisioning is script-driven, with automatic config backup and no credential propagation between agents. User confirmation is required before any high-privilege actions.

Script-driven provisioning with automatic backups prevents manual JSON errors and eliminates credential leakage between agents.

何时使用

  • Spinning up a new assistant bot in a private Telegram group
  • Giving each specialized agent its own dedicated chat channel
  • Reinitializing an agent workspace with custom identity and persona files
  • Provisioning a team-facing bot without manually editing JSON configs
  • Enabling no-mention reply mode so a group chat responds without @-tagging the bot

示例工作流

输入

User asks: Create an agent called 'research-bot' with its own Telegram group

智能体
  1. 1

    Read available models from ~/.openclaw/openclaw.json and confirm agent name, model, and init-file preferences with user

  2. 2

    Create workspace directory ~/claw-research-bot

  3. 3

    Confirm with user, then trigger browser automation to create and bind a new Telegram group titled 'ResearchBot'

  4. 4

    Run scripts/provision_config.py to register the agent, set the workspace path, add the group binding, and enable requireMention=false

  5. 5

    Run scripts/init_workspace.py to write USER.md, IDENTITY.md, and SOUL.md, then send a test ping to verify the agent replies without @mention

输出

Agent 'research-bot' is live in the ResearchBot Telegram group, replying without @mention, with workspace at ~/claw-research-bot

前置要求

  • Telegram account with an active browser session (required for group creation via browser automation)

安装

clawhub install sheetaa/create-agent-with-telegram-group

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接