create-agent-with-telegram-group
by sheetaa
Web & Frontend DevelopmentBrief
Create a new OpenClaw agent and bind it to a dedicated Telegram group with workspace ~/claw-<agent-name>.
Description
What This Skill Does
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.
When to Use It
- 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
Example Workflow
User asks: Create an agent called 'research-bot' with its own Telegram group
- 1
Read available models from ~/.openclaw/openclaw.json and confirm agent name, model, and init-file preferences with user
- 2
Create workspace directory ~/claw-research-bot
- 3
Confirm with user, then trigger browser automation to create and bind a new Telegram group titled 'ResearchBot'
- 4
Run scripts/provision_config.py to register the agent, set the workspace path, add the group binding, and enable requireMention=false
- 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
Requirements
- Telegram account with an active browser session (required for group creation via browser automation)
Installation
clawhub install sheetaa/create-agent-with-telegram-groupRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.